Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Running command: "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.tqFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.05721/0.05721, allocations: 8.03 MB / 23.67 MB, free: 208 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.000959/0.0009591, allocations: 113.2 kB / 26.26 MB, free: 3.18 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.00104/0.00104, allocations: 199.2 kB / 28.94 MB, free: 0.5 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.258/1.258, allocations: 222.9 MB / 254.4 MB, free: 4.684 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01942/0.01942, allocations: 3.125 MB / 309.4 MB, free: 2.324 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001689/0.001689, allocations: 91.84 kB / 426.4 MB, free: 18.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07851/0.08021, allocations: 51.97 MB / 478.4 MB, free: 14.16 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.01009/0.09033, allocations: 9.054 MB / 487.4 MB, free: 5.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004573/0.09492, allocations: 2.56 MB / 490 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001078/0.09602, allocations: 51.81 kB / 490 MB, free: 2.441 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001186/0.09722, allocations: 472.7 kB / 490.5 MB, free: 1.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001871/0.0991, allocations: 0.6911 MB / 491.2 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001024/0.1001, allocations: 0.4902 MB / 491.7 MB, free: 0.793 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.002351/0.1025, allocations: 2.475 MB / 494.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001967/0.1045, allocations: 2.045 MB / 496.2 MB, free: 12.19 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001138/0.1056, allocations: 1.102 MB / 497.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001313/0.1069, allocations: 1.327 MB / 498.6 MB, free: 9.754 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000354/0.1073, allocations: 304 kB / 498.9 MB, free: 9.457 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006089/0.1079, allocations: 383.8 kB / 499.3 MB, free: 9.082 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00065/0.1086, allocations: 0.7792 MB / 0.4884 GB, free: 8.301 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.1097, allocations: 1.283 MB / 0.4896 GB, free: 7.012 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003244/0.1129, allocations: 3.737 MB / 0.4933 GB, free: 3.262 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1129, allocations: 4 kB / 0.4933 GB, free: 3.258 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.113, allocations: 0 / 0.4933 GB, free: 3.258 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.127e-05/0.113, allocations: 0 / 0.4933 GB, free: 3.258 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.004882/0.1179, allocations: 2.76 MB / 0.496 GB, free: 436 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.66e-05/0.1179, allocations: 12.03 kB / 0.496 GB, free: 424 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003411/0.1183, allocations: 299.6 kB / 0.4963 GB, free: 112 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006373/0.1189, allocations: 275.4 kB / 0.4965 GB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/0.1212, allocations: 1.33 MB / 0.4978 GB, free: 14.46 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.0002247/0.1214, allocations: 218 kB / 0.498 GB, free: 14.24 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002975/0.1217, allocations: 211.9 kB / 0.4982 GB, free: 14.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004164/0.1259, allocations: 2.691 MB / 0.5009 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.362e-05/0.1259, allocations: 3.953 kB / 0.5009 GB, free: 11.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/0.1261, allocations: 87.98 kB / 0.501 GB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001003/0.1262, allocations: 99.98 kB / 0.5011 GB, free: 11.06 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003698/0.13, allocations: 2.209 MB / 0.5032 GB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01134/0.1413, allocations: 7.889 MB / 0.5109 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1733/0.3147, allocations: 1.58 MB / 0.5125 GB, free: 39.35 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002087/0.3168, allocations: 0.9413 MB / 0.5134 GB, free: 39.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002607/0.3171, allocations: 123.4 kB / 0.5135 GB, free: 39.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001325/0.3184, allocations: 0.7712 MB / 0.5142 GB, free: 39.11 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.617e-06/0.3184, allocations: 0 / 0.5142 GB, free: 39.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01398/0.3324, allocations: 6.662 MB / 0.5208 GB, free: 36.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/0.3325, allocations: 254.1 kB / 0.521 GB, free: 36.38 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.00171/0.3342, allocations: 1.166 MB / 0.5221 GB, free: 35.91 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 7.718e-05/0.3343, allocations: 48.17 kB / 0.5222 GB, free: 35.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005878/0.3349, allocations: 0.9378 MB / 0.5231 GB, free: 35.25 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002479/0.3352, allocations: 426.2 kB / 0.5235 GB, free: 34.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003912/0.3356, allocations: 250.9 kB / 0.5237 GB, free: 34.86 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.83e-05/0.3356, allocations: 360 kB / 0.5241 GB, free: 34.53 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001182/0.3368, allocations: 0.7132 MB / 0.5248 GB, free: 34.27 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001315/0.3382, allocations: 1.088 MB / 0.5258 GB, free: 33.57 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008035/0.3462, allocations: 3.55 MB / 0.5293 GB, free: 32.04 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/0.3462, allocations: 2.312 kB / 0.5293 GB, free: 32.04 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003839/0.3501, allocations: 2.523 MB / 0.5318 GB, free: 30.96 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.3501, allocations: 43.39 kB / 0.5318 GB, free: 30.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.3501, allocations: 11.19 kB / 0.5318 GB, free: 30.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001013/0.3512, allocations: 0.4964 MB / 0.5323 GB, free: 30.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009645/0.3521, allocations: 288.9 kB / 0.5326 GB, free: 30.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005724/0.3579, allocations: 8.809 MB / 0.5412 GB, free: 23.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001147/0.359, allocations: 131 kB / 0.5413 GB, free: 23.17 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.614e-05/0.3591, allocations: 61.27 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.001647/0.3608, allocations: 1.226 MB / 0.5426 GB, free: 22.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001042/0.3618, allocations: 1.062 MB / 0.5436 GB, free: 21.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006971/0.3688, allocations: 3.483 MB / 0.547 GB, free: 18.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.079e-06/0.3688, allocations: 4 kB / 0.547 GB, free: 18.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.003295/0.3721, allocations: 2.473 MB / 0.5494 GB, free: 15.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.3722, allocations: 39.11 kB / 0.5495 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.3722, allocations: 8 kB / 0.5495 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009221/0.3731, allocations: 0.5153 MB / 0.55 GB, free: 15.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009061/0.374, allocations: 283.6 kB / 0.5502 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005496/0.3795, allocations: 8.802 MB / 0.5588 GB, free: 5.406 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.3807, allocations: 135.9 kB / 0.559 GB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.089e-05/0.3808, allocations: 59.92 kB / 0.559 GB, free: 5.215 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.0003222/0.3811, allocations: 288.9 kB / 0.5593 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001882/0.3813, allocations: 143.1 kB / 0.5594 GB, free: 4.789 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003226/0.3846, allocations: 2.191 MB / 0.5616 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.3846, allocations: 12 kB / 0.5616 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.3846, allocations: 4 kB / 0.5616 GB, free: 2.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.3846, allocations: 7.984 kB / 0.5616 GB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006608/0.3912, allocations: 4.591 MB / 0.5661 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.3913, allocations: 4 kB / 0.5661 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008446/0.3921, allocations: 196.1 kB / 0.5663 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001257/0.3934, allocations: 0.5191 MB / 0.5668 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.111e-05/0.3935, allocations: 36.11 kB / 0.5668 GB, free: 13.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007517/0.401, allocations: 8.62 MB / 0.5752 GB, free: 3.91 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.401, allocations: 7.938 kB / 0.5752 GB, free: 3.902 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005129/0.4062, allocations: 3.224 MB / 0.5784 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007623/0.4069, allocations: 368.1 kB / 0.5787 GB, free: 212 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.4071, allocations: 39.94 kB / 0.5788 GB, free: 172 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009434/0.4081, allocations: 100.9 kB / 0.5789 GB, free: 72 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002551/0.4083, allocations: 108.7 kB / 0.579 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.291e-05/0.4084, allocations: 39.98 kB / 0.579 GB, free: 15.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00106/0.4095, allocations: 0.7979 MB / 0.5798 GB, free: 15.12 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4095, allocations: 0 / 0.5798 GB, free: 15.12 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002286/0.4118, allocations: 0.7499 MB / 0.5805 GB, free: 14.37 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.005497/0.4173, allocations: 3.867 MB / 0.5843 GB, free: 10.4 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009744/0.4271, allocations: 6.681 MB / 0.5908 GB, free: 3.484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/0.4271, allocations: 0 / 0.5908 GB, free: 3.484 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004193/0.4313, allocations: 2.838 MB / 0.5936 GB, free: 0.543 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.4331, allocations: 380.7 kB / 0.594 GB, free: 180 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.0177/0.4509, allocations: 12.11 MB / 0.6058 GB, free: 3.609 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001354/0.4522, allocations: 1.738 MB / 0.6075 GB, free: 1.836 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001131/0.4534, allocations: 411.6 kB / 0.6079 GB, free: 1.43 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009251/0.4543, allocations: 0.7844 MB / 0.6086 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.4543, allocations: 0 / 0.6086 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08523/0.5396, allocations: 47.77 MB / 0.6553 GB, free: 1.266 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.49/13.03, allocations: 4 kB / 0.6553 GB, free: 1.262 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)