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 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.04637/0.04637, allocations: 8.53 MB / 27.38 MB, free: 2.836 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.001285/0.001285, allocations: 114.5 kB / 32.61 MB, free: 1.574 MB / 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.001952/0.001952, allocations: 221.7 kB / 37.97 MB, free: 2.973 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.567/1.567, allocations: 230.6 MB / 273.8 MB, free: 2.836 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/package.mo): time 0.01461/0.01461, allocations: 3.419 MB / 335.7 MB, free: 8.715 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTexamples with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTexamples 3.0.0/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.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"}) [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.003475/0.003475, allocations: 110 kB / 464.9 MB, free: 50.52 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1086, allocations: 56.32 MB / 0.5091 GB, free: 15.2 MB / 366.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: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.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: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.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.wFollowing): time 0.01235/0.1209, allocations: 8.725 MB / 0.5176 GB, free: 6.43 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00674/0.1277, allocations: 2.723 MB / 0.5202 GB, free: 3.699 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002001/0.1297, allocations: 63.62 kB / 0.5203 GB, free: 3.637 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.1311, allocations: 0.4886 MB / 0.5208 GB, free: 3.145 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002511/0.1337, allocations: 0.7142 MB / 0.5215 GB, free: 2.426 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.135, allocations: 0.5614 MB / 0.522 GB, free: 1.867 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.004016/0.139, allocations: 2.694 MB / 0.5246 GB, free: 15.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001982/0.141, allocations: 1.282 MB / 0.5259 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00207/0.1431, allocations: 1.242 MB / 0.5271 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00232/0.1454, allocations: 1.377 MB / 0.5285 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005384/0.1459, allocations: 336 kB / 0.5288 GB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009595/0.1469, allocations: 435.8 kB / 0.5292 GB, free: 10.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009515/0.1478, allocations: 0.8766 MB / 0.53 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001464/0.1493, allocations: 1.163 MB / 0.5312 GB, free: 8.387 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004951/0.1543, allocations: 4.216 MB / 0.5353 GB, free: 4.152 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.732e-06/0.1543, allocations: 0 / 0.5353 GB, free: 4.152 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1543, allocations: 0 / 0.5353 GB, free: 4.152 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001128/0.1544, allocations: 0 / 0.5353 GB, free: 4.152 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: 608 * Number of variables: 608 Notification: Performance of Generate backend data structure: time 0.007381/0.1618, allocations: 2.929 MB / 0.5382 GB, free: 1.168 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.228e-05/0.1618, allocations: 8.031 kB / 0.5382 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004802/0.1623, allocations: 341.7 kB / 0.5385 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009215/0.1632, allocations: 307.2 kB / 0.5388 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003421/0.1666, allocations: 1.43 MB / 0.5402 GB, free: 15.05 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.0003551/0.167, allocations: 295.4 kB / 0.5405 GB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003974/0.1674, allocations: 232 kB / 0.5407 GB, free: 14.51 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006024/0.1734, allocations: 3.121 MB / 0.5437 GB, free: 11.26 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.2e-05/0.1735, allocations: 15.94 kB / 0.5437 GB, free: 11.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/0.1737, allocations: 99.98 kB / 0.5438 GB, free: 11.15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001592/0.1739, allocations: 104.6 kB / 0.5439 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004851/0.1787, allocations: 2.376 MB / 0.5463 GB, free: 8.652 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01478/0.1935, allocations: 7.853 MB / 0.5539 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00298/0.1965, allocations: 1.362 MB / 0.5553 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001896/0.1984, allocations: 0.909 MB / 0.5561 GB, free: 14.28 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002124/0.1986, allocations: 40.97 kB / 0.5562 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001553/0.2002, allocations: 0.8894 MB / 0.5571 GB, free: 13.29 MB / 414.1 MB Notification: Performance of pre-optimization done (n=107): time 3.577e-06/0.2002, allocations: 0 / 0.5571 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=124): time 0.01635/0.2165, allocations: 6.477 MB / 0.5634 GB, free: 6.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.2167, allocations: 256.3 kB / 0.5636 GB, free: 6.465 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.001839/0.2185, allocations: 1.199 MB / 0.5648 GB, free: 5.254 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001216/0.2186, allocations: 57.69 kB / 0.5649 GB, free: 5.191 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001081/0.2197, allocations: 1.039 MB / 0.5659 GB, free: 4.141 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000473/0.2202, allocations: 460.1 kB / 0.5663 GB, free: 3.688 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004697/0.2207, allocations: 267.5 kB / 0.5666 GB, free: 3.418 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.2208, allocations: 301.1 kB / 0.5668 GB, free: 3.121 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.2222, allocations: 0.7442 MB / 0.5676 GB, free: 2.367 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001853/0.224, allocations: 1.314 MB / 0.5689 GB, free: 0.8359 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008915/0.2329, allocations: 3.578 MB / 0.5724 GB, free: 13.08 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-05/0.233, allocations: 4 kB / 0.5724 GB, free: 13.07 MB / 430.1 MB Notification: Performance of matching and sorting (n=183) (initialization): time 0.004992/0.238, allocations: 2.511 MB / 0.5748 GB, free: 10.53 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.504e-05/0.238, allocations: 33.7 kB / 0.5748 GB, free: 10.49 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.32e-05/0.238, allocations: 12.31 kB / 0.5749 GB, free: 10.48 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001284/0.2393, allocations: 0.5076 MB / 0.5753 GB, free: 9.953 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.2405, allocations: 307.5 kB / 0.5756 GB, free: 9.652 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009336/0.2499, allocations: 8.346 MB / 0.5838 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001695/0.2515, allocations: 131.9 kB / 0.5839 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.2517, allocations: 64 kB / 0.584 GB, free: 0.668 MB / 430.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.002594/0.2543, allocations: 1.306 MB / 0.5853 GB, free: 15.35 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001758/0.256, allocations: 1.275 MB / 0.5865 GB, free: 13.87 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008567/0.2646, allocations: 3.52 MB / 0.5899 GB, free: 10.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.878e-06/0.2646, allocations: 4 kB / 0.5899 GB, free: 10.18 MB / 446.1 MB Notification: Performance of matching and sorting (n=183) (initialization_lambda0): time 0.004686/0.2693, allocations: 2.472 MB / 0.5924 GB, free: 7.664 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.09e-05/0.2694, allocations: 43.88 kB / 0.5924 GB, free: 7.617 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.2694, allocations: 11.94 kB / 0.5924 GB, free: 7.605 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.2706, allocations: 0.4961 MB / 0.5929 GB, free: 7.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.2718, allocations: 299.5 kB / 0.5932 GB, free: 6.801 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2393/0.5111, allocations: 8.33 MB / 0.6013 GB, free: 80.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002597/0.5137, allocations: 138.8 kB / 0.6014 GB, free: 80.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003523/0.514, allocations: 60.78 kB / 0.6015 GB, free: 80.12 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.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 (158): * Single equations (assignments): 151 * 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.0005695/0.5146, allocations: 288.1 kB / 0.6018 GB, free: 79.94 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005232/0.5151, allocations: 156.3 kB / 0.6019 GB, free: 79.94 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005477/0.5206, allocations: 2.14 MB / 0.604 GB, free: 79.83 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.5206, allocations: 11 kB / 0.604 GB, free: 79.83 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.5206, allocations: 7.688 kB / 0.604 GB, free: 79.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.774e-05/0.5206, allocations: 11.17 kB / 0.604 GB, free: 79.83 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009388/0.53, allocations: 4.395 MB / 0.6083 GB, free: 78.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.53, allocations: 3.562 kB / 0.6083 GB, free: 78.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009371/0.531, allocations: 204.8 kB / 0.6085 GB, free: 78.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001351/0.5323, allocations: 0.513 MB / 0.609 GB, free: 78.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001219/0.5324, allocations: 45.05 kB / 0.6091 GB, free: 78.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007125/0.5396, allocations: 8.164 MB / 0.6171 GB, free: 71.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.5396, allocations: 3.688 kB / 0.6171 GB, free: 71.84 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005774/0.5453, allocations: 3.21 MB / 0.6202 GB, free: 70.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001353/0.5467, allocations: 295.2 kB / 0.6205 GB, free: 70.44 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003018/0.547, allocations: 38.33 kB / 0.6205 GB, free: 70.42 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/0.5481, allocations: 104 kB / 0.6206 GB, free: 70.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003295/0.5484, allocations: 116 kB / 0.6207 GB, free: 70.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.972e-05/0.5485, allocations: 45.12 kB / 0.6208 GB, free: 70.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001187/0.5497, allocations: 0.803 MB / 0.6215 GB, free: 70.04 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5497, allocations: 0 / 0.6215 GB, free: 70.04 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00321/0.5529, allocations: 0.7936 MB / 0.6223 GB, free: 69.96 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,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 (105): * Single equations (assignments): 97 * 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.005035/0.558, allocations: 3.835 MB / 0.6261 GB, free: 68.09 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.008068/0.566, allocations: 6.435 MB / 0.6323 GB, free: 63.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.858e-06/0.566, allocations: 0 / 0.6323 GB, free: 63.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00349/0.5695, allocations: 2.702 MB / 0.635 GB, free: 60.24 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/0.5717, allocations: 391 kB / 0.6354 GB, free: 59.9 MB / 446.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:1970:3-1970:101:writable] Error: Internal error function createFMIModelDerivativesForInitialization failed Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01828/0.5899, allocations: 12.6 MB / 0.6477 GB, free: 46.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001092/0.591, allocations: 1.283 MB / 0.6489 GB, free: 45.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001166/0.5922, allocations: 424.1 kB / 0.6493 GB, free: 45.11 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008459/0.593, allocations: 0.8703 MB / 0.6502 GB, free: 44.24 MB / 446.1 MB Notification: Performance of SimCode: time 1.964e-06/0.593, allocations: 7.391 kB / 0.6502 GB, free: 44.23 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1122/0.7053, allocations: 52.38 MB / 0.7013 GB, free: 8.34 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.09/13.79, allocations: 10.69 kB / 0.7013 GB, free: 8.332 MB / 462.1 MB " [Timeout remaining time 646] (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 --stepSize=0.0024 --timeout=50 --tolerance=0.0001 EHPTexamples_EHPTexamples_ElectricDrives_wFollowing.fmu > EHPTexamples_EHPTexamples.ElectricDrives.wFollowing.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.058025863021612] Failed to read output from testmodel.py, exit status != 0: 13.93598708184436 13.962740617 13.803521253 Calling exit ...