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.0531/0.0531, allocations: 8.039 MB / 23.31 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006473/0.0006473, allocations: 94.23 kB / 25.88 MB, free: 3.359 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.0008037/0.0008037, allocations: 195 kB / 28.57 MB, free: 0.7227 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.219/1.219, allocations: 223.3 MB / 254.4 MB, free: 3.898 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.0117/0.0117, allocations: 3.12 MB / 310.4 MB, free: 0.5508 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003874/0.0003875, allocations: 15.09 kB / 375.5 MB, free: 53.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07432/0.07473, allocations: 52.98 MB / 428.5 MB, free: 19.82 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.005996/0.08076, allocations: 8.451 MB / 437 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003184/0.08396, allocations: 2.492 MB / 439.5 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005092/0.08449, allocations: 43.81 kB / 439.5 MB, free: 8.801 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006607/0.08516, allocations: 393.6 kB / 439.9 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009842/0.08615, allocations: 0.5749 MB / 440.5 MB, free: 7.836 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000639/0.0868, allocations: 446.7 kB / 440.9 MB, free: 7.402 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001594/0.0884, allocations: 2.737 MB / 443.6 MB, free: 4.656 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001365/0.08978, allocations: 1.732 MB / 445.4 MB, free: 2.863 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007326/0.09052, allocations: 0.813 MB / 446.2 MB, free: 2.047 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008915/0.09142, allocations: 1.097 MB / 447.3 MB, free: 0.9453 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001647/0.09159, allocations: 124 kB / 447.4 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.09197, allocations: 227.8 kB / 447.6 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003586/0.09234, allocations: 0.58 MB / 448.2 MB, free: 20 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009222/0.09327, allocations: 1.074 MB / 449.3 MB, free: 14.93 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002605/0.09589, allocations: 3.457 MB / 452.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.0959, allocations: 0 / 452.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.875e-06/0.09591, allocations: 3.984 kB / 452.7 MB, free: 11.46 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.797e-05/0.09595, allocations: 4 kB / 452.7 MB, free: 11.46 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.004207/0.1002, allocations: 2.303 MB / 455 MB, free: 9.086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.599e-05/0.1002, allocations: 12.03 kB / 455.1 MB, free: 9.074 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003606/0.1006, allocations: 303.6 kB / 455.3 MB, free: 8.766 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006146/0.1012, allocations: 270 kB / 455.6 MB, free: 8.5 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001789/0.103, allocations: 1.286 MB / 456.9 MB, free: 7.164 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.0002251/0.1032, allocations: 215.5 kB / 457.1 MB, free: 6.938 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002988/0.1036, allocations: 211.9 kB / 457.3 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004207/0.1078, allocations: 2.718 MB / 460 MB, free: 3.922 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.064e-05/0.1078, allocations: 11.89 kB / 460 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.108, allocations: 84 kB / 460.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.114e-05/0.1081, allocations: 99.97 kB / 460.2 MB, free: 3.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003756/0.1119, allocations: 2.256 MB / 462.5 MB, free: 1.473 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0108/0.1227, allocations: 8.02 MB / 470.5 MB, free: 9.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002633/0.1253, allocations: 1.639 MB / 472.1 MB, free: 7.527 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/0.1271, allocations: 0.9712 MB / 473.1 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002198/0.1273, allocations: 130 kB / 473.2 MB, free: 6.414 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001283/0.1286, allocations: 0.7851 MB / 474 MB, free: 5.598 MB / 334.1 MB Notification: Performance of pre-optimization done (n=100): time 2.384e-06/0.1286, allocations: 0 / 474 MB, free: 5.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=117): time 0.01382/0.1424, allocations: 6.778 MB / 480.8 MB, free: 14.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.1426, allocations: 248.3 kB / 481 MB, free: 14.38 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.001543/0.1441, allocations: 1.189 MB / 482.2 MB, free: 13.18 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.553e-05/0.1442, allocations: 49.7 kB / 482.3 MB, free: 13.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006611/0.1449, allocations: 0.9231 MB / 483.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003009/0.1452, allocations: 398.3 kB / 483.6 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001981/0.1454, allocations: 117.6 kB / 483.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1455, allocations: 361.9 kB / 484.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001243/0.1468, allocations: 0.7177 MB / 484.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00148/0.1483, allocations: 1.109 MB / 485.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008673/0.157, allocations: 3.636 MB / 489.5 MB, free: 5.539 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.157, allocations: 11.94 kB / 489.5 MB, free: 5.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004219/0.1612, allocations: 2.562 MB / 492.1 MB, free: 2.906 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002364/0.1615, allocations: 416.1 kB / 492.5 MB, free: 2.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.1615, allocations: 12 kB / 492.5 MB, free: 2.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.1626, allocations: 0.4959 MB / 493 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/0.1637, allocations: 311.5 kB / 493.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007284/0.171, allocations: 8.097 MB / 0.4897 GB, free: 8.906 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.1722, allocations: 155.9 kB / 0.4898 GB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.1723, allocations: 52 kB / 0.4899 GB, free: 8.703 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.011e-06/0.1723, allocations: 4 kB / 0.4899 GB, free: 8.699 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003811/0.1761, allocations: 2.359 MB / 0.4922 GB, free: 6.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.1761, allocations: 12 kB / 0.4922 GB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.1772, allocations: 0.5003 MB / 0.4927 GB, free: 5.77 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009942/0.1782, allocations: 299.5 kB / 0.493 GB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007243/0.1855, allocations: 8.082 MB / 0.5008 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.1866, allocations: 127.9 kB / 0.501 GB, free: 12.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.1867, allocations: 64.05 kB / 0.501 GB, free: 12.67 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.001088/0.1878, allocations: 0.7252 MB / 0.5017 GB, free: 11.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.188, allocations: 138.3 kB / 0.5019 GB, free: 11.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004023/0.1921, allocations: 2.23 MB / 0.504 GB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.1921, allocations: 16 kB / 0.5041 GB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/0.1921, allocations: 8 kB / 0.5041 GB, free: 9.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.386e-05/0.1921, allocations: 7.922 kB / 0.5041 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007178/0.1993, allocations: 4.631 MB / 0.5086 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.1993, allocations: 4 kB / 0.5086 GB, free: 4.727 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008266/0.2002, allocations: 208.2 kB / 0.5088 GB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001299/0.2015, allocations: 0.5231 MB / 0.5093 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.915e-05/0.2016, allocations: 39.97 kB / 0.5094 GB, free: 3.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1592/0.3608, allocations: 7.895 MB / 0.5171 GB, free: 80.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.3609, allocations: 8.406 kB / 0.5171 GB, free: 80.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004995/0.3659, allocations: 3.285 MB / 0.5203 GB, free: 79.96 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005043/0.3664, allocations: 361.7 kB / 0.5206 GB, free: 79.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001745/0.3666, allocations: 32.98 kB / 0.5207 GB, free: 79.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009356/0.3675, allocations: 118.5 kB / 0.5208 GB, free: 79.76 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002301/0.3677, allocations: 116.3 kB / 0.5209 GB, free: 79.74 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.41e-05/0.3678, allocations: 41.02 kB / 0.5209 GB, free: 79.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001004/0.3688, allocations: 0.7953 MB / 0.5217 GB, free: 79.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3688, allocations: 0 / 0.5217 GB, free: 79.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002011/0.3709, allocations: 0.745 MB / 0.5224 GB, free: 79.33 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.004753/0.3756, allocations: 3.916 MB / 0.5262 GB, free: 77.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007885/0.3835, allocations: 6.747 MB / 0.5328 GB, free: 73.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3835, allocations: 3.5 kB / 0.5328 GB, free: 73.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003291/0.3868, allocations: 2.865 MB / 0.5356 GB, free: 71.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/0.3889, allocations: 348 kB / 0.536 GB, free: 71.06 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.01607/0.405, allocations: 13.83 MB / 0.5495 GB, free: 57.49 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009201/0.4059, allocations: 1.748 MB / 0.5512 GB, free: 55.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001025/0.4069, allocations: 411.2 kB / 0.5516 GB, free: 55.31 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007021/0.4076, allocations: 0.7805 MB / 0.5523 GB, free: 54.53 MB / 382.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4077, allocations: 4 kB / 0.5523 GB, free: 54.53 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).