Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_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-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/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_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing") translateModel(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,tolerance=0.0001,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.001271/0.001272, allocations: 110.1 kB / 16.41 MB, free: 6.496 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.001233/0.001233, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03874/0.03874, allocations: 8.034 MB / 299.2 MB, free: 6.82 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.89 kB / 413.7 MB, free: 22.29 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08642/0.08772, allocations: 51.18 MB / 464.9 MB, free: 3.074 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.01139/0.09915, allocations: 9.722 MB / 474.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005083/0.1043, allocations: 2.7 MB / 477.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.1056, allocations: 51.81 kB / 477.4 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001585/0.1072, allocations: 0.5081 MB / 477.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002531/0.1098, allocations: 0.7064 MB / 478.6 MB, free: 5.328 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.1111, allocations: 0.5372 MB / 479.2 MB, free: 4.793 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.003106/0.1142, allocations: 2.674 MB / 481.8 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002551/0.1167, allocations: 2.3 MB / 484.1 MB, free: 15.74 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001561/0.1183, allocations: 1.195 MB / 485.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001828/0.1202, allocations: 1.44 MB / 486.8 MB, free: 13.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004417/0.1206, allocations: 336 kB / 487.1 MB, free: 12.77 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006808/0.1213, allocations: 419.8 kB / 487.5 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007545/0.1221, allocations: 0.8611 MB / 488.4 MB, free: 11.49 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001389/0.1235, allocations: 1.423 MB / 489.8 MB, free: 10.06 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00364/0.1271, allocations: 4.136 MB / 493.9 MB, free: 5.914 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.1271, allocations: 4 kB / 493.9 MB, free: 5.91 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1271, allocations: 0 / 493.9 MB, free: 5.91 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.681e-05/0.1272, allocations: 0 / 493.9 MB, free: 5.91 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.005663/0.1329, allocations: 2.901 MB / 496.8 MB, free: 2.941 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.1329, allocations: 8.031 kB / 496.8 MB, free: 2.934 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006879/0.1336, allocations: 285.8 kB / 497.1 MB, free: 2.652 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00253/0.1362, allocations: 1.439 MB / 498.6 MB, free: 1.164 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.000236/0.1364, allocations: 239.9 kB / 498.8 MB, free: 0.9141 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000311/0.1367, allocations: 228 kB / 499 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004776/0.1415, allocations: 2.965 MB / 0.4902 GB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.381e-05/0.1416, allocations: 11.89 kB / 0.4902 GB, free: 13.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002045/0.1418, allocations: 99.98 kB / 0.4903 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001126/0.1419, allocations: 104.5 kB / 0.4904 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003997/0.1459, allocations: 2.379 MB / 0.4927 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01311/0.1591, allocations: 8.686 MB / 0.5012 GB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/0.1617, allocations: 1.628 MB / 0.5028 GB, free: 400 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1929/0.3546, allocations: 0.9615 MB / 0.5038 GB, free: 44.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002708/0.3549, allocations: 124.9 kB / 0.5039 GB, free: 44.35 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001465/0.3564, allocations: 0.7786 MB / 0.5046 GB, free: 44.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 2.956e-06/0.3564, allocations: 0.5312 kB / 0.5046 GB, free: 44.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01448/0.3709, allocations: 6.943 MB / 0.5114 GB, free: 41.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.231e-05/0.371, allocations: 249.2 kB / 0.5116 GB, free: 41.65 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.002016/0.3731, allocations: 1.201 MB / 0.5128 GB, free: 41.16 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.3732, allocations: 48.64 kB / 0.5129 GB, free: 41.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009026/0.3741, allocations: 1.008 MB / 0.5139 GB, free: 40.35 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003768/0.3745, allocations: 417 kB / 0.5142 GB, free: 40.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004764/0.375, allocations: 271.8 kB / 0.5145 GB, free: 39.9 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.378e-05/0.375, allocations: 306.5 kB / 0.5148 GB, free: 39.6 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.3763, allocations: 0.7153 MB / 0.5155 GB, free: 39.35 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.3777, allocations: 1.13 MB / 0.5166 GB, free: 38.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007958/0.3856, allocations: 3.604 MB / 0.5201 GB, free: 37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.538e-05/0.3857, allocations: 3.938 kB / 0.5201 GB, free: 37 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004259/0.39, allocations: 2.566 MB / 0.5226 GB, free: 35.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.076e-05/0.39, allocations: 41.2 kB / 0.5227 GB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.889e-05/0.39, allocations: 11.81 kB / 0.5227 GB, free: 35.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.3911, allocations: 0.4931 MB / 0.5232 GB, free: 35.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.3922, allocations: 311.9 kB / 0.5235 GB, free: 35.7 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005765/0.3979, allocations: 8.799 MB / 0.5321 GB, free: 28.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001683/0.3997, allocations: 136 kB / 0.5322 GB, free: 28.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/0.3998, allocations: 60.28 kB / 0.5322 GB, free: 28.1 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.002068/0.4019, allocations: 1.288 MB / 0.5335 GB, free: 27.37 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001069/0.403, allocations: 1.104 MB / 0.5346 GB, free: 26.1 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007004/0.41, allocations: 3.529 MB / 0.538 GB, free: 22.4 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.926e-06/0.41, allocations: 4 kB / 0.538 GB, free: 22.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.003562/0.4136, allocations: 2.526 MB / 0.5405 GB, free: 19.82 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.4136, allocations: 34.64 kB / 0.5405 GB, free: 19.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.4136, allocations: 12 kB / 0.5405 GB, free: 19.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009286/0.4146, allocations: 0.4962 MB / 0.541 GB, free: 19.26 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009579/0.4155, allocations: 291.6 kB / 0.5413 GB, free: 18.97 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005624/0.4212, allocations: 8.809 MB / 0.5499 GB, free: 9.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.4229, allocations: 127.9 kB / 0.55 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001192/0.4231, allocations: 67.92 kB / 0.5501 GB, free: 9.453 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.0003997/0.4235, allocations: 295.3 kB / 0.5504 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/0.4238, allocations: 142.3 kB / 0.5505 GB, free: 9.023 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003258/0.427, allocations: 2.218 MB / 0.5527 GB, free: 6.762 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.288e-06/0.427, allocations: 12 kB / 0.5527 GB, free: 6.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.4271, allocations: 7.938 kB / 0.5527 GB, free: 6.746 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.4271, allocations: 9.172 kB / 0.5527 GB, free: 6.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006528/0.4336, allocations: 4.735 MB / 0.5573 GB, free: 1.887 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.764e-06/0.4336, allocations: 4 kB / 0.5573 GB, free: 1.883 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007752/0.4344, allocations: 199.7 kB / 0.5575 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001142/0.4356, allocations: 0.5296 MB / 0.558 GB, free: 1.148 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.353e-05/0.4357, allocations: 31.98 kB / 0.5581 GB, free: 1.117 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007821/0.4435, allocations: 8.616 MB / 0.5665 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.4436, allocations: 4.422 kB / 0.5665 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005438/0.449, allocations: 3.261 MB / 0.5697 GB, free: 4.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009338/0.45, allocations: 363.3 kB / 0.57 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000227/0.4502, allocations: 35.98 kB / 0.5701 GB, free: 4.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009892/0.4512, allocations: 103.9 kB / 0.5702 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002838/0.4515, allocations: 112.7 kB / 0.5703 GB, free: 3.984 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-05/0.4516, allocations: 43.98 kB / 0.5703 GB, free: 3.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001189/0.4528, allocations: 0.8185 MB / 0.5711 GB, free: 3.117 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4528, allocations: 0 / 0.5711 GB, free: 3.117 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002702/0.4555, allocations: 0.7852 MB / 0.5719 GB, free: 2.332 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.0003783/0.4559, allocations: 207 kB / 0.5721 GB, free: 2.133 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01364/0.4695, allocations: 7.191 MB / 0.5791 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.4696, allocations: 0 / 0.5791 GB, free: 10.7 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005837/0.4754, allocations: 3.074 MB / 0.5821 GB, free: 7.52 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001938/0.4774, allocations: 399.1 kB / 0.5825 GB, free: 7.141 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006899/0.4843, allocations: 4.365 MB / 0.5867 GB, free: 2.723 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001421/0.4857, allocations: 1.764 MB / 0.5885 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004548/0.4862, allocations: 107.4 kB / 0.5886 GB, free: 0.8203 MB / 414.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4863, allocations: 3.938 kB / 0.5886 GB, free: 0.8164 MB / 414.1 MB Notification: Performance of Templates: time 0.08182/0.5681, allocations: 79.16 MB / 0.6659 GB, free: 1.648 MB / 494.1 MB make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.makefile make -j1 -f EHPTlib_latest_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_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.cpp In file included from OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.cpp:29: ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1139:29: error: use of undeclared identifier '_algLoopLinearSolver97' double* algloop97Vars = _algLoopLinearSolver97->getVariableWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1140:46: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:45: error: use of undeclared identifier '_algLoopLinearSolver97' bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1142:5: error: use of undeclared identifier '_algLoop97' _algLoop97->getReal(algloop97Vars); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1146:10: error: use of undeclared identifier '_algLoop97' _algLoop97->evaluate(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1154:16: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_latest_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_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_latest_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_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1141:29: note: 'conditions197' declared here bool* conditions197 = _algLoopLinearSolver97->getConditions2WorkArray(); ^ ./OMCppEHPTlib_latest_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_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1140:30: note: 'conditions097' declared here bool* conditions097 = _algLoopLinearSolver97->getConditionsWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1166:13: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1179:18: error: use of undeclared identifier '_algLoop97' _algLoop97->setReal(algloop97Vars ); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1180:18: error: use of undeclared identifier '_algLoopNonLinearSolver97' _algLoopNonLinearSolver97->solve(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1196:30: error: use of undeclared identifier '_algLoopLinearSolver100' double* algloop100Vars = _algLoopLinearSolver100->getVariableWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1197:47: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions0100 = _algLoopLinearSolver100->getConditionsWorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1198:46: error: use of undeclared identifier '_algLoopLinearSolver100' bool* conditions1100 = _algLoopLinearSolver100->getConditions2WorkArray(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1199:5: error: use of undeclared identifier '_algLoop100' _algLoop100->getReal(algloop100Vars); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1203:10: error: use of undeclared identifier '_algLoop100' _algLoop100->evaluate(); ^ ./OMCppEHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingInitialize.cpp:1211:16: error: use of undeclared identifier '_algLoopNonLinearSolver100' _algLoopNonLinearSolver100->solve(); ^ ./OMCppEHPTlib_latest_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_latest_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_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowingCalcHelperMain.o] Error 1