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.0489/0.0489, allocations: 8.525 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.00147/0.00147, allocations: 114.4 kB / 33.36 MB, free: 1.223 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.002151/0.002151, allocations: 219.6 kB / 38.72 MB, free: 2.691 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.678/1.678, allocations: 230.6 MB / 274.6 MB, free: 2.82 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.01579/0.01579, allocations: 3.424 MB / 336.5 MB, free: 8.719 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.003127/0.003127, allocations: 111.8 kB / 466.2 MB, free: 50.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1532, allocations: 56.32 MB / 0.5103 GB, free: 14.69 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.01409/0.1673, allocations: 8.632 MB / 0.5187 GB, free: 6.012 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008463/0.1757, allocations: 2.641 MB / 0.5213 GB, free: 3.363 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002597/0.1783, allocations: 63.62 kB / 0.5213 GB, free: 3.301 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.1806, allocations: 496.3 kB / 0.5218 GB, free: 2.812 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003933/0.1846, allocations: 0.7103 MB / 0.5225 GB, free: 2.098 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002228/0.1868, allocations: 0.5532 MB / 0.5231 GB, free: 1.547 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.005325/0.1921, allocations: 2.68 MB / 0.5257 GB, free: 14.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003731/0.1958, allocations: 1.277 MB / 0.5269 GB, free: 13.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002996/0.1988, allocations: 1.231 MB / 0.5281 GB, free: 12.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003633/0.2025, allocations: 1.362 MB / 0.5294 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001388/0.2039, allocations: 340 kB / 0.5298 GB, free: 10.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.2059, allocations: 423.8 kB / 0.5302 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001564/0.2075, allocations: 0.8765 MB / 0.531 GB, free: 9.289 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002094/0.2096, allocations: 1.155 MB / 0.5322 GB, free: 8.129 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006088/0.2157, allocations: 4.181 MB / 0.5362 GB, free: 3.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.825e-06/0.2157, allocations: 4 kB / 0.5362 GB, free: 3.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.2157, allocations: 0 / 0.5362 GB, free: 3.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000114/0.2158, allocations: 0 / 0.5362 GB, free: 3.926 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.007888/0.2237, allocations: 2.905 MB / 0.5391 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.141e-05/0.2237, allocations: 12.03 kB / 0.5391 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001037/0.2248, allocations: 307.2 kB / 0.5394 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003533/0.2283, allocations: 1.422 MB / 0.5408 GB, free: 15.2 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.0004033/0.2287, allocations: 299.3 kB / 0.5411 GB, free: 14.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004203/0.2291, allocations: 235.9 kB / 0.5413 GB, free: 14.65 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006268/0.2354, allocations: 3.1 MB / 0.5443 GB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.909e-05/0.2355, allocations: 7.953 kB / 0.5443 GB, free: 11.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002367/0.2357, allocations: 92 kB / 0.5444 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001501/0.2359, allocations: 112.5 kB / 0.5445 GB, free: 11.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004958/0.2408, allocations: 2.36 MB / 0.5468 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01595/0.2568, allocations: 7.457 MB / 0.5541 GB, free: 1.141 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00289/0.2597, allocations: 1.329 MB / 0.5554 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/0.2616, allocations: 0.9046 MB / 0.5563 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002212/0.2618, allocations: 40.97 kB / 0.5563 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001569/0.2634, allocations: 0.8815 MB / 0.5572 GB, free: 13.92 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 3.296e-06/0.2634, allocations: 0 / 0.5572 GB, free: 13.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01691/0.2803, allocations: 6.438 MB / 0.5635 GB, free: 7.434 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002159/0.2805, allocations: 256.2 kB / 0.5637 GB, free: 7.129 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.001847/0.2824, allocations: 1.019 MB / 0.5647 GB, free: 6.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.2825, allocations: 49.7 kB / 0.5648 GB, free: 6.035 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001252/0.2837, allocations: 1.05 MB / 0.5658 GB, free: 4.973 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005103/0.2842, allocations: 440.3 kB / 0.5662 GB, free: 4.539 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004829/0.2847, allocations: 263.5 kB / 0.5665 GB, free: 4.273 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.2849, allocations: 305.1 kB / 0.5667 GB, free: 3.973 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.2864, allocations: 0.7325 MB / 0.5675 GB, free: 3.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.2883, allocations: 1.302 MB / 0.5687 GB, free: 1.715 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00885/0.2971, allocations: 3.554 MB / 0.5722 GB, free: 13.99 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.599e-05/0.2971, allocations: 0 / 0.5722 GB, free: 13.99 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005133/0.3023, allocations: 2.491 MB / 0.5746 GB, free: 11.46 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.935e-05/0.3023, allocations: 33.7 kB / 0.5747 GB, free: 11.43 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/0.3024, allocations: 19.92 kB / 0.5747 GB, free: 11.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001289/0.3036, allocations: 0.4923 MB / 0.5752 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.3048, allocations: 307.5 kB / 0.5755 GB, free: 10.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0102/0.315, allocations: 8.247 MB / 0.5835 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/0.3168, allocations: 127.9 kB / 0.5836 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.317, allocations: 71.92 kB / 0.5837 GB, free: 1.754 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.00303/0.32, allocations: 1.295 MB / 0.585 GB, free: 460 kB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001943/0.3219, allocations: 1.287 MB / 0.5862 GB, free: 14.95 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009147/0.3311, allocations: 3.484 MB / 0.5896 GB, free: 11.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.019e-05/0.3311, allocations: 4.156 kB / 0.5896 GB, free: 11.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.005419/0.3365, allocations: 2.448 MB / 0.592 GB, free: 8.805 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.406e-05/0.3366, allocations: 33.7 kB / 0.5921 GB, free: 8.766 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.087e-05/0.3366, allocations: 12.31 kB / 0.5921 GB, free: 8.754 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.3379, allocations: 0.5 MB / 0.5926 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.339, allocations: 299.6 kB / 0.5928 GB, free: 7.945 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3924/0.7313, allocations: 8.231 MB / 0.6009 GB, free: 80.11 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001808/0.7332, allocations: 132.7 kB / 0.601 GB, free: 80.11 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/0.7333, allocations: 59.17 kB / 0.6011 GB, free: 80.11 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.0005228/0.7338, allocations: 302.1 kB / 0.6014 GB, free: 79.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002865/0.7341, allocations: 135.7 kB / 0.6015 GB, free: 79.93 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004466/0.7386, allocations: 2.105 MB / 0.6035 GB, free: 79.82 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.756e-05/0.7386, allocations: 16.16 kB / 0.6036 GB, free: 79.82 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.7386, allocations: 4.625 kB / 0.6036 GB, free: 79.82 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.888e-05/0.7386, allocations: 9.547 kB / 0.6036 GB, free: 79.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008241/0.7469, allocations: 4.085 MB / 0.6076 GB, free: 78.81 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.7469, allocations: 7.094 kB / 0.6076 GB, free: 78.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008913/0.7478, allocations: 199.8 kB / 0.6078 GB, free: 78.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001435/0.7492, allocations: 0.5169 MB / 0.6083 GB, free: 78.66 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001131/0.7493, allocations: 40.05 kB / 0.6083 GB, free: 78.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007956/0.7573, allocations: 8.061 MB / 0.6162 GB, free: 72.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/0.7573, allocations: 8.281 kB / 0.6162 GB, free: 72.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005864/0.7631, allocations: 3.15 MB / 0.6193 GB, free: 71.11 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/0.7642, allocations: 268.8 kB / 0.6195 GB, free: 71.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002188/0.7644, allocations: 37.34 kB / 0.6195 GB, free: 71.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009838/0.7654, allocations: 99.31 kB / 0.6196 GB, free: 71.01 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003331/0.7657, allocations: 127.8 kB / 0.6198 GB, free: 70.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.523e-05/0.7658, allocations: 38.64 kB / 0.6198 GB, free: 70.97 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00114/0.767, allocations: 0.6762 MB / 0.6205 GB, free: 70.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.767, allocations: 0 / 0.6205 GB, free: 70.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003732/0.7707, allocations: 0.7827 MB / 0.6212 GB, free: 70.61 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.0004195/0.7711, allocations: 185.8 kB / 0.6214 GB, free: 70.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01116/0.7823, allocations: 6.774 MB / 0.628 GB, free: 66.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/0.7823, allocations: 2.875 kB / 0.628 GB, free: 66.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004898/0.7872, allocations: 2.865 MB / 0.6308 GB, free: 64.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002213/0.7894, allocations: 328.8 kB / 0.6311 GB, free: 64.43 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007965/0.7974, allocations: 4.441 MB / 0.6355 GB, free: 60.39 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/0.7986, allocations: 1.179 MB / 0.6366 GB, free: 59.17 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000472/0.7991, allocations: 103.4 kB / 0.6367 GB, free: 59.07 MB / 446.1 MB Notification: Performance of SimCode: time 2.234e-06/0.7991, allocations: 4 kB / 0.6367 GB, free: 59.07 MB / 446.1 MB Notification: Performance of Templates: time 0.08129/0.8804, allocations: 78.92 MB / 0.7138 GB, free: 12.12 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 -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_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: 6.017474178224802] Failed to read output from testmodel.py, exit status != 0: 0.8909296444617212 0.9057036509999999 0.686635375 Calling exit ...