Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.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.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTexamples.ElectricDrives.wFollowing,fileNamePrefix="EHPTexamples_EHPTexamples_ElectricDrives_wFollowing",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.06759/0.06759, allocations: 8.028 MB / 23.66 MB, free: 188 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.001134/0.001134, allocations: 112.5 kB / 26.26 MB, free: 3.148 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.001392/0.001392, allocations: 195.2 kB / 28.95 MB, free: 480 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.352/1.352, allocations: 222.9 MB / 254.4 MB, free: 4.668 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01305/0.01305, allocations: 3.125 MB / 309.4 MB, free: 2.301 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001723, allocations: 91.84 kB / 426.4 MB, free: 17.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1018, allocations: 51.97 MB / 478.4 MB, free: 13.91 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:17:3-19:67:writable] Warning: Parameter aimc.alpha20s has no value, and is fixed during initialization (fixed=true), using available start value (start=0) 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:39:3-41:67:writable] Warning: Parameter aimc.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) 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.wFollowing): time 0.01108/0.1129, allocations: 9.177 MB / 487.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005925/0.1188, allocations: 2.645 MB / 490.2 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001188/0.12, allocations: 47.81 kB / 490.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001312/0.1214, allocations: 468.7 kB / 490.7 MB, free: 1.535 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001998/0.1234, allocations: 0.6872 MB / 491.4 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00123/0.1246, allocations: 0.5027 MB / 491.9 MB, free: 352 kB / 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.002745/0.1274, allocations: 2.495 MB / 494.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002439/0.1298, allocations: 2.053 MB / 496.4 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001828/0.1317, allocations: 1.11 MB / 497.6 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001683/0.1334, allocations: 1.331 MB / 498.9 MB, free: 9.266 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005282/0.1339, allocations: 304 kB / 499.2 MB, free: 8.969 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006448/0.1345, allocations: 395.8 kB / 499.6 MB, free: 8.582 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008222/0.1354, allocations: 0.7986 MB / 0.4886 GB, free: 7.781 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001319/0.1367, allocations: 1.291 MB / 0.4899 GB, free: 6.484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004174/0.1409, allocations: 3.76 MB / 0.4936 GB, free: 2.711 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.606e-06/0.1409, allocations: 4 kB / 0.4936 GB, free: 2.707 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.141, allocations: 4 kB / 0.4936 GB, free: 2.703 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.725e-05/0.141, allocations: 0 / 0.4936 GB, free: 2.703 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: 537 * Number of variables: 537 Notification: Performance of Generate backend data structure: time 0.005917/0.1469, allocations: 2.768 MB / 0.4963 GB, free: 15.86 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001213/0.1471, allocations: 8.031 kB / 0.4963 GB, free: 15.86 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003642/0.1474, allocations: 307.8 kB / 0.4966 GB, free: 15.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008091/0.1483, allocations: 283.3 kB / 0.4969 GB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002555/0.1509, allocations: 1.338 MB / 0.4982 GB, free: 13.88 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.0002423/0.1511, allocations: 223.5 kB / 0.4984 GB, free: 13.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003228/0.1515, allocations: 208 kB / 0.4986 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004711/0.1562, allocations: 2.719 MB / 0.5012 GB, free: 10.63 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.738e-05/0.1562, allocations: 7.953 kB / 0.5012 GB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/0.1564, allocations: 84 kB / 0.5013 GB, free: 10.54 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/0.1566, allocations: 96.02 kB / 0.5014 GB, free: 10.44 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004031/0.1607, allocations: 2.229 MB / 0.5036 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01284/0.1735, allocations: 7.933 MB / 0.5113 GB, free: 28 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2574/0.431, allocations: 1.605 MB / 0.5129 GB, free: 40.01 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00214/0.4331, allocations: 0.9528 MB / 0.5138 GB, free: 39.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002209/0.4334, allocations: 122.9 kB / 0.5139 GB, free: 39.69 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001462/0.4349, allocations: 0.7755 MB / 0.5147 GB, free: 39.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 4.308e-06/0.4349, allocations: 0 / 0.5147 GB, free: 39.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01606/0.4509, allocations: 6.726 MB / 0.5213 GB, free: 36.89 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.945e-05/0.4511, allocations: 246.4 kB / 0.5215 GB, free: 36.6 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.002005/0.4531, allocations: 1.173 MB / 0.5227 GB, free: 36.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.362e-05/0.4532, allocations: 55.33 kB / 0.5227 GB, free: 36.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007438/0.4539, allocations: 0.9471 MB / 0.5236 GB, free: 35.47 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/0.4543, allocations: 438.5 kB / 0.524 GB, free: 35.18 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004602/0.4547, allocations: 253.9 kB / 0.5243 GB, free: 35.06 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.455, allocations: 365.2 kB / 0.5246 GB, free: 34.73 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001328/0.4563, allocations: 0.712 MB / 0.5253 GB, free: 34.48 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001613/0.4579, allocations: 1.096 MB / 0.5264 GB, free: 33.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008709/0.4666, allocations: 3.584 MB / 0.5299 GB, free: 32.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/0.4667, allocations: 2.75 kB / 0.5299 GB, free: 32.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004407/0.4711, allocations: 2.529 MB / 0.5324 GB, free: 31.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.108e-05/0.4711, allocations: 45.28 kB / 0.5324 GB, free: 31.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.685e-05/0.4712, allocations: 7.906 kB / 0.5324 GB, free: 31.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.4723, allocations: 0.4966 MB / 0.5329 GB, free: 30.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009798/0.4733, allocations: 289.5 kB / 0.5332 GB, free: 30.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00661/0.4799, allocations: 8.813 MB / 0.5418 GB, free: 23.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001652/0.4816, allocations: 125.6 kB / 0.5419 GB, free: 23.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.4817, allocations: 56.86 kB / 0.542 GB, free: 23.18 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.002137/0.4838, allocations: 1.239 MB / 0.5432 GB, free: 22.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001215/0.4851, allocations: 1.08 MB / 0.5442 GB, free: 21.01 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007313/0.4924, allocations: 3.512 MB / 0.5477 GB, free: 17.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.885e-06/0.4924, allocations: 0 / 0.5477 GB, free: 17.34 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003745/0.4962, allocations: 2.499 MB / 0.5501 GB, free: 14.8 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.4962, allocations: 39.58 kB / 0.5501 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.4962, allocations: 8 kB / 0.5501 GB, free: 14.75 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/0.4973, allocations: 0.5027 MB / 0.5506 GB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009663/0.4983, allocations: 283.6 kB / 0.5509 GB, free: 13.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006052/0.5043, allocations: 8.797 MB / 0.5595 GB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.5059, allocations: 139.9 kB / 0.5596 GB, free: 4.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.187e-05/0.506, allocations: 59.98 kB / 0.5597 GB, free: 4.422 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.wReq.count,$PRE.wReq.T_start,wReq.count,wReq.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 (150): * Single equations (assignments): 143 * 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.0004051/0.5064, allocations: 292.1 kB / 0.56 GB, free: 4.133 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003675/0.5067, allocations: 151.1 kB / 0.5601 GB, free: 3.984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00343/0.5102, allocations: 2.207 MB / 0.5623 GB, free: 1.73 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.616e-06/0.5102, allocations: 12 kB / 0.5623 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.5102, allocations: 4 kB / 0.5623 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.5102, allocations: 7.984 kB / 0.5623 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007698/0.5179, allocations: 4.619 MB / 0.5668 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/0.518, allocations: 4 kB / 0.5668 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008456/0.5188, allocations: 203.7 kB / 0.567 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001462/0.5203, allocations: 0.5325 MB / 0.5675 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-05/0.5204, allocations: 31.98 kB / 0.5676 GB, free: 12.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008246/0.5287, allocations: 8.623 MB / 0.576 GB, free: 3.047 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.5287, allocations: 7.938 kB / 0.576 GB, free: 3.039 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00565/0.5344, allocations: 3.244 MB / 0.5791 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009403/0.5353, allocations: 368.1 kB / 0.5795 GB, free: 15.32 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002058/0.5355, allocations: 39.92 kB / 0.5795 GB, free: 15.28 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/0.5367, allocations: 99.89 kB / 0.5796 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000264/0.5369, allocations: 116.7 kB / 0.5797 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.631e-05/0.537, allocations: 43.48 kB / 0.5798 GB, free: 15.02 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001191/0.5382, allocations: 0.8019 MB / 0.5806 GB, free: 14.21 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5382, allocations: 0 / 0.5806 GB, free: 14.21 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00264/0.5409, allocations: 0.7461 MB / 0.5813 GB, free: 13.47 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,wReq.T_start,wReq.count) * Number of discrete states: 1 (wReq.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 93 * 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.006017/0.5469, allocations: 3.892 MB / 0.5851 GB, free: 9.477 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01103/0.5579, allocations: 6.697 MB / 0.5916 GB, free: 2.543 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.096e-05/0.558, allocations: 8.312 kB / 0.5916 GB, free: 2.535 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004922/0.5629, allocations: 2.845 MB / 0.5944 GB, free: 15.58 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/0.5653, allocations: 389.2 kB / 0.5948 GB, free: 15.21 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.02013/0.5854, allocations: 12.18 MB / 0.6067 GB, free: 2.566 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/0.5872, allocations: 1.75 MB / 0.6084 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001327/0.5886, allocations: 413 kB / 0.6088 GB, free: 392 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001254/0.5898, allocations: 0.7927 MB / 0.6096 GB, free: 15.62 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5899, allocations: 0 / 0.6096 GB, free: 15.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1357/0.7255, allocations: 47.97 MB / 0.6564 GB, free: 24 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/14.82, allocations: 6.719 kB / 0.6564 GB, free: 24 kB / 478.1 MB (rm -f EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe ; mkfifo EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe ; head -c 1048576 < EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe >> ../files/EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.sim & python3 -m fmpy simulate --output-file EHPTexamples_EHPTexamples.ElectricDrives.wFollowing_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_wFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1)