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.05034/0.05034, allocations: 8.025 MB / 23.66 MB, free: 216 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.000934/0.0009341, allocations: 108.9 kB / 26.26 MB, free: 3.176 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.001103/0.001103, allocations: 187.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.221/1.221, 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.01594/0.01594, allocations: 3.115 MB / 309.4 MB, free: 2.305 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 95.84 kB / 426.4 MB, free: 18.04 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08877/0.09037, allocations: 51.97 MB / 478.4 MB, free: 14.03 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.01048/0.1009, allocations: 9.071 MB / 487.4 MB, free: 4.918 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004692/0.1056, allocations: 2.552 MB / 490 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000985/0.1066, allocations: 47.81 kB / 490 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001035/0.1077, allocations: 480.6 kB / 490.5 MB, free: 1.84 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.1092, allocations: 0.6794 MB / 491.2 MB, free: 1.156 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009151/0.1102, allocations: 0.491 MB / 491.7 MB, free: 0.668 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.002401/0.1126, allocations: 2.475 MB / 494.2 MB, free: 14.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002049/0.1146, allocations: 2.054 MB / 496.2 MB, free: 12.06 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001359/0.116, allocations: 1.094 MB / 497.3 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001409/0.1174, allocations: 1.327 MB / 498.6 MB, free: 9.629 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003574/0.1178, allocations: 300 kB / 498.9 MB, free: 9.336 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006306/0.1184, allocations: 383.8 kB / 499.3 MB, free: 8.961 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006885/0.1191, allocations: 0.7831 MB / 0.4884 GB, free: 8.176 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.1203, allocations: 1.287 MB / 0.4896 GB, free: 6.883 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003158/0.1235, allocations: 3.715 MB / 0.4933 GB, free: 3.156 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1235, allocations: 3.938 kB / 0.4933 GB, free: 3.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.1235, allocations: 0 / 0.4933 GB, free: 3.152 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.765e-05/0.1235, 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.004809/0.1283, allocations: 2.712 MB / 0.4959 GB, free: 380 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.1284, allocations: 8.031 kB / 0.4959 GB, free: 372 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003237/0.1287, allocations: 299.6 kB / 0.4962 GB, free: 60 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006428/0.1294, allocations: 266.3 kB / 0.4965 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001962/0.1313, allocations: 1.325 MB / 0.4977 GB, free: 14.42 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.0002133/0.1316, allocations: 215.4 kB / 0.498 GB, free: 14.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002856/0.1319, allocations: 211.9 kB / 0.4982 GB, free: 13.99 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003973/0.1358, allocations: 2.691 MB / 0.5008 GB, free: 11.21 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.277e-05/0.1359, allocations: 11.94 kB / 0.5008 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001727/0.1361, allocations: 91.97 kB / 0.5009 GB, free: 11.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-05/0.1362, allocations: 91.98 kB / 0.501 GB, free: 11.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003563/0.1398, allocations: 2.217 MB / 0.5031 GB, free: 8.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/0.1508, allocations: 7.852 MB / 0.5108 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1938/0.3446, allocations: 1.576 MB / 0.5123 GB, free: 39.23 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001843/0.3465, allocations: 0.9389 MB / 0.5133 GB, free: 39.22 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002376/0.3468, allocations: 129.9 kB / 0.5134 GB, free: 39.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/0.348, allocations: 0.7702 MB / 0.5141 GB, free: 39.01 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 2.735e-06/0.3481, allocations: 0.7812 kB / 0.5141 GB, free: 39.01 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.0132/0.3613, allocations: 6.605 MB / 0.5206 GB, free: 36.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.063e-05/0.3614, allocations: 250.6 kB / 0.5208 GB, free: 36.37 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.001845/0.3632, allocations: 1.163 MB / 0.522 GB, free: 35.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.025e-05/0.3633, allocations: 48.77 kB / 0.522 GB, free: 35.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006276/0.3639, allocations: 0.9141 MB / 0.5229 GB, free: 35.15 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002552/0.3642, allocations: 409.5 kB / 0.5233 GB, free: 34.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003875/0.3646, allocations: 254.6 kB / 0.5235 GB, free: 34.72 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.605e-05/0.3647, allocations: 365.2 kB / 0.5239 GB, free: 34.39 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001151/0.3658, allocations: 0.7028 MB / 0.5246 GB, free: 34.14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001285/0.3671, allocations: 1.097 MB / 0.5256 GB, free: 33.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007767/0.3749, allocations: 3.549 MB / 0.5291 GB, free: 31.9 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.009e-05/0.375, allocations: 3.562 kB / 0.5291 GB, free: 31.9 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003779/0.3787, allocations: 2.51 MB / 0.5316 GB, free: 30.83 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.3788, allocations: 36.17 kB / 0.5316 GB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.3788, allocations: 14.62 kB / 0.5316 GB, free: 30.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.3798, allocations: 0.496 MB / 0.5321 GB, free: 30.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008955/0.3807, allocations: 299.3 kB / 0.5324 GB, free: 30.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005496/0.3862, allocations: 8.795 MB / 0.541 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.3875, allocations: 131.9 kB / 0.5411 GB, free: 23.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.006e-05/0.3876, allocations: 57.72 kB / 0.5411 GB, free: 23.06 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.001656/0.3892, allocations: 1.229 MB / 0.5423 GB, free: 22.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009899/0.3902, allocations: 1.063 MB / 0.5434 GB, free: 21.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00668/0.3969, allocations: 3.496 MB / 0.5468 GB, free: 17.98 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.715e-06/0.3969, allocations: 0 / 0.5468 GB, free: 17.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.003377/0.4003, allocations: 2.461 MB / 0.5492 GB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.4004, allocations: 33.7 kB / 0.5492 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.4004, allocations: 15.94 kB / 0.5492 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000897/0.4013, allocations: 0.5163 MB / 0.5498 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008615/0.4022, allocations: 279.6 kB / 0.55 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005389/0.4076, allocations: 8.788 MB / 0.5586 GB, free: 5.301 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.4089, allocations: 143.8 kB / 0.5587 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-05/0.409, allocations: 59.98 kB / 0.5588 GB, free: 5.102 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.0003767/0.4094, allocations: 287.5 kB / 0.5591 GB, free: 4.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/0.4096, allocations: 134.4 kB / 0.5592 GB, free: 4.688 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003022/0.4126, allocations: 2.199 MB / 0.5613 GB, free: 2.445 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.4126, allocations: 12 kB / 0.5614 GB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.4126, allocations: 8 kB / 0.5614 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.4126, allocations: 6.172 kB / 0.5614 GB, free: 2.422 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006228/0.4189, allocations: 4.579 MB / 0.5658 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.4189, allocations: 4 kB / 0.5658 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007973/0.4197, allocations: 208.1 kB / 0.566 GB, free: 13.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001233/0.4209, allocations: 0.5135 MB / 0.5665 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-05/0.4211, allocations: 35.98 kB / 0.5666 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007627/0.4287, allocations: 8.615 MB / 0.575 GB, free: 3.828 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.9e-06/0.4287, allocations: 4 kB / 0.575 GB, free: 3.824 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004979/0.4337, allocations: 3.227 MB / 0.5781 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006918/0.4344, allocations: 355.9 kB / 0.5785 GB, free: 140 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.4346, allocations: 35.98 kB / 0.5785 GB, free: 104 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008824/0.4355, allocations: 99.88 kB / 0.5786 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002577/0.4358, allocations: 108.7 kB / 0.5787 GB, free: 15.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.907e-05/0.4358, allocations: 43.98 kB / 0.5788 GB, free: 15.86 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001029/0.4369, allocations: 0.8018 MB / 0.5795 GB, free: 15.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4369, allocations: 3.609 kB / 0.5795 GB, free: 15.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002273/0.4392, allocations: 0.7408 MB / 0.5803 GB, free: 14.31 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.005043/0.4442, allocations: 3.859 MB / 0.584 GB, free: 10.34 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009278/0.4535, allocations: 6.678 MB / 0.5906 GB, free: 3.434 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.4536, allocations: 4 kB / 0.5906 GB, free: 3.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003892/0.4575, allocations: 2.833 MB / 0.5933 GB, free: 0.4922 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.4592, allocations: 381.1 kB / 0.5937 GB, free: 132 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.01647/0.4757, allocations: 12.04 MB / 0.6054 GB, free: 3.656 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.4769, allocations: 1.742 MB / 0.6072 GB, free: 1.879 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001092/0.478, allocations: 411.6 kB / 0.6075 GB, free: 1.473 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008592/0.4789, allocations: 0.7844 MB / 0.6083 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of SimCode: time 2.414e-06/0.4789, allocations: 0 / 0.6083 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08793/0.5669, allocations: 47.76 MB / 0.655 GB, free: 1.309 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/12.2, allocations: 8.062 kB / 0.655 GB, free: 1.301 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=0.0001 EHPTexamples_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)