Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 218.8 kB / 22.99 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 256.8 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04224/0.04224, allocations: 8.538 MB / 321.7 MB, free: 10.44 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(EHPTlib.ElectricDrives.ASMArelated.ControlLogic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogic") translateModel(EHPTlib.ElectricDrives.ASMArelated.ControlLogic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogic") [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 71.89 kB / 448.1 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1203/0.1225, allocations: 55.42 MB / 0.4917 GB, free: 7.66 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/ElectricDrives/ASMArelated/ControlLogic.mo:4:3-5:23:writable] Warning: Parameter Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/ElectricDrives/ASMArelated/ControlLogic.mo:6:3-7:24:writable] Warning: Parameter Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/ElectricDrives/ASMArelated/ControlLogic.mo:8:3-9:38:writable] Warning: Parameter uBase has no value, and is fixed during initialization (fixed=true), using available start value (start=400) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/ElectricDrives/ASMArelated/ControlLogic.mo:12:3-13:32:writable] Warning: Parameter Lstray has no value, and is fixed during initialization (fixed=true), using available start value (start=0.2036/weBase) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/ElectricDrives/ASMArelated/ControlLogic.mo:16:3-16:76:writable] Warning: Parameter pp has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.ASMArelated.ControlLogic): time 0.003756/0.1262, allocations: 1.801 MB / 0.4935 GB, free: 5.848 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006608/0.1269, allocations: 267.3 kB / 0.4937 GB, free: 5.586 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.734e-05/0.127, allocations: 4 kB / 0.4937 GB, free: 5.582 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.558e-05/0.127, allocations: 15.8 kB / 0.4938 GB, free: 5.566 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002635/0.1273, allocations: 47.64 kB / 0.4938 GB, free: 5.52 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003078/0.1276, allocations: 122.7 kB / 0.4939 GB, free: 5.402 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002695/0.1279, allocations: 195.4 kB / 0.4941 GB, free: 5.211 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.128, allocations: 41.95 kB / 0.4941 GB, free: 5.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001173/0.1281, allocations: 79.7 kB / 0.4942 GB, free: 5.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001636/0.1283, allocations: 87.56 kB / 0.4943 GB, free: 5.004 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.749e-05/0.1283, allocations: 16 kB / 0.4943 GB, free: 4.988 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.289e-05/0.1284, allocations: 20 kB / 0.4943 GB, free: 4.969 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 5.308e-05/0.1284, allocations: 39.84 kB / 0.4944 GB, free: 4.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.827e-05/0.1285, allocations: 67.64 kB / 0.4944 GB, free: 4.863 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.1288, allocations: 167.3 kB / 0.4946 GB, free: 4.699 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1288, allocations: 0 / 0.4946 GB, free: 4.699 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1288, allocations: 0 / 0.4946 GB, free: 4.699 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.181e-06/0.1288, allocations: 0 / 0.4946 GB, free: 4.699 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0009874/0.1298, allocations: 445.5 kB / 0.495 GB, free: 4.234 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.1298, allocations: 8.031 kB / 0.495 GB, free: 4.227 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.108e-05/0.1299, allocations: 24.84 kB / 0.4951 GB, free: 4.203 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/0.1302, allocations: 182.7 kB / 0.4952 GB, free: 4 MB / 366.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/0.1304, allocations: 131.3 kB / 0.4954 GB, free: 3.848 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.124e-05/0.1304, allocations: 15.94 kB / 0.4954 GB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.1308, allocations: 231.5 kB / 0.4956 GB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1308, allocations: 0 / 0.4956 GB, free: 3.578 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.175e-05/0.1309, allocations: 8 kB / 0.4956 GB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.1309, allocations: 4 kB / 0.4956 GB, free: 3.566 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/0.1312, allocations: 139.9 kB / 0.4957 GB, free: 3.43 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008784/0.1321, allocations: 392 kB / 0.4961 GB, free: 3.016 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005322/0.1327, allocations: 182.6 kB / 0.4963 GB, free: 2.828 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/0.1328, allocations: 64.81 kB / 0.4963 GB, free: 2.762 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.1329, allocations: 7.938 kB / 0.4964 GB, free: 2.754 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.1329, allocations: 34.5 kB / 0.4964 GB, free: 2.711 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.402e-06/0.1329, allocations: 0 / 0.4964 GB, free: 2.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0006996/0.1336, allocations: 245.3 kB / 0.4966 GB, free: 2.465 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.962e-05/0.1337, allocations: 106.8 kB / 0.4967 GB, free: 2.336 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001845/0.1339, allocations: 182.2 kB / 0.4969 GB, free: 2.148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.1339, allocations: 25.7 kB / 0.4969 GB, free: 2.117 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.808e-05/0.134, allocations: 124.3 kB / 0.497 GB, free: 1.988 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.258e-05/0.1341, allocations: 39.69 kB / 0.4971 GB, free: 1.949 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-05/0.1341, allocations: 41.69 kB / 0.4971 GB, free: 1.902 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.1343, allocations: 322.8 kB / 0.4974 GB, free: 1.578 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001908/0.1345, allocations: 68.81 kB / 0.4975 GB, free: 1.508 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/0.1347, allocations: 141.9 kB / 0.4976 GB, free: 1.348 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/0.1351, allocations: 132.8 kB / 0.4977 GB, free: 1.215 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1351, allocations: 0 / 0.4977 GB, free: 1.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004523/0.1355, allocations: 181.4 kB / 0.4979 GB, free: 1.031 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.1355, allocations: 4 kB / 0.4979 GB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1355, allocations: 0 / 0.4979 GB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.1356, allocations: 4 kB / 0.4979 GB, free: 1.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.1357, allocations: 27.92 kB / 0.498 GB, free: 0.9961 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1357, allocations: 4 kB / 0.498 GB, free: 0.9922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.136, allocations: 27.95 kB / 0.498 GB, free: 0.9648 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.136, allocations: 4 kB / 0.498 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001668/0.1361, allocations: 128.1 kB / 0.4981 GB, free: 0.832 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001606/0.1363, allocations: 121.9 kB / 0.4982 GB, free: 0.6914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001831/0.1365, allocations: 81.38 kB / 0.4983 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.72e-07/0.1365, allocations: 0 / 0.4983 GB, free: 0.6094 MB / 366.1 MB Notification: Performance of matching and sorting (n=11) (initialization_lambda0): time 0.0002872/0.1368, allocations: 145.5 kB / 0.4984 GB, free: 472 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.1368, allocations: 10.59 kB / 0.4985 GB, free: 464 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-06/0.1368, allocations: 0 / 0.4985 GB, free: 464 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-06/0.1368, allocations: 4 kB / 0.4985 GB, free: 460 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.88e-05/0.1369, allocations: 11.98 kB / 0.4985 GB, free: 448 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1369, allocations: 7.984 kB / 0.4985 GB, free: 440 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.1371, allocations: 31.86 kB / 0.4985 GB, free: 408 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.1371, allocations: 4 kB / 0.4985 GB, free: 404 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (toMaxSpeed.y,toWeakening.y,tauToDW.tauIsMax) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001407/0.1372, allocations: 192.7 kB / 0.4987 GB, free: 204 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.806e-05/0.1373, allocations: 19.88 kB / 0.4987 GB, free: 184 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.353e-05/0.1373, allocations: 17.41 kB / 0.4987 GB, free: 160 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.1373, allocations: 0 / 0.4987 GB, free: 160 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.1373, allocations: 0 / 0.4987 GB, free: 160 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1373, allocations: 3.938 kB / 0.4987 GB, free: 156 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002494/0.1376, allocations: 165.2 kB / 0.4989 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1376, allocations: 0 / 0.4989 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.1377, allocations: 19.98 kB / 0.4989 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.352e-06/0.1377, allocations: 7.938 kB / 0.4989 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.795e-05/0.1377, allocations: 11.98 kB / 0.4989 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1377, allocations: 0 / 0.4989 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.1377, allocations: 4 kB / 0.4989 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004912/0.1382, allocations: 271.3 kB / 0.4992 GB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.115e-05/0.1383, allocations: 19.84 kB / 0.4992 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.566e-05/0.1383, allocations: 11.92 kB / 0.4992 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002429/0.1385, allocations: 27.97 kB / 0.4993 GB, free: 15.58 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.1386, allocations: 15.97 kB / 0.4993 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.274e-05/0.1386, allocations: 4 kB / 0.4993 GB, free: 15.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001242/0.1387, allocations: 136.2 kB / 0.4994 GB, free: 15.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1387, allocations: 0 / 0.4994 GB, free: 15.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003489/0.1391, allocations: 59.89 kB / 0.4995 GB, free: 15.37 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (tauToDW.tauIsMax,toWeakening.y,toMaxSpeed.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001292/0.1392, allocations: 95.25 kB / 0.4995 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007778/0.147, allocations: 3.052 MB / 0.5025 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.147, allocations: 0 / 0.5025 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003738/0.1507, allocations: 1.495 MB / 0.504 GB, free: 10.61 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004131/0.1512, allocations: 29.42 kB / 0.504 GB, free: 10.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008528/0.152, allocations: 354.9 kB / 0.5044 GB, free: 10.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.1521, allocations: 103.8 kB / 0.5045 GB, free: 10.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.42e-05/0.1522, allocations: 19.42 kB / 0.5045 GB, free: 10.06 MB / 382.1 MB Notification: Performance of SimCode: time 9.92e-07/0.1522, allocations: 0 / 0.5045 GB, free: 10.06 MB / 382.1 MB Notification: Performance of Templates: time 0.004247/0.1564, allocations: 2.028 MB / 0.5065 GB, free: 8.043 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f EHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogic.makefile [Timeout 660] make -j1 -f EHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogic.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicCalcHelperMain.o OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicCalcHelperMain.cpp In file included from OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicCalcHelperMain.cpp:29: ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:181:28: error: use of undeclared identifier '_algLoopLinearSolver3' double* algloop3Vars = _algLoopLinearSolver3->getVariableWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:182:45: error: use of undeclared identifier '_algLoopLinearSolver3' bool* conditions03 = _algLoopLinearSolver3->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:183:44: error: use of undeclared identifier '_algLoopLinearSolver3' bool* conditions13 = _algLoopLinearSolver3->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:184:5: error: use of undeclared identifier '_algLoop3' _algLoop3->getReal(algloop3Vars); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:188:10: error: use of undeclared identifier '_algLoop3' _algLoop3->evaluate(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:196:16: error: use of undeclared identifier '_algLoopNonLinearSolver3' _algLoopNonLinearSolver3->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:204:40: error: use of undeclared identifier '_conditions13' restart3 = !std::equal (_conditions13, _conditions13+_dimZeroFunc,_conditions03); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:204:55: error: use of undeclared identifier '_conditions13' restart3 = !std::equal (_conditions13, _conditions13+_dimZeroFunc,_conditions03); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:204:82: error: use of undeclared identifier '_conditions03' restart3 = !std::equal (_conditions13, _conditions13+_dimZeroFunc,_conditions03); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:208:13: error: use of undeclared identifier '_algLoopNonLinearSolver3' _algLoopNonLinearSolver3->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:221:18: error: use of undeclared identifier '_algLoop3' _algLoop3->setReal(algloop3Vars ); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:222:18: error: use of undeclared identifier '_algLoopNonLinearSolver3' _algLoopNonLinearSolver3->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:238:28: error: use of undeclared identifier '_algLoopLinearSolver6' double* algloop6Vars = _algLoopLinearSolver6->getVariableWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:239:45: error: use of undeclared identifier '_algLoopLinearSolver6' bool* conditions06 = _algLoopLinearSolver6->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:240:44: error: use of undeclared identifier '_algLoopLinearSolver6' bool* conditions16 = _algLoopLinearSolver6->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:241:5: error: use of undeclared identifier '_algLoop6' _algLoop6->getReal(algloop6Vars); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:245:10: error: use of undeclared identifier '_algLoop6' _algLoop6->evaluate(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:253:16: error: use of undeclared identifier '_algLoopNonLinearSolver6' _algLoopNonLinearSolver6->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicInitialize.cpp:261:40: error: use of undeclared identifier '_conditions16' restart6 = !std::equal (_conditions16, _conditions16+_dimZeroFunc,_conditions06); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTlib_EHPTlib.ElectricDrives.ASMArelated.ControlLogicCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.445687282830477] Failed to read output from testmodel.py, exit status != 0: 0.16494718100875616 0.39627587200000003 0.263819044 Calling exit ...