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.04639/0.04639, allocations: 8.031 MB / 23.66 MB, free: 264 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.001038/0.001038, allocations: 108.7 kB / 26.25 MB, free: 3.23 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.001184/0.001184, allocations: 187.4 kB / 28.93 MB, free: 0.5547 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.288/1.288, allocations: 222.9 MB / 254.4 MB, free: 4.695 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.01278/0.01278, allocations: 3.118 MB / 309.4 MB, free: 2.344 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 91.84 kB / 426.4 MB, free: 18.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1028, allocations: 51.97 MB / 478.4 MB, free: 14.07 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.01077/0.1136, allocations: 9.08 MB / 487.5 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005074/0.1187, allocations: 2.544 MB / 490 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001367/0.1201, allocations: 47.81 kB / 490 MB, free: 2.355 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.1215, allocations: 476.7 kB / 490.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002178/0.1237, allocations: 0.6833 MB / 491.2 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00119/0.1249, allocations: 0.4946 MB / 491.7 MB, free: 0.707 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.002947/0.1278, allocations: 2.471 MB / 494.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003264/0.1311, allocations: 2.046 MB / 496.2 MB, free: 12.11 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001873/0.133, allocations: 1.102 MB / 497.3 MB, free: 11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002185/0.1352, allocations: 1.323 MB / 498.6 MB, free: 9.676 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009233/0.1361, allocations: 304 kB / 498.9 MB, free: 9.379 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.1373, allocations: 383.8 kB / 499.3 MB, free: 9.004 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00113/0.1384, allocations: 0.783 MB / 0.4884 GB, free: 8.219 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001808/0.1402, allocations: 1.276 MB / 0.4896 GB, free: 6.938 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00358/0.1438, allocations: 3.727 MB / 0.4933 GB, free: 3.199 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1439, allocations: 0 / 0.4933 GB, free: 3.199 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.444e-06/0.1439, allocations: 0 / 0.4933 GB, free: 3.199 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.153e-05/0.1439, allocations: 3.938 kB / 0.4933 GB, free: 3.195 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.005348/0.1493, allocations: 2.701 MB / 0.4959 GB, free: 436 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.1494, allocations: 12.03 kB / 0.4959 GB, free: 424 kB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003952/0.1498, allocations: 299.6 kB / 0.4962 GB, free: 112 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007212/0.1505, allocations: 262.1 kB / 0.4964 GB, free: 15.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.1525, allocations: 1.333 MB / 0.4977 GB, free: 14.47 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.0002546/0.1528, allocations: 218.1 kB / 0.4979 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003083/0.1531, allocations: 203.9 kB / 0.4981 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004547/0.1577, allocations: 2.69 MB / 0.5008 GB, free: 11.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.889e-05/0.1577, allocations: 7.938 kB / 0.5008 GB, free: 11.26 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001847/0.1579, allocations: 91.98 kB / 0.5009 GB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.593e-05/0.158, allocations: 99.97 kB / 0.501 GB, free: 11.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004101/0.1621, allocations: 2.206 MB / 0.5031 GB, free: 8.863 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01371/0.1759, allocations: 7.875 MB / 0.5108 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2421/0.418, allocations: 1.573 MB / 0.5123 GB, free: 39.39 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0022/0.4203, allocations: 0.9384 MB / 0.5133 GB, free: 39.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003488/0.4206, allocations: 125 kB / 0.5134 GB, free: 39.28 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00185/0.4225, allocations: 0.7692 MB / 0.5141 GB, free: 39.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=100): time 5.26e-06/0.4225, allocations: 1.25 kB / 0.5141 GB, free: 39.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01476/0.4373, allocations: 6.603 MB / 0.5206 GB, free: 36.77 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.952e-05/0.4374, allocations: 255.2 kB / 0.5208 GB, free: 36.48 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.002049/0.4395, allocations: 1.164 MB / 0.522 GB, free: 36.01 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001079/0.4396, allocations: 46.48 kB / 0.522 GB, free: 35.96 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007201/0.4403, allocations: 0.9151 MB / 0.5229 GB, free: 35.26 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000296/0.4406, allocations: 410 kB / 0.5233 GB, free: 34.95 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004315/0.4411, allocations: 250.2 kB / 0.5235 GB, free: 34.83 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001039/0.4412, allocations: 364.2 kB / 0.5239 GB, free: 34.5 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001238/0.4424, allocations: 0.7074 MB / 0.5246 GB, free: 34.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001628/0.4441, allocations: 1.097 MB / 0.5256 GB, free: 33.54 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008351/0.4524, allocations: 3.543 MB / 0.5291 GB, free: 32.02 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-05/0.4525, allocations: 3.5 kB / 0.5291 GB, free: 32.02 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.00426/0.4567, allocations: 2.52 MB / 0.5316 GB, free: 30.94 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.854e-05/0.4568, allocations: 35.33 kB / 0.5316 GB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.4569, allocations: 10.28 kB / 0.5316 GB, free: 30.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00112/0.458, allocations: 0.5 MB / 0.5321 GB, free: 30.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.459, allocations: 296.3 kB / 0.5324 GB, free: 30.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006007/0.465, allocations: 8.795 MB / 0.541 GB, free: 23.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.4666, allocations: 124.4 kB / 0.5411 GB, free: 23.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000143/0.4668, allocations: 60.34 kB / 0.5411 GB, free: 23.13 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.001857/0.4686, allocations: 1.226 MB / 0.5423 GB, free: 22.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001062/0.4697, allocations: 1.073 MB / 0.5434 GB, free: 21.61 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006999/0.4767, allocations: 3.489 MB / 0.5468 GB, free: 18.12 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.819e-06/0.4768, allocations: 4 kB / 0.5468 GB, free: 18.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=172) (initialization_lambda0): time 0.003466/0.4802, allocations: 2.461 MB / 0.5492 GB, free: 15.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.04e-05/0.4803, allocations: 37.7 kB / 0.5492 GB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.4803, allocations: 8 kB / 0.5492 GB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000965/0.4813, allocations: 0.5151 MB / 0.5497 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009259/0.4822, allocations: 279.6 kB / 0.55 GB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005703/0.4879, allocations: 8.794 MB / 0.5586 GB, free: 5.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.4894, allocations: 135.8 kB / 0.5587 GB, free: 5.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.4895, allocations: 67.45 kB / 0.5588 GB, free: 5.234 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.0004866/0.49, allocations: 286.5 kB / 0.5591 GB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002715/0.4903, allocations: 134.4 kB / 0.5592 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003251/0.4935, allocations: 2.203 MB / 0.5613 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.4936, allocations: 12 kB / 0.5614 GB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-05/0.4936, allocations: 4 kB / 0.5614 GB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.48e-05/0.4936, allocations: 3.984 kB / 0.5614 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006792/0.5004, allocations: 4.588 MB / 0.5658 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.612e-05/0.5005, allocations: 4 kB / 0.5658 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008025/0.5013, allocations: 195.7 kB / 0.566 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001298/0.5026, allocations: 0.5242 MB / 0.5665 GB, free: 13.14 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001067/0.5027, allocations: 31.98 kB / 0.5666 GB, free: 13.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007274/0.51, allocations: 8.615 MB / 0.575 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.51, allocations: 4 kB / 0.575 GB, free: 3.949 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004979/0.515, allocations: 3.219 MB / 0.5781 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007142/0.5157, allocations: 355.3 kB / 0.5785 GB, free: 276 kB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/0.5159, allocations: 43.98 kB / 0.5785 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008926/0.5168, allocations: 99.88 kB / 0.5786 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002603/0.5171, allocations: 113.7 kB / 0.5787 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.885e-05/0.5172, allocations: 40.03 kB / 0.5788 GB, free: 15.98 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001045/0.5183, allocations: 0.7939 MB / 0.5795 GB, free: 15.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.5183, allocations: 0 / 0.5795 GB, free: 15.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002308/0.5206, allocations: 0.7448 MB / 0.5803 GB, free: 14.44 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.005343/0.5259, allocations: 3.856 MB / 0.584 GB, free: 10.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009743/0.5357, allocations: 6.69 MB / 0.5906 GB, free: 3.559 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.5357, allocations: 3.938 kB / 0.5906 GB, free: 3.555 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003978/0.5397, allocations: 2.83 MB / 0.5933 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001746/0.5415, allocations: 379.1 kB / 0.5937 GB, free: 260 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.01773/0.5592, allocations: 12.04 MB / 0.6054 GB, free: 3.781 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001337/0.5606, allocations: 1.738 MB / 0.6071 GB, free: 2.008 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00118/0.5618, allocations: 411.6 kB / 0.6075 GB, free: 1.602 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009321/0.5627, allocations: 0.7844 MB / 0.6083 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5627, allocations: 0 / 0.6083 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09696/0.6597, allocations: 47.76 MB / 0.6549 GB, free: 1.445 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.58, allocations: 10.69 kB / 0.655 GB, free: 1.438 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing_fmu --startTime=0 --stopTime=12 --timeout=50 --tolerance=0.0001 EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1)