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.04588/0.04588, allocations: 8.035 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.000974/0.000974, allocations: 112.6 kB / 26.26 MB, free: 3.16 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.001164/0.001164, allocations: 198.6 kB / 28.95 MB, free: 492 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.317/1.317, 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 main/package.mo): time 0.01283/0.01283, allocations: 3.12 MB / 309.4 MB, free: 2.32 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001699, allocations: 92.28 kB / 426.4 MB, free: 18.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08268/0.08439, allocations: 51.96 MB / 478.4 MB, free: 14.05 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.01041/0.09484, allocations: 9.073 MB / 487.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004603/0.09946, allocations: 2.556 MB / 490 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007098/0.1002, allocations: 47.81 kB / 490.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.1012, allocations: 472.7 kB / 490.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001811/0.1031, allocations: 0.6832 MB / 491.2 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1041, allocations: 0.4949 MB / 491.7 MB, free: 0.6797 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.002758/0.1069, allocations: 2.475 MB / 494.2 MB, free: 14.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002312/0.1092, allocations: 2.041 MB / 496.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001475/0.1107, allocations: 1.098 MB / 497.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.1123, allocations: 1.327 MB / 498.6 MB, free: 9.648 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000364/0.1127, allocations: 296 kB / 498.9 MB, free: 9.359 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006683/0.1134, allocations: 387.8 kB / 499.3 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000721/0.1141, allocations: 0.7792 MB / 0.4884 GB, free: 8.199 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001317/0.1154, allocations: 1.283 MB / 0.4896 GB, free: 6.91 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00366/0.1191, allocations: 3.745 MB / 0.4933 GB, free: 3.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.1191, allocations: 0 / 0.4933 GB, free: 3.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.1191, allocations: 0 / 0.4933 GB, free: 3.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.58e-05/0.1192, allocations: 0 / 0.4933 GB, free: 3.152 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.005365/0.1246, allocations: 2.764 MB / 0.496 GB, free: 324 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.1246, allocations: 12.03 kB / 0.496 GB, free: 312 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003578/0.125, allocations: 295.6 kB / 0.4963 GB, free: 4 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007056/0.1257, allocations: 275.4 kB / 0.4965 GB, free: 15.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002526/0.1282, allocations: 1.33 MB / 0.4978 GB, free: 14.36 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.0002755/0.1285, allocations: 223.4 kB / 0.498 GB, free: 14.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003287/0.1289, allocations: 204 kB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004498/0.1334, allocations: 2.694 MB / 0.5009 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.63e-05/0.1334, allocations: 7.953 kB / 0.5009 GB, free: 11.13 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/0.1336, allocations: 95.98 kB / 0.501 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.655e-05/0.1337, allocations: 95.97 kB / 0.5011 GB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003896/0.1376, allocations: 2.202 MB / 0.5032 GB, free: 8.742 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01203/0.1497, allocations: 7.893 MB / 0.5109 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1884/0.3381, allocations: 1.571 MB / 0.5124 GB, free: 39.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00205/0.3402, allocations: 0.9379 MB / 0.5134 GB, free: 39.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002202/0.3405, allocations: 124.9 kB / 0.5135 GB, free: 39.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001293/0.3418, allocations: 0.771 MB / 0.5142 GB, free: 39.12 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 3.206e-06/0.3418, allocations: 0 / 0.5142 GB, free: 39.12 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01436/0.3562, allocations: 6.663 MB / 0.5207 GB, free: 36.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.901e-05/0.3563, allocations: 250.8 kB / 0.521 GB, free: 36.42 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.001853/0.3581, allocations: 1.172 MB / 0.5221 GB, free: 35.95 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.783e-05/0.3582, allocations: 46.73 kB / 0.5222 GB, free: 35.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006886/0.3589, allocations: 0.9401 MB / 0.5231 GB, free: 35.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/0.3592, allocations: 427.8 kB / 0.5235 GB, free: 35.02 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004364/0.3597, allocations: 255.2 kB / 0.5237 GB, free: 34.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.785e-05/0.3598, allocations: 364.4 kB / 0.5241 GB, free: 34.56 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001301/0.3611, allocations: 0.7019 MB / 0.5248 GB, free: 34.31 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001428/0.3625, allocations: 1.094 MB / 0.5258 GB, free: 33.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008522/0.3711, allocations: 3.55 MB / 0.5293 GB, free: 32.07 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-05/0.3711, allocations: 2.75 kB / 0.5293 GB, free: 32.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00419/0.3753, allocations: 2.517 MB / 0.5318 GB, free: 31 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.3754, allocations: 35.45 kB / 0.5318 GB, free: 30.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.3754, allocations: 14.06 kB / 0.5318 GB, free: 30.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/0.3765, allocations: 0.5022 MB / 0.5323 GB, free: 30.81 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.3775, allocations: 295.1 kB / 0.5326 GB, free: 30.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006157/0.3837, allocations: 8.799 MB / 0.5412 GB, free: 23.24 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.3852, allocations: 133.1 kB / 0.5413 GB, free: 23.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.967e-05/0.3853, allocations: 67.64 kB / 0.5414 GB, free: 23.16 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.001926/0.3872, allocations: 1.224 MB / 0.5426 GB, free: 22.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001121/0.3884, allocations: 1.068 MB / 0.5436 GB, free: 21.64 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007508/0.3959, allocations: 3.479 MB / 0.547 GB, free: 18.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.092e-05/0.3959, allocations: 4 kB / 0.547 GB, free: 18.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.003601/0.3995, allocations: 2.469 MB / 0.5494 GB, free: 15.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.924e-05/0.3996, allocations: 41.45 kB / 0.5495 GB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.3996, allocations: 8 kB / 0.5495 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009736/0.4006, allocations: 0.5155 MB / 0.55 GB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009575/0.4015, allocations: 279.5 kB / 0.5502 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005873/0.4074, allocations: 8.803 MB / 0.5588 GB, free: 5.309 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/0.4089, allocations: 135.9 kB / 0.559 GB, free: 5.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.179e-05/0.409, allocations: 59.92 kB / 0.559 GB, free: 5.117 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.0004332/0.4095, allocations: 294.3 kB / 0.5593 GB, free: 4.832 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.4097, allocations: 143.1 kB / 0.5594 GB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003412/0.4131, allocations: 2.191 MB / 0.5616 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.4132, allocations: 12 kB / 0.5616 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/0.4132, allocations: 14.19 kB / 0.5616 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.4132, allocations: 7.984 kB / 0.5616 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006947/0.4201, allocations: 4.584 MB / 0.5661 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.065e-06/0.4202, allocations: 4 kB / 0.5661 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008694/0.421, allocations: 196.2 kB / 0.5663 GB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001362/0.4224, allocations: 0.5192 MB / 0.5668 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-05/0.4225, allocations: 31.98 kB / 0.5668 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007967/0.4305, allocations: 8.62 MB / 0.5752 GB, free: 3.82 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/0.4305, allocations: 7.938 kB / 0.5752 GB, free: 3.812 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00555/0.4361, allocations: 3.228 MB / 0.5784 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007937/0.4369, allocations: 364.1 kB / 0.5787 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002305/0.4371, allocations: 35.98 kB / 0.5788 GB, free: 84 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00103/0.4382, allocations: 99.88 kB / 0.5789 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002569/0.4384, allocations: 112.7 kB / 0.579 GB, free: 15.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.103e-05/0.4385, allocations: 43.98 kB / 0.579 GB, free: 15.83 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001145/0.4397, allocations: 0.7939 MB / 0.5798 GB, free: 15.03 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4397, allocations: 0 / 0.5798 GB, free: 15.03 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002552/0.4422, allocations: 0.7499 MB / 0.5805 GB, free: 14.28 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.005834/0.4481, allocations: 3.875 MB / 0.5843 GB, free: 10.3 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01082/0.4589, allocations: 6.674 MB / 0.5908 GB, free: 3.391 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.286e-06/0.4589, allocations: 0 / 0.5908 GB, free: 3.391 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004604/0.4636, allocations: 2.845 MB / 0.5936 GB, free: 452 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/0.4656, allocations: 381.2 kB / 0.594 GB, free: 80 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.01917/0.4848, allocations: 12.1 MB / 0.6058 GB, free: 3.52 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001788/0.4866, allocations: 1.746 MB / 0.6075 GB, free: 1.738 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00148/0.4881, allocations: 415.5 kB / 0.6079 GB, free: 1.328 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001034/0.4891, allocations: 0.7883 MB / 0.6087 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4892, allocations: 0 / 0.6087 GB, free: 0.5391 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09466/0.5838, allocations: 47.77 MB / 0.6553 GB, free: 1.168 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/12.89, allocations: 3.938 kB / 0.6553 GB, free: 1.164 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)