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.04724/0.04724, allocations: 8.031 MB / 23.53 MB, free: 4.754 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 107.6 kB / 26.12 MB, free: 3.074 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.001257/0.001257, allocations: 195.2 kB / 28.8 MB, free: 400 kB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 222.9 MB / 254.3 MB, free: 4.789 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0119/0.0119, allocations: 3.126 MB / 309.3 MB, free: 2.379 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 91.84 kB / 373.8 MB, free: 1.844 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2258, allocations: 51.96 MB / 425.7 MB, free: 21.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.007231/0.2331, allocations: 9.03 MB / 434.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004022/0.2371, allocations: 2.552 MB / 437.3 MB, free: 9.688 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007281/0.2379, allocations: 51.81 kB / 437.4 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008805/0.2388, allocations: 460.6 kB / 437.8 MB, free: 9.184 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001174/0.24, allocations: 0.6442 MB / 438.5 MB, free: 8.535 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000693/0.2407, allocations: 493.1 kB / 439 MB, free: 8.055 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001444/0.2421, allocations: 2.456 MB / 441.4 MB, free: 5.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001537/0.2437, allocations: 2.057 MB / 443.5 MB, free: 3.473 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009104/0.2446, allocations: 1.075 MB / 444.5 MB, free: 2.395 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001026/0.2456, allocations: 1.319 MB / 445.9 MB, free: 1.07 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000283/0.2459, allocations: 296 kB / 446.1 MB, free: 0.7812 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005178/0.2464, allocations: 387.8 kB / 446.5 MB, free: 412 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006017/0.2471, allocations: 0.787 MB / 447.3 MB, free: 15.61 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.2482, allocations: 1.276 MB / 448.6 MB, free: 14.33 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003035/0.2513, allocations: 3.669 MB / 452.3 MB, free: 10.65 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.2513, allocations: 0 / 452.3 MB, free: 10.65 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2513, allocations: 0 / 452.3 MB, free: 10.65 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.366e-05/0.2514, allocations: 0 / 452.3 MB, free: 10.65 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.00494/0.2563, allocations: 2.697 MB / 455 MB, free: 7.887 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.2564, allocations: 8.031 kB / 455 MB, free: 7.879 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003363/0.2567, allocations: 303.6 kB / 455.3 MB, free: 7.57 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006427/0.2573, allocations: 266.1 kB / 455.5 MB, free: 7.309 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/0.2592, allocations: 1.286 MB / 456.8 MB, free: 5.973 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.0002484/0.2595, allocations: 215.5 kB / 457 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000292/0.2598, allocations: 207.9 kB / 457.2 MB, free: 5.543 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004101/0.2639, allocations: 2.698 MB / 459.9 MB, free: 2.754 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.359e-05/0.264, allocations: 4 kB / 459.9 MB, free: 2.75 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.2642, allocations: 88 kB / 460 MB, free: 2.664 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.3e-05/0.2643, allocations: 99.97 kB / 460.1 MB, free: 2.566 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003869/0.2682, allocations: 2.205 MB / 462.3 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01234/0.2805, allocations: 7.961 MB / 470.3 MB, free: 8.176 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002702/0.2832, allocations: 1.584 MB / 471.9 MB, free: 6.535 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/0.285, allocations: 0.9411 MB / 472.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.2853, allocations: 130 kB / 472.9 MB, free: 5.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001297/0.2866, allocations: 0.7617 MB / 473.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.535e-06/0.2866, allocations: 0 / 473.7 MB, free: 4.656 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01526/0.3019, allocations: 6.61 MB / 480.3 MB, free: 13.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001264/0.302, allocations: 244.3 kB / 480.5 MB, free: 13.61 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.001872/0.3039, allocations: 1.199 MB / 481.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001107/0.304, allocations: 53.64 kB / 481.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007847/0.3048, allocations: 0.9231 MB / 482.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003712/0.3052, allocations: 398.3 kB / 483.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004238/0.3056, allocations: 246.8 kB / 483.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001446/0.3058, allocations: 361.9 kB / 483.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001303/0.3071, allocations: 0.7054 MB / 484.4 MB, free: 9.695 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001562/0.3087, allocations: 1.093 MB / 485.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009282/0.318, allocations: 3.57 MB / 489.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.288e-05/0.318, allocations: 7.938 kB / 489.1 MB, free: 4.719 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005523/0.3236, allocations: 2.504 MB / 491.6 MB, free: 2.152 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.488e-05/0.3237, allocations: 45.75 kB / 491.6 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/0.3237, allocations: 12 kB / 491.6 MB, free: 2.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/0.325, allocations: 0.496 MB / 492.1 MB, free: 1.578 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.3262, allocations: 295.5 kB / 492.4 MB, free: 1.289 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008911/0.3351, allocations: 8.813 MB / 0.4895 GB, free: 7.922 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.3368, allocations: 127.9 kB / 0.4896 GB, free: 7.797 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002822/0.3371, allocations: 55.98 kB / 0.4897 GB, free: 7.742 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.002518/0.3396, allocations: 1.221 MB / 0.4908 GB, free: 6.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001577/0.3412, allocations: 1.066 MB / 0.4919 GB, free: 5.293 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009034/0.3503, allocations: 3.5 MB / 0.4953 GB, free: 1.637 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.335e-05/0.3503, allocations: 7.938 kB / 0.4953 GB, free: 1.629 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004906/0.3552, allocations: 2.468 MB / 0.4977 GB, free: 15.11 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.676e-05/0.3553, allocations: 40.36 kB / 0.4978 GB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.345e-05/0.3553, allocations: 12 kB / 0.4978 GB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.3566, allocations: 0.5079 MB / 0.4983 GB, free: 14.54 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001078/0.3577, allocations: 279.6 kB / 0.4985 GB, free: 14.26 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008432/0.3661, allocations: 8.79 MB / 0.5071 GB, free: 4.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/0.3678, allocations: 135.9 kB / 0.5072 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002831/0.3681, allocations: 67.91 kB / 0.5073 GB, free: 4.707 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.0005915/0.3687, allocations: 289.7 kB / 0.5076 GB, free: 4.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004033/0.3691, allocations: 134.4 kB / 0.5077 GB, free: 4.285 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004383/0.3735, allocations: 2.187 MB / 0.5099 GB, free: 2.055 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.3735, allocations: 12 kB / 0.5099 GB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.607e-05/0.3735, allocations: 7.938 kB / 0.5099 GB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.3736, allocations: 7.969 kB / 0.5099 GB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2088/0.5824, allocations: 4.593 MB / 0.5144 GB, free: 84.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.5824, allocations: 8 kB / 0.5144 GB, free: 84.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009016/0.5833, allocations: 196.9 kB / 0.5146 GB, free: 84.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001448/0.5848, allocations: 0.5191 MB / 0.5151 GB, free: 84.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.5849, allocations: 34.91 kB / 0.5151 GB, free: 84.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006779/0.5917, allocations: 8.611 MB / 0.5235 GB, free: 77.97 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.5917, allocations: 7.406 kB / 0.5235 GB, free: 77.97 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004965/0.5967, allocations: 3.218 MB / 0.5267 GB, free: 76.58 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009704/0.5977, allocations: 362.9 kB / 0.527 GB, free: 76.41 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002453/0.5979, allocations: 36.64 kB / 0.527 GB, free: 76.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009946/0.5989, allocations: 100.3 kB / 0.5271 GB, free: 76.38 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003621/0.5993, allocations: 114.6 kB / 0.5272 GB, free: 76.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.302e-05/0.5994, allocations: 38.44 kB / 0.5273 GB, free: 76.34 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001271/0.6007, allocations: 0.7977 MB / 0.5281 GB, free: 76.01 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6007, allocations: 0 / 0.5281 GB, free: 76.01 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002391/0.6031, allocations: 0.7429 MB / 0.5288 GB, free: 75.94 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.005062/0.6082, allocations: 3.859 MB / 0.5326 GB, free: 74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009783/0.618, allocations: 7.072 MB / 0.5395 GB, free: 67.92 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 9.187e-06/0.618, allocations: 4 kB / 0.5395 GB, free: 67.92 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00371/0.6217, allocations: 2.841 MB / 0.5422 GB, free: 65.07 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001862/0.6236, allocations: 385.9 kB / 0.5426 GB, free: 64.73 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.01482/0.6385, allocations: 12.81 MB / 0.5551 GB, free: 51.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009526/0.6394, allocations: 1.742 MB / 0.5568 GB, free: 49.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001118/0.6406, allocations: 411.6 kB / 0.5572 GB, free: 49.11 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007536/0.6413, allocations: 0.7766 MB / 0.558 GB, free: 48.33 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.6413, allocations: 0 / 0.558 GB, free: 48.33 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).