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.04946/0.04946, allocations: 8.037 MB / 23.67 MB, free: 0.5625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000937/0.000937, allocations: 105.4 kB / 26.26 MB, free: 3.363 MB / 19.63 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 187.5 kB / 28.94 MB, free: 0.6875 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.229/1.229, allocations: 222.9 MB / 254.4 MB, free: 4.691 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01202/0.01202, allocations: 3.132 MB / 309.4 MB, free: 2.336 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001614/0.001614, allocations: 99.84 kB / 426.4 MB, free: 18.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08321/0.08483, allocations: 51.97 MB / 478.4 MB, free: 14.06 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.009995/0.09487, allocations: 9.173 MB / 487.6 MB, free: 4.844 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004665/0.09955, allocations: 2.642 MB / 490.2 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007385/0.1003, allocations: 47.81 kB / 490.2 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009741/0.1013, allocations: 473.8 kB / 490.7 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001392/0.1027, allocations: 0.6794 MB / 491.4 MB, free: 1 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008587/0.1036, allocations: 0.5026 MB / 491.9 MB, free: 0.5 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.002139/0.1057, allocations: 2.503 MB / 494.4 MB, free: 13.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001971/0.1077, allocations: 2.053 MB / 496.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001181/0.1089, allocations: 1.11 MB / 497.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001332/0.1102, allocations: 1.335 MB / 498.9 MB, free: 9.41 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000349/0.1106, allocations: 300 kB / 499.2 MB, free: 9.117 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006095/0.1112, allocations: 391.8 kB / 499.6 MB, free: 8.734 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006632/0.1119, allocations: 0.7948 MB / 0.4886 GB, free: 7.938 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001153/0.113, allocations: 1.295 MB / 0.4899 GB, free: 6.637 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002929/0.116, allocations: 3.758 MB / 0.4936 GB, free: 2.867 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.116, allocations: 0 / 0.4936 GB, free: 2.867 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.116, allocations: 0 / 0.4936 GB, free: 2.867 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.017e-05/0.116, allocations: 0 / 0.4936 GB, free: 2.867 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.004414/0.1204, allocations: 2.713 MB / 0.4962 GB, free: 88 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1205, allocations: 12.03 kB / 0.4962 GB, free: 76 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003269/0.1208, allocations: 299.8 kB / 0.4965 GB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006052/0.1214, allocations: 274 kB / 0.4968 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.1233, allocations: 1.333 MB / 0.4981 GB, free: 14.12 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.0002125/0.1235, allocations: 227.5 kB / 0.4983 GB, free: 13.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002721/0.1238, allocations: 207.9 kB / 0.4985 GB, free: 13.68 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00386/0.1276, allocations: 2.715 MB / 0.5011 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.892e-05/0.1277, allocations: 0 / 0.5011 GB, free: 10.87 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/0.1279, allocations: 88 kB / 0.5012 GB, free: 10.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.552e-05/0.128, allocations: 100 kB / 0.5013 GB, free: 10.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003581/0.1316, allocations: 2.221 MB / 0.5035 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01063/0.1422, allocations: 7.911 MB / 0.5112 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1937/0.3359, allocations: 1.607 MB / 0.5128 GB, free: 39.49 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.3376, allocations: 0.9538 MB / 0.5137 GB, free: 39.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002033/0.3378, allocations: 119.8 kB / 0.5138 GB, free: 39.38 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001132/0.339, allocations: 0.7805 MB / 0.5146 GB, free: 39.18 MB / 382.1 MB Notification: Performance of pre-optimization done (n=103): time 2.525e-06/0.339, allocations: 0 / 0.5146 GB, free: 39.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01292/0.3519, allocations: 6.667 MB / 0.5211 GB, free: 36.7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.32e-05/0.352, allocations: 254.7 kB / 0.5213 GB, free: 36.41 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.001526/0.3536, allocations: 1.166 MB / 0.5225 GB, free: 35.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.802e-05/0.3536, allocations: 47.55 kB / 0.5225 GB, free: 35.89 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005857/0.3542, allocations: 0.9254 MB / 0.5234 GB, free: 35.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002432/0.3545, allocations: 421.4 kB / 0.5238 GB, free: 34.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003764/0.3549, allocations: 253.1 kB / 0.5241 GB, free: 34.74 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.148e-05/0.3549, allocations: 364.8 kB / 0.5244 GB, free: 34.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001116/0.3561, allocations: 0.7126 MB / 0.5251 GB, free: 34.15 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001248/0.3573, allocations: 1.1 MB / 0.5262 GB, free: 33.44 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007526/0.3649, allocations: 3.577 MB / 0.5297 GB, free: 31.89 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.3649, allocations: 2.75 kB / 0.5297 GB, free: 31.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003685/0.3686, allocations: 2.532 MB / 0.5322 GB, free: 30.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.083e-05/0.3686, allocations: 37.25 kB / 0.5322 GB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.3686, allocations: 11.75 kB / 0.5322 GB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009238/0.3696, allocations: 0.498 MB / 0.5327 GB, free: 30.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009065/0.3705, allocations: 303.8 kB / 0.533 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005658/0.3762, allocations: 8.786 MB / 0.5416 GB, free: 23.01 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.3773, allocations: 134.1 kB / 0.5417 GB, free: 22.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-05/0.3774, allocations: 64.77 kB / 0.5418 GB, free: 22.92 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.001586/0.379, allocations: 1.221 MB / 0.5429 GB, free: 22.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009746/0.38, allocations: 1.086 MB / 0.544 GB, free: 21.05 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006632/0.3866, allocations: 3.505 MB / 0.5474 GB, free: 17.39 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.715e-06/0.3866, allocations: 4 kB / 0.5474 GB, free: 17.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=175) (initialization_lambda0): time 0.003166/0.3898, allocations: 2.486 MB / 0.5499 GB, free: 14.85 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.3898, allocations: 33.7 kB / 0.5499 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.3899, allocations: 12 kB / 0.5499 GB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008771/0.3907, allocations: 0.5064 MB / 0.5504 GB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008453/0.3916, allocations: 295.5 kB / 0.5507 GB, free: 14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005295/0.3969, allocations: 8.794 MB / 0.5593 GB, free: 4.676 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.3981, allocations: 135.8 kB / 0.5594 GB, free: 4.543 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.419e-05/0.3982, allocations: 60.06 kB / 0.5595 GB, free: 4.484 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.0003599/0.3985, allocations: 289.9 kB / 0.5597 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000191/0.3987, allocations: 138.3 kB / 0.5599 GB, free: 4.066 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002996/0.4017, allocations: 2.209 MB / 0.562 GB, free: 1.812 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.183e-06/0.4017, allocations: 12 kB / 0.562 GB, free: 1.801 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.4018, allocations: 7.984 kB / 0.562 GB, free: 1.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.4018, allocations: 3.984 kB / 0.562 GB, free: 1.789 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006405/0.4082, allocations: 4.624 MB / 0.5666 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.786e-06/0.4082, allocations: 4 kB / 0.5666 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007828/0.409, allocations: 197.2 kB / 0.5668 GB, free: 12.87 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001215/0.4102, allocations: 0.5233 MB / 0.5673 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.085e-05/0.4103, allocations: 40.09 kB / 0.5673 GB, free: 12.3 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007236/0.4176, allocations: 8.617 MB / 0.5757 GB, free: 3.148 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/0.4176, allocations: 7.938 kB / 0.5757 GB, free: 3.141 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004841/0.4224, allocations: 3.247 MB / 0.5789 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006201/0.4231, allocations: 363.3 kB / 0.5792 GB, free: 15.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001803/0.4233, allocations: 36 kB / 0.5793 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008597/0.4241, allocations: 101.4 kB / 0.5794 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/0.4244, allocations: 116.7 kB / 0.5795 GB, free: 15.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.848e-05/0.4245, allocations: 39.98 kB / 0.5795 GB, free: 15.13 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001041/0.4255, allocations: 0.8019 MB / 0.5803 GB, free: 14.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 2e-07/0.4255, allocations: 0 / 0.5803 GB, free: 14.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002255/0.4278, allocations: 0.7526 MB / 0.581 GB, free: 13.57 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.005112/0.4329, allocations: 3.868 MB / 0.5848 GB, free: 9.602 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009412/0.4423, allocations: 6.715 MB / 0.5914 GB, free: 2.664 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.011e-06/0.4424, allocations: 0 / 0.5914 GB, free: 2.664 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003884/0.4462, allocations: 2.846 MB / 0.5942 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/0.4479, allocations: 379.7 kB / 0.5945 GB, free: 15.35 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.01664/0.4646, allocations: 12.12 MB / 0.6063 GB, free: 2.793 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/0.4659, allocations: 1.742 MB / 0.608 GB, free: 1.023 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001077/0.467, allocations: 415.6 kB / 0.6084 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009795/0.468, allocations: 0.8019 MB / 0.6092 GB, free: 15.85 MB / 446.1 MB Notification: Performance of SimCode: time 1.012e-06/0.468, allocations: 0 / 0.6092 GB, free: 15.85 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09178/0.5598, allocations: 47.96 MB / 0.6561 GB, free: 276 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.52/12.08, allocations: 4.062 kB / 0.6561 GB, free: 272 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_wFollowing_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=0.0001 EHPTexamples_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1)