Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTexamples_latest_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_latest_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_latest_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.0491/0.0491, allocations: 8.034 MB / 23.26 MB, free: 0.5 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.0009432/0.0009432, allocations: 105.1 kB / 25.83 MB, free: 3.508 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.001053/0.001053, allocations: 195.2 kB / 28.51 MB, free: 0.8359 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.242/1.242, allocations: 222.9 MB / 253.9 MB, free: 4.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01219/0.01219, allocations: 3.124 MB / 309 MB, free: 2.559 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 84.23 kB / 373.2 MB, free: 2.242 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.1647, allocations: 51.97 MB / 425.2 MB, free: 21.59 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.00674/0.1715, allocations: 8.977 MB / 434.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002848/0.1743, allocations: 2.513 MB / 436.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004547/0.1748, allocations: 43.81 kB / 436.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007819/0.1756, allocations: 393.7 kB / 437.1 MB, free: 9.645 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009756/0.1766, allocations: 0.571 MB / 437.7 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006157/0.1772, allocations: 444.9 kB / 438.1 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00136/0.1786, allocations: 2.448 MB / 440.6 MB, free: 6.18 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001451/0.18, allocations: 2.053 MB / 442.6 MB, free: 4.066 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007252/0.1808, allocations: 1.086 MB / 443.7 MB, free: 2.977 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009085/0.1817, allocations: 1.339 MB / 445 MB, free: 1.633 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002525/0.1819, allocations: 300 kB / 445.3 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004308/0.1824, allocations: 391.8 kB / 445.7 MB, free: 0.957 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004308/0.1828, allocations: 0.7831 MB / 446.5 MB, free: 176 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.1839, allocations: 1.276 MB / 447.8 MB, free: 14.89 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002697/0.1866, allocations: 3.676 MB / 451.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.1866, allocations: 7.938 kB / 451.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1866, allocations: 0 / 451.5 MB, free: 11.2 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.638e-05/0.1866, allocations: 0 / 451.5 MB, free: 11.2 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.004485/0.1911, allocations: 2.689 MB / 454.2 MB, free: 8.438 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1912, allocations: 12.03 kB / 454.2 MB, free: 8.426 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003313/0.1915, allocations: 299.6 kB / 454.5 MB, free: 8.121 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006087/0.1921, allocations: 262.1 kB / 454.7 MB, free: 7.863 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001731/0.1939, allocations: 1.282 MB / 456 MB, free: 6.531 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.0002135/0.1941, allocations: 226.6 kB / 456.2 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002783/0.1944, allocations: 207.9 kB / 456.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003976/0.1984, allocations: 2.698 MB / 459.1 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.326e-05/0.1984, allocations: 11.98 kB / 459.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.1986, allocations: 80 kB / 459.2 MB, free: 3.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.393e-05/0.1987, allocations: 99.92 kB / 459.3 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00351/0.2022, allocations: 2.209 MB / 461.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.2127, allocations: 7.957 MB / 469.5 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002428/0.2151, allocations: 1.581 MB / 471.1 MB, free: 7.086 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.2168, allocations: 0.94 MB / 472 MB, free: 6.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000226/0.217, allocations: 130.1 kB / 472.1 MB, free: 6.004 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001206/0.2182, allocations: 0.7655 MB / 472.9 MB, free: 5.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 4.809e-06/0.2182, allocations: 4 kB / 472.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01326/0.2315, allocations: 6.59 MB / 479.5 MB, free: 14.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.2316, allocations: 260.2 kB / 479.7 MB, free: 14.16 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.00149/0.2331, allocations: 1.198 MB / 480.9 MB, free: 12.95 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.11e-05/0.2332, allocations: 49.7 kB / 481 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000651/0.2339, allocations: 0.9192 MB / 481.9 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003071/0.2342, allocations: 398.3 kB / 482.3 MB, free: 11.56 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003949/0.2346, allocations: 254.7 kB / 482.5 MB, free: 11.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001351/0.2347, allocations: 361.9 kB / 482.9 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.2359, allocations: 0.7093 MB / 483.6 MB, free: 10.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.2374, allocations: 1.085 MB / 484.7 MB, free: 9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008473/0.2459, allocations: 3.57 MB / 488.3 MB, free: 5.273 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.2459, allocations: 11.88 kB / 488.3 MB, free: 5.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003984/0.2499, allocations: 2.507 MB / 490.8 MB, free: 2.695 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.763e-05/0.2499, allocations: 37.7 kB / 490.8 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.2499, allocations: 8 kB / 490.8 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.2511, allocations: 0.5048 MB / 491.3 MB, free: 2.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/0.2521, allocations: 291.5 kB / 491.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007436/0.2596, allocations: 8.802 MB / 0.4887 GB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/0.2609, allocations: 131.9 kB / 0.4888 GB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001081/0.261, allocations: 59.98 kB / 0.4889 GB, free: 8.297 MB / 366.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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001889/0.2629, allocations: 1.23 MB / 0.4901 GB, free: 7.066 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001382/0.2643, allocations: 1.062 MB / 0.4911 GB, free: 5.848 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008286/0.2726, allocations: 3.5 MB / 0.4945 GB, free: 2.184 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.895e-06/0.2726, allocations: 11.88 kB / 0.4945 GB, free: 2.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004081/0.2767, allocations: 2.472 MB / 0.4969 GB, free: 15.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.249e-05/0.2767, allocations: 33.7 kB / 0.497 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.2767, allocations: 12 kB / 0.497 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001122/0.2779, allocations: 0.5034 MB / 0.4975 GB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001006/0.2789, allocations: 283.5 kB / 0.4978 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007524/0.2864, allocations: 8.788 MB / 0.5063 GB, free: 5.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/0.2877, allocations: 143.9 kB / 0.5065 GB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001268/0.2879, allocations: 59.98 kB / 0.5065 GB, free: 5.258 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.0004026/0.2883, allocations: 296.7 kB / 0.5068 GB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002728/0.2886, allocations: 134.4 kB / 0.5069 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/0.2924, allocations: 2.18 MB / 0.5091 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.359e-05/0.2924, allocations: 15.98 kB / 0.5091 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.093e-05/0.2924, allocations: 7.938 kB / 0.5091 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.12e-05/0.2924, allocations: 3.984 kB / 0.5091 GB, free: 2.578 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1509/0.4433, allocations: 4.59 MB / 0.5136 GB, free: 85.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.4434, allocations: 8.031 kB / 0.5136 GB, free: 85.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008161/0.4442, allocations: 192.8 kB / 0.5138 GB, free: 85.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001297/0.4455, allocations: 0.5199 MB / 0.5143 GB, free: 84.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.249e-05/0.4456, allocations: 42 kB / 0.5143 GB, free: 84.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005898/0.4515, allocations: 8.616 MB / 0.5227 GB, free: 78.51 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.4515, allocations: 7.906 kB / 0.5227 GB, free: 78.5 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004407/0.456, allocations: 3.211 MB / 0.5259 GB, free: 77.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004585/0.4564, allocations: 364.3 kB / 0.5262 GB, free: 76.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001947/0.4566, allocations: 31.88 kB / 0.5263 GB, free: 76.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009212/0.4576, allocations: 104.5 kB / 0.5264 GB, free: 76.91 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000222/0.4578, allocations: 108.3 kB / 0.5265 GB, free: 76.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-05/0.4579, allocations: 39.33 kB / 0.5265 GB, free: 76.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008337/0.4587, allocations: 0.7993 MB / 0.5273 GB, free: 76.54 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4587, allocations: 0 / 0.5273 GB, free: 76.54 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001966/0.4607, allocations: 0.7457 MB / 0.528 GB, free: 76.48 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.004241/0.4649, allocations: 3.859 MB / 0.5318 GB, free: 74.53 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008422/0.4734, allocations: 7.067 MB / 0.5387 GB, free: 68.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.4734, allocations: 0 / 0.5387 GB, free: 68.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003278/0.4767, allocations: 2.84 MB / 0.5414 GB, free: 65.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001501/0.4782, allocations: 388.1 kB / 0.5418 GB, free: 65.45 MB / 382.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1962:3-1962:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/0.4942, allocations: 13.64 MB / 0.5551 GB, free: 51.19 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/0.4952, allocations: 1.736 MB / 0.5568 GB, free: 49.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001113/0.4963, allocations: 423.5 kB / 0.5572 GB, free: 49.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007429/0.4971, allocations: 0.7805 MB / 0.558 GB, free: 48.23 MB / 382.1 MB Notification: Performance of SimCode: time 4.1e-07/0.4971, allocations: 0 / 0.558 GB, free: 48.23 MB / 382.1 MB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 2.898223593858831 / (6.283185307179586 * aimc.fsNominal). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 0.1017764061411688 / (6.283185307179586 * aimc.fsNominal).