Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_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.04481/0.04481, allocations: 8.536 MB / 28.12 MB, free: 2.801 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.001286/0.001286, allocations: 112.1 kB / 33.37 MB, free: 1.352 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.001584/0.001584, allocations: 205.9 kB / 38.75 MB, free: 2.836 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.5/1.5, allocations: 230.6 MB / 274.6 MB, free: 3.047 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo): time 0.0177/0.0177, allocations: 3.413 MB / 336.5 MB, free: 8.965 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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) 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_EHPTexamples.ElectricDrives.tqFollowing") translateModel(EHPTexamples.ElectricDrives.tqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="EHPTexamples_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.002957/0.002957, allocations: 102.1 kB / 466.3 MB, free: 50.39 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.09197, allocations: 56.33 MB / 0.5104 GB, free: 14.92 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.01318/0.1051, allocations: 9.838 MB / 0.52 GB, free: 5.031 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006194/0.1113, allocations: 2.77 MB / 0.5227 GB, free: 2.254 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001424/0.1128, allocations: 67.56 kB / 0.5227 GB, free: 2.188 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.1143, allocations: 0.5081 MB / 0.5232 GB, free: 1.676 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00236/0.1167, allocations: 0.7103 MB / 0.5239 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.118, allocations: 0.5527 MB / 0.5245 GB, free: 420 kB / 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.003892/0.1219, allocations: 2.678 MB / 0.5271 GB, free: 13.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.1241, allocations: 1.332 MB / 0.5284 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002348/0.1265, allocations: 1.234 MB / 0.5296 GB, free: 11.09 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003051/0.1295, allocations: 1.471 MB / 0.531 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0011/0.1306, allocations: 340 kB / 0.5314 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.1318, allocations: 435.8 kB / 0.5318 GB, free: 8.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001018/0.1328, allocations: 0.8727 MB / 0.5326 GB, free: 7.977 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002087/0.1349, allocations: 1.423 MB / 0.534 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005954/0.1408, allocations: 4.165 MB / 0.5381 GB, free: 2.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.213e-06/0.1408, allocations: 0 / 0.5381 GB, free: 2.363 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.1408, allocations: 0 / 0.5381 GB, free: 2.363 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001368/0.141, allocations: 0 / 0.5381 GB, free: 2.363 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.007469/0.1484, allocations: 2.905 MB / 0.5409 GB, free: 15.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.1485, allocations: 8.031 kB / 0.5409 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009537/0.1494, allocations: 303.2 kB / 0.5412 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003357/0.1528, allocations: 1.422 MB / 0.5426 GB, free: 13.64 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.0004247/0.1532, allocations: 299.3 kB / 0.5429 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004653/0.1537, allocations: 232 kB / 0.5431 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005939/0.1596, allocations: 2.958 MB / 0.546 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.38e-05/0.1597, allocations: 3.938 kB / 0.546 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002292/0.1599, allocations: 96 kB / 0.5461 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001317/0.1601, allocations: 104.5 kB / 0.5462 GB, free: 9.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005209/0.1653, allocations: 2.368 MB / 0.5485 GB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01757/0.1828, allocations: 8.504 MB / 0.5568 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003125/0.186, allocations: 1.34 MB / 0.5581 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/0.188, allocations: 0.893 MB / 0.559 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002535/0.1882, allocations: 48.95 kB / 0.559 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001573/0.1898, allocations: 0.7811 MB / 0.5598 GB, free: 11.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 3.607e-06/0.1898, allocations: 0 / 0.5598 GB, free: 11.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.0175/0.2073, allocations: 6.453 MB / 0.5661 GB, free: 5.102 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002604/0.2076, allocations: 248.3 kB / 0.5663 GB, free: 4.805 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.002369/0.2099, allocations: 1.181 MB / 0.5675 GB, free: 3.613 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002018/0.2101, allocations: 45.7 kB / 0.5675 GB, free: 3.562 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00112/0.2112, allocations: 1.047 MB / 0.5686 GB, free: 2.504 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005654/0.2118, allocations: 444.3 kB / 0.569 GB, free: 2.066 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005753/0.2124, allocations: 263.5 kB / 0.5692 GB, free: 1.801 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.2125, allocations: 305.1 kB / 0.5695 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001398/0.2139, allocations: 0.7074 MB / 0.5702 GB, free: 0.7891 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.2158, allocations: 1.127 MB / 0.5713 GB, free: 15.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008968/0.2247, allocations: 3.55 MB / 0.5748 GB, free: 11.78 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.186e-05/0.2248, allocations: 0 / 0.5748 GB, free: 11.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004986/0.2297, allocations: 2.474 MB / 0.5772 GB, free: 9.273 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.29e-05/0.2298, allocations: 37.64 kB / 0.5772 GB, free: 9.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.2298, allocations: 12 kB / 0.5773 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001256/0.2311, allocations: 0.5079 MB / 0.5777 GB, free: 8.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/0.2323, allocations: 299.5 kB / 0.578 GB, free: 8.402 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009497/0.2418, allocations: 8.393 MB / 0.5862 GB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.2433, allocations: 139.8 kB / 0.5864 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002286/0.2435, allocations: 56 kB / 0.5864 GB, free: 15.36 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002594/0.2461, allocations: 1.277 MB / 0.5877 GB, free: 14.09 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001677/0.2478, allocations: 1.092 MB / 0.5887 GB, free: 12.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008734/0.2565, allocations: 3.488 MB / 0.5921 GB, free: 9.164 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.49e-05/0.2565, allocations: 4 kB / 0.5921 GB, free: 9.16 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004981/0.2615, allocations: 2.427 MB / 0.5945 GB, free: 6.703 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.356e-05/0.2616, allocations: 41.7 kB / 0.5945 GB, free: 6.656 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.361e-05/0.2616, allocations: 15.92 kB / 0.5946 GB, free: 6.641 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.2629, allocations: 0.4999 MB / 0.5951 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.2641, allocations: 291.5 kB / 0.5953 GB, free: 5.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2215/0.4856, allocations: 8.385 MB / 0.6035 GB, free: 79.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.4872, allocations: 139.5 kB / 0.6037 GB, free: 79.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.4874, allocations: 60.56 kB / 0.6037 GB, free: 79.16 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.0003966/0.4878, allocations: 290.8 kB / 0.604 GB, free: 78.97 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002653/0.488, allocations: 151.5 kB / 0.6041 GB, free: 78.97 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003939/0.492, allocations: 2.124 MB / 0.6062 GB, free: 78.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.492, allocations: 12.98 kB / 0.6062 GB, free: 78.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.492, allocations: 7.688 kB / 0.6062 GB, free: 78.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/0.492, allocations: 10.64 kB / 0.6062 GB, free: 78.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008319/0.5003, allocations: 4.588 MB / 0.6107 GB, free: 76.96 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/0.5003, allocations: 8.766 kB / 0.6107 GB, free: 76.96 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009216/0.5013, allocations: 202.1 kB / 0.6109 GB, free: 76.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.5026, allocations: 0.5192 MB / 0.6114 GB, free: 76.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/0.5027, allocations: 43.67 kB / 0.6115 GB, free: 76.77 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006523/0.5092, allocations: 8.206 MB / 0.6195 GB, free: 70.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.5092, allocations: 8.062 kB / 0.6195 GB, free: 70.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005082/0.5143, allocations: 3.171 MB / 0.6226 GB, free: 69.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009311/0.5153, allocations: 291.4 kB / 0.6229 GB, free: 69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002367/0.5155, allocations: 39.81 kB / 0.6229 GB, free: 68.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009556/0.5164, allocations: 103 kB / 0.623 GB, free: 68.96 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003036/0.5167, allocations: 117.5 kB / 0.6231 GB, free: 68.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000103/0.5169, allocations: 38.98 kB / 0.6231 GB, free: 68.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009559/0.5178, allocations: 0.8067 MB / 0.6239 GB, free: 68.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5178, allocations: 0 / 0.6239 GB, free: 68.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002439/0.5202, allocations: 0.7802 MB / 0.6247 GB, free: 68.52 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.0003346/0.5206, allocations: 202.9 kB / 0.6249 GB, free: 68.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01076/0.5313, allocations: 6.706 MB / 0.6314 GB, free: 64.22 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/0.5314, allocations: 4.406 kB / 0.6314 GB, free: 64.22 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004727/0.5361, allocations: 2.86 MB / 0.6342 GB, free: 62.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/0.5381, allocations: 392 kB / 0.6346 GB, free: 61.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00658/0.5447, allocations: 4.471 MB / 0.639 GB, free: 57.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/0.5459, allocations: 1.765 MB / 0.6407 GB, free: 56.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004186/0.5463, allocations: 103.4 kB / 0.6408 GB, free: 55.96 MB / 446.1 MB Notification: Performance of SimCode: time 9.01e-07/0.5463, allocations: 4 kB / 0.6408 GB, free: 55.96 MB / 446.1 MB Notification: Performance of Templates: time 0.07004/0.6163, allocations: 79.33 MB / 0.7183 GB, free: 8.617 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.makefile [Timeout 660] make -j1 -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -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_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp In file included from OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1142:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1143:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1144:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1145:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1149:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1157:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_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_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1144:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_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_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1144:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_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_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1143:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1169:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1182:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1183:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1199:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1200:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1201:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1202:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1206:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTexamples_EHPTexamples.ElectricDrives.tqFollowingInitialize.cpp:1214:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTexamples_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_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_EHPTexamples.ElectricDrives.tqFollowingCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.325361143099144] Failed to read output from testmodel.py, exit status != 0: 0.6258451810572296 0.6419948129999999 0.49784828600000003 Calling exit ...