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.08218/0.08218, allocations: 8.033 MB / 23.67 MB, free: 192 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.001067/0.001067, allocations: 108.5 kB / 26.26 MB, free: 3.156 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.001177/0.001177, allocations: 195.2 kB / 28.96 MB, free: 476 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.3/1.3, allocations: 222.9 MB / 254.4 MB, free: 4.648 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01598/0.01598, allocations: 3.126 MB / 309.5 MB, free: 2.285 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 91.86 kB / 426.4 MB, free: 18.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07972/0.08154, allocations: 51.97 MB / 478.4 MB, free: 14 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.01014/0.09171, allocations: 9.076 MB / 487.5 MB, free: 4.891 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004464/0.09619, allocations: 2.564 MB / 490 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009724/0.09718, allocations: 47.81 kB / 490.1 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.09837, allocations: 464.7 kB / 490.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001866/0.1003, allocations: 0.6872 MB / 491.2 MB, free: 1.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001081/0.1013, allocations: 0.4948 MB / 491.7 MB, free: 0.6328 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.002754/0.1041, allocations: 2.471 MB / 494.2 MB, free: 14.15 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002481/0.1066, allocations: 2.049 MB / 496.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001386/0.108, allocations: 1.098 MB / 497.3 MB, free: 10.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001819/0.1098, allocations: 1.327 MB / 498.7 MB, free: 9.598 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005588/0.1104, allocations: 300 kB / 499 MB, free: 9.305 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008522/0.1113, allocations: 387.8 kB / 499.3 MB, free: 8.926 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008123/0.1121, allocations: 0.7831 MB / 0.4884 GB, free: 8.141 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001534/0.1136, allocations: 1.28 MB / 0.4897 GB, free: 6.855 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003643/0.1173, allocations: 3.737 MB / 0.4933 GB, free: 3.105 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1173, allocations: 7.984 kB / 0.4933 GB, free: 3.098 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1173, allocations: 4 kB / 0.4933 GB, free: 3.094 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.655e-05/0.1174, allocations: 0 / 0.4933 GB, free: 3.094 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.005597/0.123, allocations: 2.757 MB / 0.496 GB, free: 272 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.1231, allocations: 8.031 kB / 0.496 GB, free: 264 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003834/0.1235, allocations: 303.7 kB / 0.4963 GB, free: 15.95 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006724/0.1241, allocations: 275.4 kB / 0.4966 GB, free: 15.68 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002147/0.1263, allocations: 1.326 MB / 0.4979 GB, free: 14.31 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.0002366/0.1266, allocations: 219.5 kB / 0.4981 GB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003164/0.1269, allocations: 211.9 kB / 0.4983 GB, free: 13.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004281/0.1312, allocations: 2.691 MB / 0.5009 GB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.449e-05/0.1312, allocations: 15.88 kB / 0.5009 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001854/0.1314, allocations: 80 kB / 0.501 GB, free: 11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001036/0.1316, allocations: 95.98 kB / 0.5011 GB, free: 10.9 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003953/0.1355, allocations: 2.209 MB / 0.5032 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01195/0.1475, allocations: 7.886 MB / 0.5109 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1661/0.3136, allocations: 1.581 MB / 0.5125 GB, free: 39.28 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/0.3157, allocations: 0.9427 MB / 0.5134 GB, free: 39.27 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002533/0.3159, allocations: 125 kB / 0.5135 GB, free: 39.17 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001364/0.3173, allocations: 0.7633 MB / 0.5143 GB, free: 39.06 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.407e-06/0.3173, allocations: 5.688 kB / 0.5143 GB, free: 39.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01404/0.3314, allocations: 6.66 MB / 0.5208 GB, free: 36.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.3e-05/0.3315, allocations: 246.3 kB / 0.521 GB, free: 36.35 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.002247/0.3337, allocations: 1.177 MB / 0.5222 GB, free: 35.88 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.3339, allocations: 47.44 kB / 0.5222 GB, free: 35.83 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007438/0.3346, allocations: 0.9353 MB / 0.5231 GB, free: 35.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003246/0.335, allocations: 428.5 kB / 0.5235 GB, free: 34.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004479/0.3354, allocations: 250.5 kB / 0.5238 GB, free: 34.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.71e-05/0.3355, allocations: 360.5 kB / 0.5241 GB, free: 34.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.3368, allocations: 0.7074 MB / 0.5248 GB, free: 34.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00139/0.3382, allocations: 1.093 MB / 0.5259 GB, free: 33.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008269/0.3465, allocations: 3.551 MB / 0.5293 GB, free: 32.01 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.153e-05/0.3465, allocations: 2.219 kB / 0.5293 GB, free: 32.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.005199/0.3518, allocations: 2.518 MB / 0.5318 GB, free: 30.95 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.142e-05/0.3518, allocations: 37.05 kB / 0.5318 GB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.902e-05/0.3519, allocations: 16.48 kB / 0.5319 GB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001666/0.3535, allocations: 0.4989 MB / 0.5323 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/0.3551, allocations: 292.9 kB / 0.5326 GB, free: 30.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009421/0.3646, allocations: 8.802 MB / 0.5412 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002039/0.3666, allocations: 133.5 kB / 0.5413 GB, free: 23.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/0.3669, allocations: 71.09 kB / 0.5414 GB, free: 23.11 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.003192/0.3701, allocations: 1.216 MB / 0.5426 GB, free: 22.42 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002152/0.3723, allocations: 1.064 MB / 0.5436 GB, free: 21.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0145/0.3868, allocations: 3.489 MB / 0.547 GB, free: 17.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.682e-05/0.3869, allocations: 5.016 kB / 0.547 GB, free: 17.92 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.006629/0.3935, allocations: 2.47 MB / 0.5495 GB, free: 15.4 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.987e-05/0.3936, allocations: 37.7 kB / 0.5495 GB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.3936, allocations: 8 kB / 0.5495 GB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001931/0.3956, allocations: 0.5077 MB / 0.55 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001923/0.3975, allocations: 279.6 kB / 0.5503 GB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009231/0.4068, allocations: 8.81 MB / 0.5589 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/0.4088, allocations: 133.7 kB / 0.559 GB, free: 5.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002736/0.4091, allocations: 55.92 kB / 0.559 GB, free: 5.027 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.0004851/0.4096, allocations: 298.4 kB / 0.5593 GB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003402/0.41, allocations: 143.1 kB / 0.5595 GB, free: 4.598 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003397/0.4134, allocations: 2.194 MB / 0.5616 GB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.729e-06/0.4134, allocations: 12 kB / 0.5616 GB, free: 2.352 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/0.4134, allocations: 4 kB / 0.5616 GB, free: 2.348 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.948e-06/0.4134, allocations: 3.984 kB / 0.5616 GB, free: 2.344 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007788/0.4212, allocations: 4.593 MB / 0.5661 GB, free: 13.65 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.291e-05/0.4213, allocations: 4 kB / 0.5661 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008829/0.4222, allocations: 199.7 kB / 0.5663 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001338/0.4235, allocations: 0.5158 MB / 0.5668 GB, free: 12.92 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.4237, allocations: 39.92 kB / 0.5669 GB, free: 12.88 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008183/0.4318, allocations: 8.617 MB / 0.5753 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.4319, allocations: 7.938 kB / 0.5753 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005771/0.4377, allocations: 3.227 MB / 0.5784 GB, free: 408 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008923/0.4386, allocations: 364.1 kB / 0.5788 GB, free: 24 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004293/0.439, allocations: 40.03 kB / 0.5788 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/0.4402, allocations: 107.8 kB / 0.5789 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003027/0.4406, allocations: 104.8 kB / 0.579 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.4407, allocations: 43.92 kB / 0.5791 GB, free: 15.73 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001351/0.442, allocations: 0.7979 MB / 0.5798 GB, free: 14.93 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4421, allocations: 0 / 0.5798 GB, free: 14.93 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.003145/0.4452, allocations: 0.7499 MB / 0.5806 GB, free: 14.18 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.006119/0.4513, allocations: 3.856 MB / 0.5843 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01044/0.4618, allocations: 6.682 MB / 0.5909 GB, free: 3.297 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.4618, allocations: 3.938 kB / 0.5909 GB, free: 3.293 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004129/0.466, allocations: 2.838 MB / 0.5936 GB, free: 364 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002194/0.4682, allocations: 380.6 kB / 0.594 GB, free: 15.98 MB / 430.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.01936/0.4876, allocations: 12.11 MB / 0.6058 GB, free: 3.422 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001621/0.4892, allocations: 1.746 MB / 0.6075 GB, free: 1.641 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001305/0.4905, allocations: 411.6 kB / 0.6079 GB, free: 1.234 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/0.4916, allocations: 0.7843 MB / 0.6087 GB, free: 460 kB / 430.1 MB Notification: Performance of SimCode: time 8.41e-07/0.4916, allocations: 0 / 0.6087 GB, free: 460 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09179/0.5834, allocations: 47.76 MB / 0.6553 GB, free: 1.078 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.54, allocations: 3.938 kB / 0.6553 GB, free: 1.074 MB / 478.1 MB (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.sim & python3 -m fmpy simulate --output-file EHPTexamples_latest_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_latest_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)