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 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/package.mo): time 0.04452/0.04452, allocations: 8.538 MB / 24.89 MB, free: 4.641 MB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0013/0.0013, allocations: 107.7 kB / 29.79 MB, free: 72 kB / 19.63 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002251/0.002251, allocations: 208.5 kB / 34.82 MB, free: 1.594 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.54/1.54, allocations: 230.6 MB / 270.3 MB, free: 4.004 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo): time 0.02524/0.02524, allocations: 3.404 MB / 331.8 MB, free: 10 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0/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"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: EHPTexamples requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002979/0.002979, allocations: 110 kB / 459.3 MB, free: 50.36 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/0.1059, allocations: 56.27 MB / 0.5035 GB, free: 0.8438 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.1.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.1.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.1.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.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef*sqrt(1 - 0.0667)/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef*(1 - sqrt(1 - 0.0667))/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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*ZsRef) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.01345/0.1193, allocations: 9.793 MB / 0.5131 GB, free: 7 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006895/0.1262, allocations: 2.758 MB / 0.5158 GB, free: 4.234 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001926/0.1281, allocations: 63.62 kB / 0.5158 GB, free: 4.172 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001505/0.1297, allocations: 0.5081 MB / 0.5163 GB, free: 3.66 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002608/0.1323, allocations: 0.7142 MB / 0.517 GB, free: 2.941 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001448/0.1337, allocations: 0.537 MB / 0.5176 GB, free: 2.406 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.003905/0.1376, allocations: 2.675 MB / 0.5202 GB, free: 15.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002216/0.1398, allocations: 1.664 MB / 0.5218 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002019/0.1418, allocations: 1.231 MB / 0.523 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002128/0.144, allocations: 1.475 MB / 0.5244 GB, free: 11.27 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005054/0.1445, allocations: 336 kB / 0.5248 GB, free: 10.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008293/0.1453, allocations: 431.8 kB / 0.5252 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008595/0.1462, allocations: 0.8727 MB / 0.526 GB, free: 9.648 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.1477, allocations: 1.423 MB / 0.5274 GB, free: 8.219 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004659/0.1524, allocations: 4.157 MB / 0.5315 GB, free: 4.043 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.1524, allocations: 3.938 kB / 0.5315 GB, free: 4.039 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1524, allocations: 0 / 0.5315 GB, free: 4.039 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.044e-05/0.1525, allocations: 4 kB / 0.5315 GB, free: 4.035 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 601 * Number of variables: 601 Notification: Performance of Generate backend data structure: time 0.007032/0.1595, allocations: 2.977 MB / 0.5344 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.1596, allocations: 8.031 kB / 0.5344 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005055/0.1601, allocations: 337.5 kB / 0.5347 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000879/0.1609, allocations: 303.2 kB / 0.535 GB, free: 348 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/0.1639, allocations: 1.506 MB / 0.5365 GB, free: 14.79 MB / 398.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.0002981/0.1642, allocations: 240 kB / 0.5367 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000407/0.1647, allocations: 239.9 kB / 0.5369 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006219/0.1709, allocations: 2.95 MB / 0.5398 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.805e-05/0.1709, allocations: 4 kB / 0.5398 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002757/0.1712, allocations: 95.98 kB / 0.5399 GB, free: 11.16 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001447/0.1714, allocations: 116.5 kB / 0.54 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005736/0.1771, allocations: 2.36 MB / 0.5423 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01673/0.1938, allocations: 8.67 MB / 0.5508 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002989/0.1968, allocations: 1.566 MB / 0.5523 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001882/0.1987, allocations: 0.9157 MB / 0.5532 GB, free: 13.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002719/0.199, allocations: 114.1 kB / 0.5533 GB, free: 13.08 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001426/0.2004, allocations: 0.7773 MB / 0.5541 GB, free: 12.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=104): time 2.675e-06/0.2004, allocations: 0 / 0.5541 GB, free: 12.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=121): time 0.01654/0.2169, allocations: 6.984 MB / 0.5609 GB, free: 5.109 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/0.2171, allocations: 244.3 kB / 0.5611 GB, free: 4.816 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.001803/0.2189, allocations: 1.183 MB / 0.5623 GB, free: 3.621 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000123/0.219, allocations: 49.7 kB / 0.5623 GB, free: 3.566 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009669/0.22, allocations: 1.035 MB / 0.5634 GB, free: 2.52 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004072/0.2204, allocations: 440.3 kB / 0.5638 GB, free: 2.086 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004621/0.2209, allocations: 271.5 kB / 0.564 GB, free: 1.812 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.221, allocations: 305.1 kB / 0.5643 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001373/0.2224, allocations: 0.7074 MB / 0.565 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/0.2241, allocations: 1.127 MB / 0.5661 GB, free: 15.51 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009172/0.2332, allocations: 3.55 MB / 0.5696 GB, free: 11.79 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.347e-05/0.2332, allocations: 4 kB / 0.5696 GB, free: 11.78 MB / 430.1 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.005002/0.2382, allocations: 2.545 MB / 0.5721 GB, free: 9.188 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.448e-05/0.2383, allocations: 37.7 kB / 0.5721 GB, free: 9.145 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.426e-05/0.2383, allocations: 15.98 kB / 0.5721 GB, free: 9.129 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0013/0.2396, allocations: 0.4963 MB / 0.5726 GB, free: 8.617 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001266/0.2409, allocations: 311.5 kB / 0.5729 GB, free: 8.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0101/0.251, allocations: 8.807 MB / 0.5815 GB, free: 14.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.2526, allocations: 119.9 kB / 0.5816 GB, free: 14.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/0.2528, allocations: 71.92 kB / 0.5817 GB, free: 14.77 MB / 446.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.002439/0.2553, allocations: 1.266 MB / 0.5829 GB, free: 13.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00163/0.2569, allocations: 1.1 MB / 0.584 GB, free: 12.24 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008851/0.2657, allocations: 3.507 MB / 0.5874 GB, free: 8.562 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.509e-05/0.2658, allocations: 4 kB / 0.5874 GB, free: 8.559 MB / 446.1 MB Notification: Performance of matching and sorting (n=180) (initialization_lambda0): time 0.004785/0.2705, allocations: 2.487 MB / 0.5899 GB, free: 6.023 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.855e-05/0.2706, allocations: 45.94 kB / 0.5899 GB, free: 5.973 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.2706, allocations: 16 kB / 0.5899 GB, free: 5.957 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.2718, allocations: 0.4922 MB / 0.5904 GB, free: 5.449 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.273, allocations: 299.5 kB / 0.5907 GB, free: 5.156 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2259/0.4989, allocations: 8.792 MB / 0.5993 GB, free: 79.95 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.5005, allocations: 138.5 kB / 0.5994 GB, free: 79.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.5006, allocations: 57.83 kB / 0.5995 GB, free: 79.95 MB / 446.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: 49 * 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 (155): * Single equations (assignments): 148 * 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.0003969/0.501, allocations: 300.6 kB / 0.5997 GB, free: 79.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002594/0.5012, allocations: 149 kB / 0.5999 GB, free: 79.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004075/0.5053, allocations: 2.204 MB / 0.602 GB, free: 79.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.277e-05/0.5053, allocations: 11.12 kB / 0.602 GB, free: 79.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.5053, allocations: 9.156 kB / 0.6021 GB, free: 79.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.717e-05/0.5054, allocations: 5.859 kB / 0.6021 GB, free: 79.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007986/0.5134, allocations: 4.699 MB / 0.6066 GB, free: 77.06 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.5134, allocations: 3.906 kB / 0.6067 GB, free: 77.06 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009043/0.5143, allocations: 206.4 kB / 0.6068 GB, free: 77.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/0.5157, allocations: 0.5149 MB / 0.6073 GB, free: 76.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.5158, allocations: 33.95 kB / 0.6074 GB, free: 76.88 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006872/0.5227, allocations: 8.629 MB / 0.6158 GB, free: 69.96 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.5227, allocations: 4.531 kB / 0.6158 GB, free: 69.96 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005909/0.5286, allocations: 3.246 MB / 0.619 GB, free: 68.57 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000802/0.5294, allocations: 364.6 kB / 0.6193 GB, free: 68.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003761/0.5298, allocations: 39.42 kB / 0.6194 GB, free: 68.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001189/0.531, allocations: 105 kB / 0.6195 GB, free: 68.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003361/0.5313, allocations: 113.7 kB / 0.6196 GB, free: 68.34 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.711e-05/0.5314, allocations: 39.47 kB / 0.6196 GB, free: 68.33 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001646/0.5331, allocations: 0.8009 MB / 0.6204 GB, free: 68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5331, allocations: 3.469 kB / 0.6204 GB, free: 68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004054/0.5371, allocations: 0.7827 MB / 0.6212 GB, free: 67.93 MB / 446.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 (102): * Single equations (assignments): 94 * 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.005382/0.5425, allocations: 3.875 MB / 0.6249 GB, free: 65.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008963/0.5515, allocations: 6.512 MB / 0.6313 GB, free: 60.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.5515, allocations: 0.8125 kB / 0.6313 GB, free: 60.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003654/0.5551, allocations: 2.761 MB / 0.634 GB, free: 57.69 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002828/0.558, allocations: 405.7 kB / 0.6344 GB, free: 57.33 MB / 446.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.02086/0.5788, allocations: 12.49 MB / 0.6466 GB, free: 44.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001514/0.5803, allocations: 1.837 MB / 0.6484 GB, free: 42.52 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00125/0.5816, allocations: 416 kB / 0.6488 GB, free: 42.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000963/0.5825, allocations: 0.8625 MB / 0.6496 GB, free: 41.25 MB / 446.1 MB Notification: Performance of SimCode: time 1.342e-06/0.5825, allocations: 4 kB / 0.6496 GB, free: 41.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1292/0.7118, allocations: 48.92 MB / 0.6974 GB, free: 8.738 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.23, allocations: 10.48 kB / 0.6974 GB, free: 8.73 MB / 462.1 MB " [Timeout remaining time 646] (rm -f EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; mkfifo EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe ; head -c 1048576 < EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe >> ../files/EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.sim & python3 -m fmpy simulate --output-file EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing_res.csv --start-time 0 --stop-time 12 --timeout 50 --relative-tolerance 0.0001 --interface-type ModelExchange --solver CVode --output-interval 0.0024 EHPTexamples_latest_EHPTexamples_ElectricDrives_tqFollowing.fmu > EHPTexamples_latest_EHPTexamples.ElectricDrives.tqFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.44371280213818] Failed to read output from testmodel.py, exit status != 0: 14.352162688970566 14.37990662 14.222284647 Calling exit ...