Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 106.2 kB / 16.41 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001929/0.001929, allocations: 187 kB / 17.34 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4/package.mo): time 0.03809/0.03809, allocations: 8.034 MB / 299.2 MB, free: 6.789 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.89 kB / 413.7 MB, free: 22.28 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09902/0.1003, allocations: 51.19 MB / 464.9 MB, free: 3.051 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.0+maint.om/Electrical/Machines/BasicMachines/InductionMachines/IM_SquirrelCage.mo:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01166/0.112, allocations: 9.71 MB / 474.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006237/0.1182, allocations: 2.711 MB / 477.4 MB, free: 6.578 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001739/0.12, allocations: 51.81 kB / 477.4 MB, free: 6.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.1218, allocations: 0.5003 MB / 477.9 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002771/0.1246, allocations: 0.6987 MB / 478.6 MB, free: 5.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001644/0.1263, allocations: 0.5422 MB / 479.2 MB, free: 4.777 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.00371/0.13, allocations: 2.678 MB / 481.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003625/0.1337, allocations: 2.296 MB / 484.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002237/0.1359, allocations: 1.199 MB / 485.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002775/0.1387, allocations: 1.432 MB / 486.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009963/0.1397, allocations: 336 kB / 487.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001629/0.1414, allocations: 419.8 kB / 487.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001339/0.1427, allocations: 0.8687 MB / 488.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002229/0.145, allocations: 1.42 MB / 489.8 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00515/0.1502, allocations: 4.153 MB / 493.9 MB, free: 5.879 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.015e-05/0.1502, allocations: 4 kB / 493.9 MB, free: 5.875 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.155e-06/0.1502, allocations: 0 / 493.9 MB, free: 5.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001112/0.1503, allocations: 0 / 493.9 MB, free: 5.875 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.006258/0.1566, allocations: 2.972 MB / 496.9 MB, free: 2.832 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.1566, allocations: 8.031 kB / 496.9 MB, free: 2.824 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007395/0.1574, allocations: 303.2 kB / 497.2 MB, free: 2.527 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/0.1598, allocations: 1.42 MB / 498.6 MB, free: 1.059 MB / 366.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.0002675/0.1601, allocations: 243.9 kB / 498.9 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003541/0.1604, allocations: 232 kB / 499.1 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005607/0.1661, allocations: 2.969 MB / 0.4903 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.561e-05/0.1662, allocations: 3.984 kB / 0.4903 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/0.1664, allocations: 99.91 kB / 0.4904 GB, free: 13.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001281/0.1665, allocations: 100.5 kB / 0.4905 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004588/0.1711, allocations: 2.391 MB / 0.4928 GB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01478/0.1859, allocations: 8.701 MB / 0.5013 GB, free: 1.953 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002616/0.1886, allocations: 1.628 MB / 0.5029 GB, free: 268 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2195/0.4081, allocations: 0.9628 MB / 0.5039 GB, free: 44.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000272/0.4084, allocations: 126.5 kB / 0.504 GB, free: 44.34 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001449/0.4099, allocations: 0.7848 MB / 0.5048 GB, free: 44.23 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.216e-06/0.4099, allocations: 1.031 kB / 0.5048 GB, free: 44.23 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01484/0.4247, allocations: 7.004 MB / 0.5116 GB, free: 41.87 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.439e-05/0.4249, allocations: 247 kB / 0.5118 GB, free: 41.59 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.002008/0.4269, allocations: 1.195 MB / 0.513 GB, free: 41.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.427, allocations: 48.2 kB / 0.513 GB, free: 41.07 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008316/0.4279, allocations: 1.044 MB / 0.5141 GB, free: 40.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002975/0.4282, allocations: 439.4 kB / 0.5145 GB, free: 40.11 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004176/0.4286, allocations: 262.7 kB / 0.5147 GB, free: 39.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.631e-05/0.4286, allocations: 311.3 kB / 0.515 GB, free: 39.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001299/0.4299, allocations: 0.72 MB / 0.5157 GB, free: 39.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001546/0.4315, allocations: 1.134 MB / 0.5168 GB, free: 38.67 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008282/0.4398, allocations: 3.599 MB / 0.5204 GB, free: 37.08 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.936e-05/0.4398, allocations: 8.719 kB / 0.5204 GB, free: 37.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004288/0.4441, allocations: 2.564 MB / 0.5229 GB, free: 35.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.291e-05/0.4442, allocations: 44.75 kB / 0.5229 GB, free: 35.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.4442, allocations: 15.81 kB / 0.5229 GB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/0.4453, allocations: 0.5044 MB / 0.5234 GB, free: 35.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.4463, allocations: 301.2 kB / 0.5237 GB, free: 35.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006012/0.4524, allocations: 8.802 MB / 0.5323 GB, free: 28.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.4539, allocations: 133.8 kB / 0.5324 GB, free: 28.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.454, allocations: 62.92 kB / 0.5325 GB, free: 28.11 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001936/0.4559, allocations: 1.282 MB / 0.5337 GB, free: 27.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00106/0.457, allocations: 1.103 MB / 0.5348 GB, free: 26 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007044/0.4641, allocations: 3.536 MB / 0.5383 GB, free: 22.3 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.142e-05/0.4641, allocations: 4 kB / 0.5383 GB, free: 22.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003666/0.4678, allocations: 2.529 MB / 0.5407 GB, free: 19.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/0.4678, allocations: 37.7 kB / 0.5408 GB, free: 19.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/0.4679, allocations: 8 kB / 0.5408 GB, free: 19.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009467/0.4688, allocations: 0.5002 MB / 0.5413 GB, free: 19.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009898/0.4698, allocations: 298.1 kB / 0.5416 GB, free: 18.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005741/0.4756, allocations: 8.799 MB / 0.5501 GB, free: 9.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.4772, allocations: 131.9 kB / 0.5503 GB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.4774, allocations: 67.92 kB / 0.5503 GB, free: 9.332 MB / 382.1 MB Warning: Assuming fixed start value for the following 6 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] aimc.inertiaRotor.w:VARIABLE(unit = "rad/s" fixed = true ) "Absolute angular velocity of component (= der(phi))" type: Real 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.0004418/0.4778, allocations: 298.3 kB / 0.5506 GB, free: 9.043 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/0.4781, allocations: 144 kB / 0.5508 GB, free: 8.902 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003302/0.4814, allocations: 2.224 MB / 0.5529 GB, free: 6.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.4814, allocations: 12 kB / 0.5529 GB, free: 6.621 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.4814, allocations: 4 kB / 0.5529 GB, free: 6.617 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.4815, allocations: 7.984 kB / 0.553 GB, free: 6.609 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006441/0.4879, allocations: 4.736 MB / 0.5576 GB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.488, allocations: 8 kB / 0.5576 GB, free: 1.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007716/0.4887, allocations: 203.7 kB / 0.5578 GB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/0.4899, allocations: 0.5152 MB / 0.5583 GB, free: 1.023 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.989e-05/0.49, allocations: 35.98 kB / 0.5583 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007519/0.4975, allocations: 8.622 MB / 0.5667 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4975, allocations: 4 kB / 0.5667 GB, free: 7.82 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005386/0.5029, allocations: 3.273 MB / 0.5699 GB, free: 4.453 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007974/0.5038, allocations: 368 kB / 0.5703 GB, free: 4.074 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/0.504, allocations: 35.98 kB / 0.5703 GB, free: 4.039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009276/0.5049, allocations: 99.89 kB / 0.5704 GB, free: 3.941 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003152/0.5053, allocations: 124.7 kB / 0.5705 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.932e-05/0.5054, allocations: 41.95 kB / 0.5706 GB, free: 3.781 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001155/0.5065, allocations: 0.8146 MB / 0.5714 GB, free: 2.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5065, allocations: 0 / 0.5714 GB, free: 2.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002819/0.5094, allocations: 0.7891 MB / 0.5721 GB, free: 2.172 MB / 398.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.000394/0.5098, allocations: 194.5 kB / 0.5723 GB, free: 1.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01405/0.5238, allocations: 7.212 MB / 0.5794 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.029e-05/0.5239, allocations: 0 / 0.5794 GB, free: 10.53 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00627/0.5302, allocations: 3.075 MB / 0.5824 GB, free: 7.344 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002446/0.5327, allocations: 400 kB / 0.5828 GB, free: 6.977 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008317/0.541, allocations: 4.437 MB / 0.5871 GB, free: 2.465 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001787/0.5428, allocations: 1.753 MB / 0.5888 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005626/0.5434, allocations: 119.4 kB / 0.5889 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of SimCode: time 8.62e-07/0.5434, allocations: 0 / 0.5889 GB, free: 0.5586 MB / 414.1 MB Notification: Performance of Templates: time 0.08742/0.6309, allocations: 79.17 MB / 0.6662 GB, free: 1.383 MB / 494.1 MB make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.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 OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.cpp In file included from OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1139:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1140:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1142:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1146:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1154:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1162:41: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions197 ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1162:57: error: use of undeclared identifier '_conditions197'; did you mean 'conditions197'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions197 ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1162:85: error: use of undeclared identifier '_conditions097'; did you mean 'conditions097'? restart97 = !std::equal (_conditions197, _conditions197+_dimZeroFunc,_conditions097); ^~~~~~~~~~~~~~ conditions097 ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1140:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1166:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1179:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1180:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1196:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1197:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1198:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1199:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1203:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1211:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1219:42: error: use of undeclared identifier '_conditions1100'; did you mean 'conditions1100'? restart100 = !std::equal (_conditions1100, _conditions1100+_dimZeroFunc,_conditions0100); ^~~~~~~~~~~~~~~ conditions1100 ./OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1198:29: note: 'conditions1100' declared here bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppEHPTlib_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o] Error 1