Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.conf.json 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.04526/0.04526, allocations: 8.527 MB / 28.13 MB, free: 2.75 MB / 19.63 MB " [Timeout remaining time 180] 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.001302/0.001302, allocations: 108 kB / 33.36 MB, free: 1.246 MB / 19.63 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.001633/0.001633, allocations: 220.2 kB / 38.72 MB, free: 2.699 MB / 26.18 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.63/1.63, allocations: 230.6 MB / 274.6 MB, free: 2.836 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01607/0.01607, allocations: 3.407 MB / 336.4 MB, free: 8.742 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/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) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo) Running command: translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing") [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: EHPTexamples 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.003047/0.003047, allocations: 102.3 kB / 466.2 MB, free: 50.33 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09481/0.09786, allocations: 56.33 MB / 0.5103 GB, free: 14.71 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Utilities/TerminalBox.mo:4:3-6:29:writable] Warning: Parameter terminalBox.terminalConnection has no value, and is fixed during initialization (fixed=true), using available start value (start=\"Y\") as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter aimc.Jr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.29) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:5:3-5:71:writable] Warning: Parameter aimc.p has no value, and is fixed during initialization (fixed=true), using available start value (start=2) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:6:3-7:24:writable] Warning: Parameter aimc.fsNominal has no value, and is fixed during initialization (fixed=true), using available start value (start=50) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:8:3-10:65:writable] Warning: Parameter aimc.TsOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:11:3-13:67:writable] Warning: Parameter aimc.Rs has no value, and is fixed during initialization (fixed=true), using available start value (start=0.03*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter aimc.TsRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:26:3-28:67:writable] Warning: Parameter aimc.Lm has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:33:3-35:67:writable] Warning: Parameter aimc.Rr has no value, and is fixed during initialization (fixed=true), using available start value (start=0.04*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:36:3-38:67:writable] Warning: Parameter aimc.TrRef has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:42:3-44:70:writable] Warning: Parameter aimc.TrOperational has no value, and is fixed during initialization (fixed=true), using available start value (start=293.15) as default value. Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.01277/0.1106, allocations: 8.625 MB / 0.5187 GB, free: 6.035 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006662/0.1173, allocations: 2.641 MB / 0.5213 GB, free: 3.387 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001989/0.1193, allocations: 67.62 kB / 0.5213 GB, free: 3.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.1212, allocations: 492.4 kB / 0.5218 GB, free: 2.836 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00385/0.1251, allocations: 0.7103 MB / 0.5225 GB, free: 2.121 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002072/0.1271, allocations: 0.5572 MB / 0.5231 GB, free: 1.566 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of NFFlatten.flatten: time 0.005038/0.1322, allocations: 2.668 MB / 0.5257 GB, free: 14.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003138/0.1353, allocations: 1.274 MB / 0.5269 GB, free: 13.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002618/0.1379, allocations: 1.227 MB / 0.5281 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00305/0.141, allocations: 1.373 MB / 0.5294 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001109/0.1421, allocations: 336 kB / 0.5298 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.1438, allocations: 427.8 kB / 0.5302 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001266/0.1451, allocations: 0.8726 MB / 0.531 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002047/0.1471, allocations: 1.155 MB / 0.5321 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00555/0.1527, allocations: 4.188 MB / 0.5362 GB, free: 3.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.103e-06/0.1527, allocations: 0 / 0.5362 GB, free: 3.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1527, allocations: 0 / 0.5362 GB, free: 3.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001152/0.1528, allocations: 0 / 0.5362 GB, free: 3.953 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.007364/0.1601, allocations: 2.904 MB / 0.5391 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.1602, allocations: 12.03 kB / 0.5391 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000949/0.1611, allocations: 303.2 kB / 0.5394 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/0.1642, allocations: 1.434 MB / 0.5408 GB, free: 15.22 MB / 398.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: logic.tauToDW.tauIsMax = false to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003391/0.1646, allocations: 287.4 kB / 0.5411 GB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003915/0.165, allocations: 235.9 kB / 0.5413 GB, free: 14.68 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005805/0.1708, allocations: 3.104 MB / 0.5443 GB, free: 11.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.699e-05/0.1709, allocations: 11.94 kB / 0.5443 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002279/0.1711, allocations: 99.98 kB / 0.5444 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/0.1712, allocations: 104.5 kB / 0.5445 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00466/0.1759, allocations: 2.36 MB / 0.5468 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01511/0.191, allocations: 7.457 MB / 0.5541 GB, free: 1.168 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002754/0.1937, allocations: 1.333 MB / 0.5554 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001822/0.1956, allocations: 0.8969 MB / 0.5563 GB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002151/0.1958, allocations: 48.95 kB / 0.5563 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/0.1972, allocations: 0.8815 MB / 0.5572 GB, free: 13.94 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 3.246e-06/0.1972, allocations: 4 kB / 0.5572 GB, free: 13.94 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01583/0.2131, allocations: 6.438 MB / 0.5635 GB, free: 7.453 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001727/0.2132, allocations: 248.3 kB / 0.5637 GB, free: 7.156 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter aimc.strayLoadParameters.IRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter aimc.statorCoreParameters.VRef has no value, and is fixed during initialization (fixed=true), using available start value (start=100.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.2149, allocations: 1.015 MB / 0.5647 GB, free: 6.121 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001466/0.215, allocations: 57.64 kB / 0.5648 GB, free: 6.059 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.2161, allocations: 1.046 MB / 0.5658 GB, free: 5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004931/0.2166, allocations: 444.3 kB / 0.5662 GB, free: 4.562 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004647/0.2171, allocations: 259.5 kB / 0.5665 GB, free: 4.301 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.2172, allocations: 309.1 kB / 0.5667 GB, free: 3.996 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001464/0.2187, allocations: 0.7365 MB / 0.5675 GB, free: 3.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001852/0.2206, allocations: 1.298 MB / 0.5687 GB, free: 1.738 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008812/0.2294, allocations: 3.558 MB / 0.5722 GB, free: 14.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/0.2294, allocations: 4 kB / 0.5722 GB, free: 14.01 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004958/0.2343, allocations: 2.488 MB / 0.5746 GB, free: 11.49 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.617e-05/0.2344, allocations: 37.7 kB / 0.5747 GB, free: 11.45 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.604e-05/0.2344, allocations: 15.94 kB / 0.5747 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001253/0.2357, allocations: 0.496 MB / 0.5752 GB, free: 10.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.2368, allocations: 303.5 kB / 0.5755 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00957/0.2464, allocations: 8.24 MB / 0.5835 GB, free: 1.977 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.2481, allocations: 135.9 kB / 0.5836 GB, free: 1.844 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001644/0.2483, allocations: 64 kB / 0.5837 GB, free: 1.781 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002525/0.2508, allocations: 1.308 MB / 0.585 GB, free: 472 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001739/0.2525, allocations: 1.271 MB / 0.5862 GB, free: 14.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00839/0.2609, allocations: 3.492 MB / 0.5896 GB, free: 11.31 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.271e-05/0.2609, allocations: 4 kB / 0.5896 GB, free: 11.31 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.00472/0.2657, allocations: 2.436 MB / 0.592 GB, free: 8.836 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.352e-05/0.2657, allocations: 37.7 kB / 0.5921 GB, free: 8.793 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.729e-05/0.2657, allocations: 12 kB / 0.5921 GB, free: 8.781 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001206/0.2669, allocations: 0.5003 MB / 0.5926 GB, free: 8.266 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.268, allocations: 291.6 kB / 0.5928 GB, free: 7.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2895/0.5575, allocations: 8.243 MB / 0.6009 GB, free: 80.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.5592, allocations: 129.3 kB / 0.601 GB, free: 80.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.5594, allocations: 64 kB / 0.6011 GB, free: 80.02 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = \"rad\" fixed = true ) \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real aimc.idq_rr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Rotor space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.tqReq.count,$PRE.tqReq.T_start,tqReq.count,tqReq.T_start,logic.toMaxSpeed.y,logic.toWeakening.y,logic.tauToDW.tauIsMax,$whenCondition1,genSines.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,6,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004942/0.5599, allocations: 294.4 kB / 0.6013 GB, free: 79.84 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/0.5602, allocations: 134.8 kB / 0.6015 GB, free: 79.84 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004317/0.5645, allocations: 2.116 MB / 0.6035 GB, free: 79.73 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.357e-05/0.5645, allocations: 13.44 kB / 0.6036 GB, free: 79.73 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/0.5645, allocations: 4.781 kB / 0.6036 GB, free: 79.73 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/0.5645, allocations: 8.109 kB / 0.6036 GB, free: 79.73 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007795/0.5723, allocations: 4.079 MB / 0.6075 GB, free: 78.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.5723, allocations: 4.031 kB / 0.6076 GB, free: 78.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008664/0.5732, allocations: 201.3 kB / 0.6077 GB, free: 78.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001321/0.5745, allocations: 0.5164 MB / 0.6082 GB, free: 78.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.5746, allocations: 39.83 kB / 0.6083 GB, free: 78.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007383/0.582, allocations: 8.067 MB / 0.6162 GB, free: 72.37 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.582, allocations: 8.469 kB / 0.6162 GB, free: 72.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005422/0.5874, allocations: 3.15 MB / 0.6192 GB, free: 71.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009429/0.5884, allocations: 274.5 kB / 0.6195 GB, free: 70.99 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.5886, allocations: 29.38 kB / 0.6195 GB, free: 70.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008887/0.5895, allocations: 105.1 kB / 0.6196 GB, free: 70.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/0.5897, allocations: 119.5 kB / 0.6198 GB, free: 70.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.091e-05/0.5898, allocations: 38.48 kB / 0.6198 GB, free: 70.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001002/0.5908, allocations: 0.6747 MB / 0.6204 GB, free: 70.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5908, allocations: 0 / 0.6204 GB, free: 70.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002867/0.5937, allocations: 0.7785 MB / 0.6212 GB, free: 70.57 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],genSines.integrator.y,tqRes.phi) * Number of discrete variables: 6 ($whenCondition1,logic.tauToDW.tauIsMax,logic.toWeakening.y,logic.toMaxSpeed.y,tqReq.T_start,tqReq.count) * Number of discrete states: 1 (tqReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 1 * Equation systems (not torn): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,12,100.0%), (1,1,100.0%), (1,6,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003649/0.594, allocations: 193.2 kB / 0.6214 GB, free: 70.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01045/0.6045, allocations: 6.778 MB / 0.628 GB, free: 66.32 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.6045, allocations: 5.5 kB / 0.628 GB, free: 66.32 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004481/0.609, allocations: 2.864 MB / 0.6308 GB, free: 64.47 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.6107, allocations: 320.7 kB / 0.6311 GB, free: 64.38 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006037/0.6167, allocations: 4.441 MB / 0.6355 GB, free: 60.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009698/0.6177, allocations: 1.179 MB / 0.6366 GB, free: 59.18 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003798/0.6181, allocations: 107.4 kB / 0.6367 GB, free: 59.08 MB / 446.1 MB Notification: Performance of SimCode: time 1.252e-06/0.6181, allocations: 0 / 0.6367 GB, free: 59.08 MB / 446.1 MB Notification: Performance of Templates: time 0.07039/0.6885, allocations: 78.92 MB / 0.7138 GB, free: 12.13 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.makefile [Timeout 660] make -j1 -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.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 OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp In file included from OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1142:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1143:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1144:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1145:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1149:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1157:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1165:41: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions197 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1144:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1165:57: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions197 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1144:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1165:85: error: use of undeclared identifier '_conditions097'; did you mean 'conditions097'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions097 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1143:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1169:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1182:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1183:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1199:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1200:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1201:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1202:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1206:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1214:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1222:42: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1201:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.196252508088946] Failed to read output from testmodel.py, exit status != 0: 0.6983229597099125 0.7138932299999999 0.557767938 Calling exit ...