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.04432/0.04432, allocations: 8.535 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.001275/0.001275, allocations: 110.7 kB / 33.37 MB, free: 1.359 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.001585/0.001585, allocations: 209.9 kB / 38.75 MB, free: 2.832 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.465/1.465, allocations: 230.6 MB / 274.6 MB, free: 3.035 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.01764/0.01764, allocations: 3.414 MB / 336.5 MB, free: 8.973 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.002938/0.002938, allocations: 109.2 kB / 466.3 MB, free: 50.42 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08836/0.0913, allocations: 56.31 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.01304/0.1043, allocations: 9.854 MB / 0.52 GB, free: 5.016 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005713/0.11, allocations: 2.766 MB / 0.5227 GB, free: 2.242 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.1111, allocations: 67.56 kB / 0.5228 GB, free: 2.176 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001236/0.1123, allocations: 0.512 MB / 0.5233 GB, free: 1.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001934/0.1143, allocations: 0.7104 MB / 0.5239 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.1154, allocations: 0.5383 MB / 0.5245 GB, free: 416 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.003079/0.1184, allocations: 2.678 MB / 0.5271 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001748/0.1202, allocations: 1.34 MB / 0.5284 GB, free: 12.31 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001629/0.1218, allocations: 1.231 MB / 0.5296 GB, free: 11.08 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.1238, allocations: 1.467 MB / 0.531 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004381/0.1242, allocations: 336 kB / 0.5314 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007322/0.125, allocations: 439.8 kB / 0.5318 GB, free: 8.848 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008647/0.1258, allocations: 0.8726 MB / 0.5326 GB, free: 7.973 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001556/0.1274, allocations: 1.42 MB / 0.534 GB, free: 6.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004458/0.1319, allocations: 4.161 MB / 0.5381 GB, free: 2.367 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1319, allocations: 0 / 0.5381 GB, free: 2.367 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1319, allocations: 0 / 0.5381 GB, free: 2.367 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.714e-05/0.1319, allocations: 4 kB / 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.006167/0.1381, allocations: 2.909 MB / 0.5409 GB, free: 15.4 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.1381, allocations: 8.031 kB / 0.5409 GB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008274/0.139, allocations: 303.2 kB / 0.5412 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002953/0.1419, 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.0003146/0.1422, allocations: 299.3 kB / 0.5429 GB, free: 13.32 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003543/0.1426, allocations: 235.9 kB / 0.5431 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005156/0.1477, allocations: 2.95 MB / 0.546 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.048e-05/0.1478, allocations: 7.984 kB / 0.546 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002055/0.148, allocations: 95.98 kB / 0.5461 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001108/0.1481, allocations: 108.5 kB / 0.5462 GB, free: 9.836 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004236/0.1524, allocations: 2.364 MB / 0.5485 GB, free: 7.457 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01383/0.1662, allocations: 8.504 MB / 0.5568 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002649/0.1688, allocations: 1.34 MB / 0.5581 GB, free: 13.35 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001774/0.1706, allocations: 0.8969 MB / 0.559 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000221/0.1708, allocations: 48.95 kB / 0.559 GB, free: 12.41 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/0.1722, allocations: 0.7811 MB / 0.5598 GB, free: 11.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 2.354e-06/0.1722, allocations: 0 / 0.5598 GB, free: 11.6 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01451/0.1867, allocations: 6.453 MB / 0.5661 GB, free: 5.094 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.1868, allocations: 244.3 kB / 0.5663 GB, free: 4.801 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.00167/0.1885, allocations: 1.179 MB / 0.5675 GB, free: 3.609 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 9.857e-05/0.1886, allocations: 49.7 kB / 0.5675 GB, free: 3.555 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009425/0.1896, allocations: 1.043 MB / 0.5686 GB, free: 2.5 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003806/0.1899, allocations: 440.3 kB / 0.569 GB, free: 2.066 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004249/0.1904, allocations: 263.5 kB / 0.5692 GB, free: 1.801 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1905, allocations: 309.1 kB / 0.5695 GB, free: 1.496 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.1918, allocations: 0.7113 MB / 0.5702 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.1934, allocations: 1.123 MB / 0.5713 GB, free: 15.49 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008452/0.2018, allocations: 3.55 MB / 0.5748 GB, free: 11.77 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.254e-05/0.2018, allocations: 8.062 kB / 0.5748 GB, free: 11.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004941/0.2068, allocations: 2.474 MB / 0.5772 GB, free: 9.262 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.324e-05/0.2068, allocations: 37.7 kB / 0.5772 GB, free: 9.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.2068, allocations: 12 kB / 0.5773 GB, free: 9.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001178/0.208, allocations: 0.4998 MB / 0.5777 GB, free: 8.695 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/0.2091, allocations: 311.5 kB / 0.578 GB, free: 8.391 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008571/0.2177, allocations: 8.389 MB / 0.5862 GB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001463/0.2192, allocations: 131.8 kB / 0.5864 GB, free: 15.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/0.2193, allocations: 59.98 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.002216/0.2215, allocations: 1.276 MB / 0.5877 GB, free: 14.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001497/0.223, allocations: 1.092 MB / 0.5887 GB, free: 12.82 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008028/0.231, allocations: 3.492 MB / 0.5921 GB, free: 9.156 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.16e-05/0.231, allocations: 4 kB / 0.5921 GB, free: 9.152 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004439/0.2355, allocations: 2.419 MB / 0.5945 GB, free: 6.703 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.936e-05/0.2355, allocations: 37.7 kB / 0.5945 GB, free: 6.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.6e-05/0.2355, allocations: 15.94 kB / 0.5946 GB, free: 6.645 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001159/0.2367, allocations: 0.5111 MB / 0.5951 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.2378, allocations: 299.5 kB / 0.5953 GB, free: 5.828 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2441/0.4819, allocations: 8.38 MB / 0.6035 GB, free: 79.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00162/0.4835, allocations: 134.8 kB / 0.6036 GB, free: 79.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.4836, allocations: 62.81 kB / 0.6037 GB, free: 79.14 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.0004259/0.4841, allocations: 292.1 kB / 0.604 GB, free: 78.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002342/0.4843, allocations: 154.9 kB / 0.6041 GB, free: 78.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/0.4883, allocations: 2.125 MB / 0.6062 GB, free: 78.79 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.4883, allocations: 13.41 kB / 0.6062 GB, free: 78.79 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.4883, allocations: 4.125 kB / 0.6062 GB, free: 78.79 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.4883, allocations: 10 kB / 0.6062 GB, free: 78.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007962/0.4963, allocations: 4.588 MB / 0.6107 GB, free: 76.93 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.4963, allocations: 4.25 kB / 0.6107 GB, free: 76.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009194/0.4972, allocations: 203.3 kB / 0.6109 GB, free: 76.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001319/0.4985, allocations: 0.5147 MB / 0.6114 GB, free: 76.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.413e-05/0.4986, allocations: 43.22 kB / 0.6115 GB, free: 76.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006443/0.5051, allocations: 8.211 MB / 0.6195 GB, free: 70.35 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5051, allocations: 7.625 kB / 0.6195 GB, free: 70.35 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005009/0.5101, allocations: 3.167 MB / 0.6226 GB, free: 69.05 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008243/0.5109, allocations: 288.2 kB / 0.6229 GB, free: 68.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001925/0.5111, allocations: 37.52 kB / 0.6229 GB, free: 68.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009305/0.512, allocations: 105.7 kB / 0.623 GB, free: 68.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002856/0.5123, allocations: 113.2 kB / 0.6231 GB, free: 68.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-05/0.5124, allocations: 40.67 kB / 0.6231 GB, free: 68.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0009386/0.5134, allocations: 0.8051 MB / 0.6239 GB, free: 68.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5134, allocations: 3.188 kB / 0.6239 GB, free: 68.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002274/0.5156, allocations: 0.7831 MB / 0.6247 GB, free: 68.5 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.0003081/0.5159, allocations: 192.7 kB / 0.6249 GB, free: 68.38 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01027/0.5262, allocations: 6.725 MB / 0.6314 GB, free: 64.21 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.5262, allocations: 0 / 0.6314 GB, free: 64.21 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004508/0.5307, allocations: 2.854 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.00183/0.5326, allocations: 401.1 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.006366/0.5389, allocations: 4.465 MB / 0.639 GB, free: 57.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/0.5401, allocations: 1.757 MB / 0.6407 GB, free: 56.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/0.5405, allocations: 115.4 kB / 0.6408 GB, free: 55.96 MB / 446.1 MB Notification: Performance of SimCode: time 9.11e-07/0.5405, allocations: 0 / 0.6408 GB, free: 55.96 MB / 446.1 MB Notification: Performance of Templates: time 0.06662/0.6071, allocations: 79.33 MB / 0.7183 GB, free: 8.613 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 -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_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: 4.802718071965501] Failed to read output from testmodel.py, exit status != 0: 0.6156594359781593 0.629307326 0.49453135499999995 Calling exit ...