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 1.512/1.512, allocations: 8.034 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.001319/0.001319, allocations: 95.14 kB / 26.11 MB, free: 3.086 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.001608/0.001608, allocations: 198.4 kB / 28.8 MB, free: 408 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.192/1.192, allocations: 222.9 MB / 254.2 MB, free: 4.785 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.8622/0.8622, allocations: 3.123 MB / 309.3 MB, free: 2.367 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001817/0.001817, allocations: 95.86 kB / 373.8 MB, free: 1.832 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1805, allocations: 51.97 MB / 425.7 MB, free: 21.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.007132/0.1877, allocations: 9.028 MB / 434.8 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00312/0.1908, allocations: 2.556 MB / 437.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005342/0.1914, allocations: 47.81 kB / 437.4 MB, free: 9.734 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007961/0.1922, allocations: 456.6 kB / 437.8 MB, free: 9.285 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001023/0.1932, allocations: 0.6443 MB / 438.5 MB, free: 8.637 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006379/0.1938, allocations: 0.49 MB / 439 MB, free: 8.148 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.1952, allocations: 2.452 MB / 441.4 MB, free: 5.688 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001492/0.1967, allocations: 2.045 MB / 443.5 MB, free: 3.582 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007976/0.1975, allocations: 1.082 MB / 444.5 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009914/0.1985, allocations: 1.323 MB / 445.9 MB, free: 1.168 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002903/0.1988, allocations: 300 kB / 446.1 MB, free: 0.875 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005238/0.1993, allocations: 383.8 kB / 446.5 MB, free: 0.5 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005756/0.1999, allocations: 0.787 MB / 447.3 MB, free: 15.71 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.2011, allocations: 1.279 MB / 448.6 MB, free: 14.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002844/0.2039, allocations: 3.661 MB / 452.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2039, allocations: 4 kB / 452.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2039, allocations: 0 / 452.3 MB, free: 10.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.13e-05/0.204, allocations: 0 / 452.3 MB, free: 10.75 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.004756/0.2087, allocations: 2.701 MB / 455 MB, free: 7.98 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.2088, allocations: 12.03 kB / 455 MB, free: 7.969 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003361/0.2091, allocations: 295.6 kB / 455.3 MB, free: 7.668 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006168/0.2098, allocations: 262.1 kB / 455.5 MB, free: 7.41 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001807/0.2116, allocations: 1.294 MB / 456.8 MB, free: 6.066 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.0002206/0.2118, allocations: 215.4 kB / 457 MB, free: 5.84 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002859/0.2121, allocations: 207.9 kB / 457.2 MB, free: 5.637 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004583/0.2167, allocations: 2.694 MB / 459.9 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.663e-05/0.2168, allocations: 4 kB / 459.9 MB, free: 2.848 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002988/0.2171, allocations: 87.92 kB / 460 MB, free: 2.762 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/0.2173, allocations: 95.98 kB / 460.1 MB, free: 2.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006215/0.2235, allocations: 2.209 MB / 462.3 MB, free: 468 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01825/0.2418, allocations: 7.965 MB / 470.3 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004085/0.2459, allocations: 1.581 MB / 471.9 MB, free: 6.629 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002699/0.2486, allocations: 0.9489 MB / 472.8 MB, free: 5.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003046/0.2489, allocations: 114.1 kB / 472.9 MB, free: 5.555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002033/0.251, allocations: 0.7772 MB / 473.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 4.478e-06/0.251, allocations: 0 / 473.7 MB, free: 4.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.02178/0.2728, allocations: 6.603 MB / 480.3 MB, free: 14 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000169/0.273, allocations: 244.3 kB / 480.5 MB, free: 13.7 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.002634/0.2756, allocations: 1.195 MB / 481.7 MB, free: 12.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001566/0.2758, allocations: 53.64 kB / 481.8 MB, free: 12.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001173/0.277, allocations: 0.9153 MB / 482.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005578/0.2776, allocations: 398.3 kB / 483.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006669/0.2783, allocations: 258.7 kB / 483.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000213/0.2785, allocations: 361.9 kB / 483.7 MB, free: 10.49 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002032/0.2806, allocations: 0.7054 MB / 484.4 MB, free: 9.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002501/0.2831, allocations: 1.089 MB / 485.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0136/0.2967, allocations: 3.562 MB / 489 MB, free: 4.828 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.477e-05/0.2968, allocations: 7.938 kB / 489.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005785/0.3026, allocations: 2.511 MB / 491.6 MB, free: 2.246 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.101e-05/0.3026, allocations: 37.7 kB / 491.6 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.448e-05/0.3027, allocations: 12 kB / 491.6 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001396/0.3041, allocations: 0.5079 MB / 492.1 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.3052, allocations: 291.5 kB / 492.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009237/0.3145, allocations: 8.807 MB / 0.4895 GB, free: 8.023 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/0.3161, allocations: 123.9 kB / 0.4896 GB, free: 7.902 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002229/0.3163, allocations: 59.98 kB / 0.4896 GB, free: 7.844 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.002511/0.3188, allocations: 1.225 MB / 0.4908 GB, free: 6.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001652/0.3205, allocations: 1.062 MB / 0.4919 GB, free: 5.395 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009006/0.3295, allocations: 3.5 MB / 0.4953 GB, free: 1.738 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.327e-05/0.3295, allocations: 8.094 kB / 0.4953 GB, free: 1.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.004636/0.3342, allocations: 2.472 MB / 0.4977 GB, free: 15.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.757e-05/0.3343, allocations: 44.61 kB / 0.4978 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.3343, allocations: 12 kB / 0.4978 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001218/0.3355, allocations: 0.5038 MB / 0.4983 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001069/0.3366, allocations: 279.5 kB / 0.4985 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009057/0.3457, allocations: 8.793 MB / 0.5071 GB, free: 5.008 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001604/0.3473, allocations: 131.9 kB / 0.5072 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/0.3475, allocations: 63.92 kB / 0.5073 GB, free: 4.816 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.0005205/0.3481, allocations: 289.7 kB / 0.5076 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003973/0.3485, allocations: 142.3 kB / 0.5077 GB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004293/0.3528, allocations: 2.188 MB / 0.5098 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.3528, allocations: 8 kB / 0.5099 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.25e-05/0.3528, allocations: 15.94 kB / 0.5099 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.3528, allocations: 3.984 kB / 0.5099 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.199/0.5518, allocations: 4.587 MB / 0.5144 GB, free: 85.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.725e-05/0.5519, allocations: 2.844 kB / 0.5144 GB, free: 85.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009679/0.5528, allocations: 201.1 kB / 0.5145 GB, free: 85.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001557/0.5544, allocations: 0.5224 MB / 0.5151 GB, free: 85.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/0.5546, allocations: 41.11 kB / 0.5151 GB, free: 85.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006996/0.5616, allocations: 8.615 MB / 0.5235 GB, free: 78.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.5616, allocations: 3.969 kB / 0.5235 GB, free: 78.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005347/0.567, allocations: 3.217 MB / 0.5267 GB, free: 77.24 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000873/0.5679, allocations: 360.1 kB / 0.527 GB, free: 77.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003963/0.5683, allocations: 43.2 kB / 0.527 GB, free: 77.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/0.5695, allocations: 102.5 kB / 0.5271 GB, free: 77.03 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002996/0.5698, allocations: 115.2 kB / 0.5272 GB, free: 77 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.861e-05/0.5699, allocations: 37.95 kB / 0.5273 GB, free: 77 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001338/0.5712, allocations: 0.7948 MB / 0.5281 GB, free: 76.66 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5712, allocations: 0.5938 kB / 0.5281 GB, free: 76.66 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002828/0.5741, allocations: 0.7451 MB / 0.5288 GB, free: 76.6 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.005114/0.5792, allocations: 3.843 MB / 0.5325 GB, free: 74.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.009962/0.5892, allocations: 7.087 MB / 0.5395 GB, free: 68.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.5892, allocations: 4 kB / 0.5395 GB, free: 68.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003686/0.5929, allocations: 2.826 MB / 0.5422 GB, free: 65.73 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002022/0.5949, allocations: 384.4 kB / 0.5426 GB, free: 65.39 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.01714/0.6121, allocations: 12.82 MB / 0.5551 GB, free: 51.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001445/0.6136, allocations: 1.738 MB / 0.5568 GB, free: 50.17 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001291/0.6149, allocations: 415.6 kB / 0.5572 GB, free: 49.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008845/0.6158, allocations: 0.7805 MB / 0.558 GB, free: 48.98 MB / 382.1 MB Notification: Performance of SimCode: time 1.142e-06/0.6158, allocations: 0 / 0.558 GB, free: 48.98 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).