Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) 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/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 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) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.08944/0.08944, allocations: 8.034 MB / 23.3 MB, free: 0.5195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008602/0.0008605, allocations: 91.55 kB / 25.88 MB, free: 3.602 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009386/0.0009388, allocations: 191 kB / 28.57 MB, free: 0.9219 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 223.2 MB / 254.4 MB, free: 3.879 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01573/0.01573, allocations: 3.117 MB / 310.4 MB, free: 0.5117 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00041/0.0004101, allocations: 11.66 kB / 375.5 MB, free: 53.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08283/0.08327, allocations: 52.98 MB / 428.5 MB, free: 19.8 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.005969/0.08927, allocations: 8.446 MB / 437 MB, free: 11.32 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003449/0.09275, allocations: 2.496 MB / 439.5 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005292/0.0933, allocations: 39.81 kB / 439.5 MB, free: 8.781 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007387/0.09405, allocations: 393.7 kB / 439.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001168/0.09523, allocations: 0.5827 MB / 440.5 MB, free: 7.809 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006815/0.09592, allocations: 451.5 kB / 440.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001618/0.09754, allocations: 2.733 MB / 443.6 MB, free: 4.625 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.09895, allocations: 1.728 MB / 445.4 MB, free: 2.836 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008235/0.09978, allocations: 0.813 MB / 446.2 MB, free: 2.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009223/0.1007, allocations: 1.101 MB / 447.3 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001736/0.1009, allocations: 124 kB / 447.4 MB, free: 0.793 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003981/0.1013, allocations: 227.8 kB / 447.6 MB, free: 0.5703 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003846/0.1017, allocations: 0.5683 MB / 448.2 MB, free: 0 / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009979/0.1027, allocations: 1.082 MB / 449.3 MB, free: 14.91 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002486/0.1052, allocations: 3.449 MB / 452.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.1052, allocations: 0 / 452.7 MB, free: 11.45 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1052, allocations: 4 kB / 452.7 MB, free: 11.44 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.169e-05/0.1053, allocations: 0 / 452.7 MB, free: 11.44 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 530 * Number of variables: 530 Notification: Performance of Generate backend data structure: time 0.004308/0.1096, allocations: 2.311 MB / 455 MB, free: 9.062 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.272e-05/0.1096, allocations: 12.03 kB / 455 MB, free: 9.051 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003717/0.11, allocations: 303.6 kB / 455.3 MB, free: 8.742 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006028/0.1106, allocations: 266 kB / 455.6 MB, free: 8.48 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001851/0.1125, allocations: 1.29 MB / 456.9 MB, free: 7.141 MB / 318.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.0002415/0.1127, allocations: 219.4 kB / 457.1 MB, free: 6.91 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002936/0.113, allocations: 207.9 kB / 457.3 MB, free: 6.707 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004242/0.1173, allocations: 2.714 MB / 460 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.015e-05/0.1174, allocations: 15.83 kB / 460 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002065/0.1176, allocations: 84 kB / 460.1 MB, free: 3.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.634e-05/0.1177, allocations: 99.97 kB / 460.2 MB, free: 3.707 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003823/0.1215, allocations: 2.252 MB / 462.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01179/0.1333, allocations: 8.02 MB / 470.5 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002571/0.1359, allocations: 1.631 MB / 472.1 MB, free: 7.516 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001644/0.1376, allocations: 0.9712 MB / 473.1 MB, free: 6.547 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/0.1378, allocations: 130 kB / 473.2 MB, free: 6.402 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001242/0.1391, allocations: 0.7928 MB / 474 MB, free: 5.578 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.625e-06/0.1391, allocations: 0 / 474 MB, free: 5.578 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.0135/0.1526, allocations: 6.778 MB / 480.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.1527, allocations: 244.3 kB / 481 MB, free: 14.36 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: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: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.001556/0.1543, allocations: 1.194 MB / 482.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.965e-05/0.1544, allocations: 45.7 kB / 482.3 MB, free: 13.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000679/0.1551, allocations: 0.9309 MB / 483.2 MB, free: 12.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002967/0.1554, allocations: 398.3 kB / 483.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001622/0.1556, allocations: 117.6 kB / 483.7 MB, free: 11.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1557, allocations: 357.9 kB / 484.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001168/0.1569, allocations: 0.7177 MB / 484.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.1583, allocations: 1.109 MB / 485.9 MB, free: 9.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008303/0.1666, allocations: 3.648 MB / 489.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.879e-06/0.1666, allocations: 7.938 kB / 489.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00414/0.1708, allocations: 2.551 MB / 492.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003022/0.1711, allocations: 424.2 kB / 492.5 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.1711, allocations: 11.94 kB / 492.5 MB, free: 2.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/0.1723, allocations: 0.5009 MB / 493 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00114/0.1734, allocations: 311.5 kB / 493.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007327/0.1807, allocations: 8.091 MB / 0.4897 GB, free: 8.883 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.1821, allocations: 151.9 kB / 0.4898 GB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.1823, allocations: 51.98 kB / 0.4899 GB, free: 8.684 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.1823, allocations: 7.938 kB / 0.4899 GB, free: 8.676 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003703/0.186, allocations: 2.363 MB / 0.4922 GB, free: 6.27 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.186, allocations: 8 kB / 0.4922 GB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/0.1871, allocations: 0.5042 MB / 0.4927 GB, free: 5.742 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009528/0.188, allocations: 291.6 kB / 0.4929 GB, free: 5.457 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006991/0.195, allocations: 8.083 MB / 0.5008 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.1964, allocations: 131.9 kB / 0.501 GB, free: 12.71 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.1966, allocations: 55.98 kB / 0.501 GB, free: 12.65 MB / 382.1 MB Warning: Assuming fixed start value for the following 5 variables: tqRes.phi:VARIABLE(unit = "rad" fixed = true ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real aimc.idq_rr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_rr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Rotor space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] aimc.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (147): * Single equations (assignments): 140 * 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.001206/0.1978, allocations: 0.7237 MB / 0.5017 GB, free: 11.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002856/0.1981, allocations: 138.2 kB / 0.5019 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00386/0.2019, allocations: 2.238 MB / 0.504 GB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.202, allocations: 12 kB / 0.5041 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.202, allocations: 4 kB / 0.5041 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.202, allocations: 7.922 kB / 0.5041 GB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006817/0.2088, allocations: 4.638 MB / 0.5086 GB, free: 4.711 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.2089, allocations: 4 kB / 0.5086 GB, free: 4.707 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008101/0.2097, allocations: 208.2 kB / 0.5088 GB, free: 4.504 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001243/0.2109, allocations: 0.5231 MB / 0.5093 GB, free: 3.965 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.042e-05/0.211, allocations: 43.91 kB / 0.5093 GB, free: 3.922 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1848/0.3958, allocations: 7.896 MB / 0.5171 GB, free: 80.67 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.251e-06/0.3959, allocations: 3.938 kB / 0.5171 GB, free: 80.67 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0057/0.4016, allocations: 3.289 MB / 0.5203 GB, free: 80.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006544/0.4023, allocations: 357.2 kB / 0.5206 GB, free: 79.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.4025, allocations: 31.53 kB / 0.5206 GB, free: 79.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009635/0.4034, allocations: 127.7 kB / 0.5208 GB, free: 79.82 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002829/0.4037, allocations: 108.4 kB / 0.5209 GB, free: 79.8 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.673e-05/0.4038, allocations: 39.31 kB / 0.5209 GB, free: 79.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001104/0.4049, allocations: 0.7953 MB / 0.5217 GB, free: 79.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.4049, allocations: 3.844 kB / 0.5217 GB, free: 79.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002417/0.4074, allocations: 0.7416 MB / 0.5224 GB, free: 79.39 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 (98): * Single equations (assignments): 90 * 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.005092/0.4125, allocations: 3.925 MB / 0.5262 GB, free: 77.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008039/0.4205, allocations: 6.742 MB / 0.5328 GB, free: 73.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.03e-06/0.4205, allocations: 0 / 0.5328 GB, free: 73.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003356/0.4239, allocations: 2.868 MB / 0.5356 GB, free: 71.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002132/0.4261, allocations: 361.4 kB / 0.536 GB, free: 71.1 MB / 382.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.01637/0.4424, allocations: 13.83 MB / 0.5495 GB, free: 57.51 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001161/0.4436, allocations: 1.738 MB / 0.5512 GB, free: 55.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001164/0.4448, allocations: 407.6 kB / 0.5516 GB, free: 55.34 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000706/0.4455, allocations: 0.7771 MB / 0.5523 GB, free: 54.56 MB / 382.1 MB Notification: Performance of SimCode: time 8.61e-07/0.4455, allocations: 0 / 0.5523 GB, free: 54.56 MB / 382.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).