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: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007825/0.007825, allocations: 96.89 kB / 15.73 MB, free: 6 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.001791/0.001791, allocations: 189 kB / 16.67 MB, free: 5.93 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.359/1.359, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1495/0.1495, allocations: 8.027 MB / 298.6 MB, free: 2.359 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 63.89 kB / 412.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.227, allocations: 51.18 MB / 463.8 MB, free: 18.14 MB / 350.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.0106/0.2377, allocations: 9.726 MB / 473.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005225/0.2429, allocations: 2.699 MB / 476.2 MB, free: 9.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001637/0.2446, allocations: 56.5 kB / 476.2 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001444/0.246, allocations: 0.5 MB / 476.7 MB, free: 8.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002241/0.2483, allocations: 0.711 MB / 477.4 MB, free: 8.461 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.2495, allocations: 0.5359 MB / 478 MB, free: 8.129 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.003204/0.2528, allocations: 2.671 MB / 480.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002499/0.2553, allocations: 2.294 MB / 482.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.2571, allocations: 1.198 MB / 484.1 MB, free: 5.008 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.259, allocations: 1.431 MB / 485.6 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005671/0.2596, allocations: 334.4 kB / 485.9 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009575/0.2606, allocations: 425.7 kB / 486.3 MB, free: 3.977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006672/0.2612, allocations: 0.8631 MB / 487.2 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001571/0.2628, allocations: 1.423 MB / 488.6 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004448/0.2673, allocations: 4.149 MB / 492.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.2673, allocations: 0 / 492.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2673, allocations: 0 / 492.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001215/0.2675, allocations: 1.188 kB / 492.8 MB, free: 15.14 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.007489/0.275, allocations: 2.969 MB / 495.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.275, allocations: 13.16 kB / 495.7 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006026/0.2756, allocations: 342.7 kB / 496.1 MB, free: 12.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009068/0.2765, allocations: 298.9 kB / 496.4 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002894/0.2795, allocations: 1.433 MB / 497.8 MB, free: 11.37 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.000266/0.2797, allocations: 236 kB / 498 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004817/0.2802, allocations: 235.9 kB / 498.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005726/0.286, allocations: 2.965 MB / 0.4895 GB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.528e-05/0.2861, allocations: 7.938 kB / 0.4895 GB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002591/0.2863, allocations: 104 kB / 0.4896 GB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001139/0.2865, allocations: 108.5 kB / 0.4897 GB, free: 7.617 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004721/0.2912, allocations: 2.368 MB / 0.492 GB, free: 5.234 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01621/0.3074, allocations: 8.728 MB / 0.5005 GB, free: 12.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003078/0.3106, allocations: 1.632 MB / 0.5021 GB, free: 10.56 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00195/0.3125, allocations: 0.9589 MB / 0.5031 GB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002822/0.3129, allocations: 130.1 kB / 0.5032 GB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001555/0.3144, allocations: 0.7811 MB / 0.5039 GB, free: 8.648 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 4.038e-06/0.3145, allocations: 0 / 0.5039 GB, free: 8.648 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01688/0.3313, allocations: 6.999 MB / 0.5108 GB, free: 1.469 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.3315, allocations: 256.2 kB / 0.511 GB, free: 1.164 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.001981/0.3335, allocations: 1.199 MB / 0.5122 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002093/0.3337, allocations: 45.7 kB / 0.5122 GB, free: 15.9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000927/0.3347, allocations: 1.039 MB / 0.5132 GB, free: 14.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004807/0.3352, allocations: 444.3 kB / 0.5137 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005224/0.3357, allocations: 259.5 kB / 0.5139 GB, free: 14.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.3358, allocations: 305.1 kB / 0.5142 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001375/0.3372, allocations: 0.7231 MB / 0.5149 GB, free: 13.13 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00165/0.3388, allocations: 1.135 MB / 0.516 GB, free: 11.83 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009335/0.3482, allocations: 3.602 MB / 0.5195 GB, free: 8.051 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.384e-05/0.3482, allocations: 0 / 0.5195 GB, free: 8.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.00495/0.3532, allocations: 2.58 MB / 0.5221 GB, free: 5.422 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.924e-05/0.3533, allocations: 37.7 kB / 0.5221 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/0.3533, allocations: 12 kB / 0.5221 GB, free: 5.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.3546, allocations: 0.5038 MB / 0.5226 GB, free: 4.852 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.3558, allocations: 299.5 kB / 0.5229 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008321/0.3641, allocations: 8.805 MB / 0.5315 GB, free: 11.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.3658, allocations: 131.9 kB / 0.5316 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002476/0.3661, allocations: 63.92 kB / 0.5317 GB, free: 11.01 MB / 414.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.002502/0.3686, allocations: 1.281 MB / 0.5329 GB, free: 9.727 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001573/0.3702, allocations: 1.103 MB / 0.534 GB, free: 8.457 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009056/0.3793, allocations: 3.532 MB / 0.5374 GB, free: 4.754 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.042e-05/0.3793, allocations: 4.156 kB / 0.5375 GB, free: 4.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004789/0.3841, allocations: 2.53 MB / 0.5399 GB, free: 2.172 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.179e-05/0.3842, allocations: 37.69 kB / 0.54 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.3842, allocations: 12 kB / 0.54 GB, free: 2.117 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/0.3854, allocations: 0.5041 MB / 0.5405 GB, free: 1.598 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.3866, allocations: 299.5 kB / 0.5407 GB, free: 1.305 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008301/0.3949, allocations: 8.791 MB / 0.5493 GB, free: 7.961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001727/0.3967, allocations: 139.9 kB / 0.5495 GB, free: 7.824 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002399/0.3969, allocations: 63.92 kB / 0.5495 GB, free: 7.762 MB / 430.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.0005621/0.3975, allocations: 300.3 kB / 0.5498 GB, free: 7.469 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003874/0.3979, allocations: 151.1 kB / 0.55 GB, free: 7.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004291/0.4022, allocations: 2.211 MB / 0.5521 GB, free: 5.051 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.4023, allocations: 12 kB / 0.5521 GB, free: 5.039 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/0.4023, allocations: 8 kB / 0.5521 GB, free: 5.031 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.4023, allocations: 7.969 kB / 0.5521 GB, free: 5.023 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009434/0.4118, allocations: 4.728 MB / 0.5568 GB, free: 160 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.35e-05/0.4118, allocations: 4 kB / 0.5568 GB, free: 156 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009661/0.4128, allocations: 204.1 kB / 0.557 GB, free: 15.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.4142, allocations: 0.5228 MB / 0.5575 GB, free: 15.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001656/0.4144, allocations: 39.97 kB / 0.5575 GB, free: 15.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007977/0.4223, allocations: 8.621 MB / 0.5659 GB, free: 6.199 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.4224, allocations: 4 kB / 0.5659 GB, free: 6.195 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00585/0.4282, allocations: 3.271 MB / 0.5691 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009953/0.4293, allocations: 368.1 kB / 0.5695 GB, free: 2.445 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004243/0.4297, allocations: 39.98 kB / 0.5695 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/0.431, allocations: 95.89 kB / 0.5696 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003265/0.4313, allocations: 116.7 kB / 0.5697 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.4314, allocations: 39.98 kB / 0.5698 GB, free: 2.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001378/0.4328, allocations: 0.8185 MB / 0.5706 GB, free: 1.336 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4328, allocations: 0 / 0.5706 GB, free: 1.336 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003329/0.4362, allocations: 0.7851 MB / 0.5713 GB, free: 0.5508 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.006257/0.4424, allocations: 3.915 MB / 0.5751 GB, free: 12.54 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01151/0.454, allocations: 6.743 MB / 0.5817 GB, free: 5.547 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/0.454, allocations: 0 / 0.5817 GB, free: 5.547 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004682/0.4587, allocations: 2.854 MB / 0.5845 GB, free: 2.582 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/0.4613, allocations: 410.4 kB / 0.5849 GB, free: 2.188 MB / 462.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2065/0.6678, allocations: 12.56 MB / 0.5972 GB, free: 111.3 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001777/0.6696, allocations: 1.837 MB / 0.599 GB, free: 110.4 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001446/0.6711, allocations: 422.5 kB / 0.5994 GB, free: 110.4 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001017/0.6721, allocations: 0.8595 MB / 0.6002 GB, free: 109.7 MB / 462.1 MB Notification: Performance of SimCode: time 9.82e-07/0.6721, allocations: 0 / 0.6002 GB, free: 109.7 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08359/0.7557, allocations: 49.23 MB / 0.6483 GB, free: 75.29 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.24, allocations: 1.031 kB / 0.6483 GB, free: 75.29 MB / 462.1 MB (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.sim & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_AsmaTqFollowing.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing.pipe 2>&1)