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/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 2.1.4/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/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/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/package.mo): time 0.07343/0.07343, allocations: 8.026 MB / 23.66 MB, free: 4.648 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.001015/0.001015, allocations: 107.8 kB / 26.25 MB, free: 2.973 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.001109/0.001109, allocations: 194.5 kB / 28.94 MB, free: 304 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.362/1.362, allocations: 222.9 MB / 254.4 MB, free: 4.672 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 2.1.4/package.mo): time 0.01789/0.01789, allocations: 3.123 MB / 309.4 MB, free: 2.293 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 96.27 kB / 426.4 MB, free: 18.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0933/0.09501, allocations: 51.97 MB / 478.4 MB, free: 14.12 MB / 350.1 MB [/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. [/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: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/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) 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: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: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:23:3-25:67:writable] Warning: Parameter aimc.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=3*(1 - sqrt(1 - 0.0667))/(2*pi*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=3*sqrt(1 - 0.0667)/(2*pi*fsNominal)) 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=3*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) 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: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: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. Notification: Performance of NFInst.instantiate(EHPTexamples.ElectricDrives.tqFollowing): time 0.0107/0.1058, allocations: 9.069 MB / 487.4 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005384/0.1112, allocations: 2.56 MB / 490 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001325/0.1126, allocations: 47.81 kB / 490.1 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.1141, allocations: 476.6 kB / 490.5 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.1166, allocations: 0.6755 MB / 491.2 MB, free: 1.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.118, allocations: 0.4915 MB / 491.7 MB, free: 0.7578 MB / 350.1 MB [/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/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. Notification: Performance of NFFlatten.flatten: time 0.003241/0.1213, allocations: 2.479 MB / 494.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002698/0.124, allocations: 2.045 MB / 496.2 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001694/0.1257, allocations: 1.098 MB / 497.3 MB, free: 11.05 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002104/0.1278, allocations: 1.323 MB / 498.6 MB, free: 9.723 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000695/0.1285, allocations: 300 kB / 498.9 MB, free: 9.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001148/0.1297, allocations: 387.8 kB / 499.3 MB, free: 9.051 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001042/0.1307, allocations: 0.7831 MB / 0.4884 GB, free: 8.266 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002069/0.1328, allocations: 1.279 MB / 0.4896 GB, free: 6.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004568/0.1374, allocations: 3.745 MB / 0.4933 GB, free: 3.223 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.1375, allocations: 0 / 0.4933 GB, free: 3.223 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1375, allocations: 0 / 0.4933 GB, free: 3.223 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001185/0.1376, allocations: 0 / 0.4933 GB, free: 3.223 MB / 366.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.006786/0.1444, allocations: 2.757 MB / 0.496 GB, free: 404 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.1444, allocations: 16.02 kB / 0.496 GB, free: 388 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007579/0.1452, allocations: 295.6 kB / 0.4963 GB, free: 80 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009448/0.1462, allocations: 277.7 kB / 0.4965 GB, free: 15.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.1489, allocations: 1.332 MB / 0.4978 GB, free: 14.43 MB / 382.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.0002406/0.1492, allocations: 217.8 kB / 0.498 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003922/0.1496, allocations: 211.9 kB / 0.4982 GB, free: 14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004796/0.1544, allocations: 2.69 MB / 0.5009 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.895e-05/0.1545, allocations: 15.88 kB / 0.5009 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.1546, allocations: 84 kB / 0.501 GB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.906e-05/0.1548, allocations: 95.97 kB / 0.5011 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004049/0.1588, allocations: 2.213 MB / 0.5032 GB, free: 8.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01346/0.1723, allocations: 7.889 MB / 0.5109 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.212/0.3844, allocations: 1.574 MB / 0.5125 GB, free: 39.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002054/0.3864, allocations: 0.9435 MB / 0.5134 GB, free: 39.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002549/0.3867, allocations: 124.7 kB / 0.5135 GB, free: 39.27 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001395/0.3882, allocations: 0.763 MB / 0.5142 GB, free: 39.14 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 2.845e-06/0.3882, allocations: 3.062 kB / 0.5142 GB, free: 39.14 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01496/0.4031, allocations: 6.666 MB / 0.5208 GB, free: 36.69 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.198e-05/0.4033, allocations: 250.4 kB / 0.521 GB, free: 36.4 MB / 382.1 MB [/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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002145/0.4054, allocations: 1.167 MB / 0.5221 GB, free: 35.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002049/0.4056, allocations: 47.33 kB / 0.5222 GB, free: 35.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007164/0.4064, allocations: 0.9399 MB / 0.5231 GB, free: 35.28 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/0.4067, allocations: 424.8 kB / 0.5235 GB, free: 35.01 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005454/0.4073, allocations: 248.9 kB / 0.5237 GB, free: 34.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.898e-05/0.4074, allocations: 369 kB / 0.5241 GB, free: 34.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.4087, allocations: 0.7029 MB / 0.5248 GB, free: 34.3 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.4101, allocations: 1.098 MB / 0.5258 GB, free: 33.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008935/0.4191, allocations: 3.543 MB / 0.5293 GB, free: 32.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.937e-05/0.4192, allocations: 6.75 kB / 0.5293 GB, free: 32.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.004724/0.4239, allocations: 2.522 MB / 0.5318 GB, free: 30.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.424, allocations: 39.52 kB / 0.5318 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.303e-05/0.424, allocations: 14.66 kB / 0.5318 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.4252, allocations: 0.4897 MB / 0.5323 GB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/0.4263, allocations: 303 kB / 0.5326 GB, free: 30.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006568/0.4328, allocations: 8.806 MB / 0.5412 GB, free: 23.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/0.4344, allocations: 128.6 kB / 0.5413 GB, free: 23.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002161/0.4346, allocations: 54.69 kB / 0.5414 GB, free: 23.15 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002147/0.4368, allocations: 1.227 MB / 0.5426 GB, free: 22.45 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001286/0.4381, allocations: 1.067 MB / 0.5436 GB, free: 21.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007325/0.4454, allocations: 3.487 MB / 0.547 GB, free: 18.05 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.484e-05/0.4455, allocations: 4 kB / 0.547 GB, free: 18.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.003875/0.4494, allocations: 2.467 MB / 0.5494 GB, free: 15.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.125e-05/0.4494, allocations: 33.7 kB / 0.5495 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.4495, allocations: 13.56 kB / 0.5495 GB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001029/0.4505, allocations: 0.5095 MB / 0.55 GB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009279/0.4514, allocations: 279.6 kB / 0.5502 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006092/0.4575, allocations: 8.808 MB / 0.5588 GB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001525/0.4592, allocations: 135.9 kB / 0.559 GB, free: 5.203 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/0.4594, allocations: 63.92 kB / 0.559 GB, free: 5.141 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.0006481/0.4601, allocations: 286.7 kB / 0.5593 GB, free: 4.859 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003895/0.4605, allocations: 143.1 kB / 0.5594 GB, free: 4.719 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00371/0.4642, allocations: 2.199 MB / 0.5616 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.4642, allocations: 12 kB / 0.5616 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/0.4642, allocations: 9.031 kB / 0.5616 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.4642, allocations: 3.984 kB / 0.5616 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00801/0.4723, allocations: 4.587 MB / 0.5661 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-05/0.4723, allocations: 4.938 kB / 0.5661 GB, free: 13.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009159/0.4732, allocations: 200.1 kB / 0.5663 GB, free: 13.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001406/0.4747, allocations: 0.5154 MB / 0.5668 GB, free: 13.04 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/0.4748, allocations: 31.98 kB / 0.5668 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00829/0.4831, allocations: 8.62 MB / 0.5752 GB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.4831, allocations: 4 kB / 0.5752 GB, free: 3.836 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005869/0.489, allocations: 3.232 MB / 0.5784 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009414/0.49, allocations: 360.1 kB / 0.5787 GB, free: 144 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003901/0.4904, allocations: 36.73 kB / 0.5788 GB, free: 108 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/0.4916, allocations: 104.8 kB / 0.5789 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/0.4919, allocations: 112.9 kB / 0.579 GB, free: 15.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.125e-05/0.4921, allocations: 35.98 kB / 0.579 GB, free: 15.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001414/0.4935, allocations: 0.7979 MB / 0.5798 GB, free: 15.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4935, allocations: 0 / 0.5798 GB, free: 15.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003319/0.4968, allocations: 0.746 MB / 0.5805 GB, free: 14.3 MB / 414.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.006076/0.5029, allocations: 3.88 MB / 0.5843 GB, free: 10.32 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01073/0.5137, allocations: 6.678 MB / 0.5908 GB, free: 3.41 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.702e-05/0.5137, allocations: 0 / 0.5908 GB, free: 3.41 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004691/0.5184, allocations: 2.837 MB / 0.5936 GB, free: 484 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002589/0.5211, allocations: 384.8 kB / 0.594 GB, free: 104 kB / 414.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1963:3-1963:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02201/0.5431, allocations: 12.1 MB / 0.6058 GB, free: 3.539 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001976/0.5451, allocations: 1.742 MB / 0.6075 GB, free: 1.762 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001382/0.5465, allocations: 419.6 kB / 0.6079 GB, free: 1.348 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001145/0.5477, allocations: 0.7805 MB / 0.6087 GB, free: 0.5664 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.5477, allocations: 4 kB / 0.6087 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09831/0.646, allocations: 47.75 MB / 0.6553 GB, free: 1.191 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13.25, allocations: 22.69 kB / 0.6553 GB, free: 1.176 MB / 478.1 MB (rm -f EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.sim & python3 -m fmpy simulate --output-file EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)