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.0007582/0.0007579, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004802/0.004802, allocations: 170 kB / 16.26 MB, free: 6.613 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.36/1.36, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1873/0.1873, allocations: 8.025 MB / 299.5 MB, free: 3.297 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000306/0.0003064, allocations: 4 kB / 362.5 MB, free: 13.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1073, allocations: 52.19 MB / 414.7 MB, free: 9.602 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.AsmaTqFollowing): time 0.01026/0.1176, allocations: 9.067 MB / 423.8 MB, free: 500 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2268/0.3445, allocations: 2.618 MB / 426.4 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001287/0.3458, allocations: 46.91 kB / 426.4 MB, free: 35.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009885/0.3468, allocations: 418.5 kB / 426.8 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00164/0.3485, allocations: 0.6012 MB / 427.4 MB, free: 35.02 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009924/0.3495, allocations: 488.7 kB / 427.9 MB, free: 35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002625/0.3521, allocations: 2.916 MB / 430.8 MB, free: 34.51 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.3542, allocations: 1.931 MB / 432.8 MB, free: 34.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.3557, allocations: 0.8803 MB / 433.6 MB, free: 33.86 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.3572, allocations: 1.175 MB / 434.8 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002448/0.3575, allocations: 131.7 kB / 434.9 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005679/0.3581, allocations: 238.5 kB / 435.2 MB, free: 33.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004936/0.3586, allocations: 0.63 MB / 435.8 MB, free: 33.48 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.3596, allocations: 1.172 MB / 437 MB, free: 33.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002847/0.3625, allocations: 3.843 MB / 440.8 MB, free: 32.15 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.3625, allocations: 0 / 440.8 MB, free: 32.15 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.3625, allocations: 0 / 440.8 MB, free: 32.15 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.232e-05/0.3626, allocations: 0 / 440.8 MB, free: 32.15 MB / 350.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.005049/0.3677, allocations: 2.475 MB / 443.3 MB, free: 30.83 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/0.3677, allocations: 9.469 kB / 443.3 MB, free: 30.83 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005519/0.3683, allocations: 334.8 kB / 443.6 MB, free: 30.63 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007339/0.369, allocations: 287.5 kB / 443.9 MB, free: 30.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.371, allocations: 1.377 MB / 445.3 MB, free: 29.69 MB / 350.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.0002267/0.3713, allocations: 245.7 kB / 445.5 MB, free: 29.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002917/0.3716, allocations: 235.7 kB / 445.8 MB, free: 29.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004515/0.3761, allocations: 2.99 MB / 448.7 MB, free: 28.23 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.007e-05/0.3762, allocations: 3.125 kB / 448.7 MB, free: 28.23 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001899/0.3764, allocations: 95.53 kB / 448.8 MB, free: 28.16 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.983e-05/0.3765, allocations: 108.7 kB / 448.9 MB, free: 28.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004014/0.3805, allocations: 2.422 MB / 451.4 MB, free: 27.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01199/0.3925, allocations: 8.858 MB / 460.2 MB, free: 22.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.3949, allocations: 1.695 MB / 461.9 MB, free: 21.81 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.3967, allocations: 0.9875 MB / 462.9 MB, free: 21.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.3969, allocations: 125.8 kB / 463 MB, free: 21.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001458/0.3984, allocations: 0.8047 MB / 463.8 MB, free: 21.08 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.246e-06/0.3984, allocations: 3.984 kB / 463.8 MB, free: 21.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01545/0.4139, allocations: 7.112 MB / 471 MB, free: 18.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.758e-05/0.414, allocations: 247.2 kB / 471.2 MB, free: 17.76 MB / 350.1 MB [/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. [/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.0) 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: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:29:3-32:67:writable] Warning: Parameter aimc.Lrsigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.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=2.898223593858831 / (6.283185307179586 * aimc.fsNominal)) 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. [/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/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:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1017764061411688 / (6.283185307179586 * aimc.fsNominal)) 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.0) 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: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: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: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.0) 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/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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001953/0.416, allocations: 1.234 MB / 472.4 MB, free: 17.26 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001436/0.4161, allocations: 47.39 kB / 472.5 MB, free: 17.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008548/0.417, allocations: 1.011 MB / 473.5 MB, free: 16.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000358/0.4173, allocations: 419.7 kB / 473.9 MB, free: 16.13 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.4175, allocations: 116.6 kB / 474 MB, free: 16.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.341e-05/0.4176, allocations: 306.8 kB / 474.3 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001431/0.419, allocations: 0.7346 MB / 475 MB, free: 15.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.4206, allocations: 1.153 MB / 476.2 MB, free: 14.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009002/0.4296, allocations: 3.696 MB / 479.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.92e-05/0.4296, allocations: 6.422 kB / 479.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.004652/0.4343, allocations: 2.606 MB / 482.5 MB, free: 11.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.4345, allocations: 445 kB / 482.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.4346, allocations: 11.09 kB / 483 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001131/0.4357, allocations: 0.5053 MB / 483.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.4368, allocations: 319.2 kB / 483.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006189/0.443, allocations: 8.101 MB / 491.9 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/0.4447, allocations: 144.6 kB / 492 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.4449, allocations: 59.98 kB / 492.1 MB, free: 3.809 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.383e-06/0.4449, allocations: 7.625 kB / 492.1 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003506/0.4484, allocations: 2.408 MB / 494.5 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/0.4484, allocations: 16.06 kB / 494.5 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009859/0.4494, allocations: 0.5006 MB / 495 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009543/0.4504, allocations: 303.5 kB / 495.3 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00786/0.4583, allocations: 8.083 MB / 0.4916 GB, free: 7.914 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.4599, allocations: 135.8 kB / 0.4917 GB, free: 7.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.46, allocations: 63.98 kB / 0.4918 GB, free: 7.719 MB / 366.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.001557/0.4616, allocations: 0.7692 MB / 0.4925 GB, free: 6.941 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002991/0.4619, allocations: 140.3 kB / 0.4927 GB, free: 6.805 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004193/0.4661, allocations: 2.255 MB / 0.4949 GB, free: 4.508 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.321e-05/0.4661, allocations: 19.98 kB / 0.4949 GB, free: 4.488 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.177e-05/0.4661, allocations: 7.938 kB / 0.4949 GB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.481e-05/0.4662, allocations: 7.969 kB / 0.4949 GB, free: 4.473 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00868/0.4749, allocations: 4.784 MB / 0.4996 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.4749, allocations: 4 kB / 0.4996 GB, free: 15.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008851/0.4758, allocations: 212.1 kB / 0.4998 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/0.4771, allocations: 0.5153 MB / 0.5003 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/0.4773, allocations: 35.98 kB / 0.5003 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007399/0.4847, allocations: 7.922 MB / 0.508 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.4847, allocations: 7.938 kB / 0.5081 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005718/0.4904, allocations: 3.323 MB / 0.5113 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007805/0.4912, allocations: 367.2 kB / 0.5116 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002091/0.4914, allocations: 35.98 kB / 0.5117 GB, free: 2.504 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.4925, allocations: 123.9 kB / 0.5118 GB, free: 2.383 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.4928, allocations: 108.7 kB / 0.5119 GB, free: 2.277 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.353e-05/0.4929, allocations: 43.97 kB / 0.5119 GB, free: 2.234 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001325/0.4942, allocations: 0.8145 MB / 0.5127 GB, free: 1.414 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4942, allocations: 0 / 0.5127 GB, free: 1.414 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002905/0.4971, allocations: 0.793 MB / 0.5135 GB, free: 0.6211 MB / 382.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.005963/0.5031, allocations: 3.96 MB / 0.5174 GB, free: 12.55 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01081/0.5139, allocations: 6.802 MB / 0.524 GB, free: 5.52 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.5139, allocations: 3.938 kB / 0.524 GB, free: 5.516 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0049/0.5189, allocations: 2.869 MB / 0.5268 GB, free: 2.543 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003044/0.5219, allocations: 383.9 kB / 0.5272 GB, free: 2.176 MB / 398.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1914:3-1914:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02728/0.5492, allocations: 14.45 MB / 0.5413 GB, free: 2.934 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002121/0.5514, allocations: 1.833 MB / 0.5431 GB, free: 1.062 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001629/0.553, allocations: 420 kB / 0.5435 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/0.5544, allocations: 0.8537 MB / 0.5443 GB, free: 15.8 MB / 430.1 MB Notification: Performance of SimCode: time 1.022e-06/0.5544, allocations: 0 / 0.5443 GB, free: 15.8 MB / 430.1 MB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 2.898223593858831 / (6.283185307179586 * aimc.fsNominal). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 0.1017764061411688 / (6.283185307179586 * aimc.fsNominal).