Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.conf.json 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.001279/0.001279, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.001376/0.001376, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 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.476/1.476, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] 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.04053/0.04053, allocations: 8.537 MB / 318.1 MB, free: 44 kB / 238.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="cs",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: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 75.89 kB / 442.4 MB, free: 40.21 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09248/0.09447, allocations: 55.37 MB / 497.8 MB, free: 7.191 MB / 350.1 MB [/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 smpm1.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 smpm1.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 smpm1.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 smpm1.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 smpm1.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 smpm1.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 smpm1.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 smpm1.Lssigma has no value, and is fixed during initialization (fixed=true), using available start value (start=0.1*ZsRef/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:44:3-47:31:writable] Warning: Parameter smpm1.TrOperational 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/SynchronousMachines/SM_PermanentMagnet.mo:48:3-49:53:writable] Warning: Parameter smpm1.VsOpenCircuit has no value, and is fixed during initialization (fixed=true), using available start value (start=112.3) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:59:3-64:29:writable] Warning: Parameter smpm1.Lrsigmad has no value, and is fixed during initialization (fixed=true), using available start value (start=0.05*ZsRef/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/BasicMachines/SynchronousMachines/SM_PermanentMagnet.mo:70:3-74:29:writable] Warning: Parameter smpm1.Rrd 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/SynchronousMachines/SM_PermanentMagnet.mo:80:3-85:29:writable] Warning: Parameter smpm1.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/SynchronousMachines/SM_PermanentMagnet.mo:86:3-91:29:writable] Warning: Parameter smpm1.alpha20r has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.01006/0.1045, allocations: 9.986 MB / 0.4959 GB, free: 13.16 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007753/0.1123, allocations: 2.906 MB / 0.4987 GB, free: 10.24 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.1137, allocations: 59.62 kB / 0.4988 GB, free: 10.18 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001798/0.1155, allocations: 0.5471 MB / 0.4993 GB, free: 9.633 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002631/0.1182, allocations: 0.7766 MB / 0.5001 GB, free: 8.852 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001227/0.1194, allocations: 499.3 kB / 0.5006 GB, free: 8.363 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 smpm1.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 smpm1.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/PermanentMagnetLossParameters.mo:11:3-12:55:writable] Warning: Parameter smpm1.permanentMagnetLossParameters.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/PermanentMagnetLossParameters.mo:15:3-17:53:writable] Warning: Parameter smpm1.permanentMagnetLossParameters.wRef has no value, and is fixed during initialization (fixed=true), using available start value (start=2.0 * smpm1.pi * smpm1.fsNominal / CAST(Real, smpm1.p)) as default value. Notification: Performance of NFFlatten.flatten: time 0.003635/0.123, allocations: 2.577 MB / 0.5031 GB, free: 5.773 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.1247, allocations: 1.211 MB / 0.5043 GB, free: 4.512 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.1266, allocations: 1.133 MB / 0.5054 GB, free: 3.375 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001984/0.1286, allocations: 1.401 MB / 0.5067 GB, free: 1.969 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004368/0.129, allocations: 288 kB / 0.507 GB, free: 1.688 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007445/0.1298, allocations: 383.8 kB / 0.5074 GB, free: 1.312 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008923/0.1307, allocations: 0.8258 MB / 0.5082 GB, free: 496 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.1323, allocations: 1.295 MB / 0.5094 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00419/0.1364, allocations: 3.725 MB / 0.5131 GB, free: 11.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1365, allocations: 0 / 0.5131 GB, free: 11.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1365, allocations: 0 / 0.5131 GB, free: 11.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.327e-05/0.1365, allocations: 0 / 0.5131 GB, free: 11.45 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: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.005976/0.1425, allocations: 2.818 MB / 0.5158 GB, free: 8.562 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1425, allocations: 12.03 kB / 0.5158 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.494e-05/0.1426, allocations: 48.02 kB / 0.5159 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003941/0.143, allocations: 291.1 kB / 0.5162 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000749/0.1437, allocations: 291.2 kB / 0.5164 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002741/0.1465, allocations: 1.447 MB / 0.5179 GB, free: 6.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001943/0.1467, allocations: 177.6 kB / 0.518 GB, free: 6.242 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003247/0.147, allocations: 196 kB / 0.5182 GB, free: 6.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004542/0.1515, allocations: 2.594 MB / 0.5208 GB, free: 3.406 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.728e-05/0.1516, allocations: 15.89 kB / 0.5208 GB, free: 3.391 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002149/0.1518, allocations: 79.98 kB / 0.5208 GB, free: 3.312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000118/0.1519, allocations: 99.73 kB / 0.5209 GB, free: 3.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004126/0.156, allocations: 2.185 MB / 0.5231 GB, free: 1.027 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01357/0.1696, allocations: 8.215 MB / 0.5311 GB, free: 8.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00335/0.173, allocations: 1.567 MB / 0.5326 GB, free: 6.934 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001594/0.1746, allocations: 0.7533 MB / 0.5334 GB, free: 6.176 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002961/0.1749, allocations: 122.1 kB / 0.5335 GB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001542/0.1764, allocations: 0.8028 MB / 0.5343 GB, free: 5.215 MB / 398.1 MB Notification: Performance of pre-optimization done (n=104): time 2.635e-06/0.1764, allocations: 0 / 0.5343 GB, free: 5.215 MB / 398.1 MB Notification: Performance of matching and sorting (n=121): time 0.01857/0.195, allocations: 6.66 MB / 0.5408 GB, free: 14.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.1951, allocations: 175.2 kB / 0.5409 GB, free: 14.22 MB / 414.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/PermanentMagnetLossParameters.mo:15:3-17:53:writable] Warning: Parameter smpm1.permanentMagnetLossParameters.wRef has no value, and is fixed during initialization (fixed=true), using available start value (start=6.283185307179586 * smpm1.fsNominal / /*Real*/(smpm1.p)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Electrical/Machines/Losses/PermanentMagnetLossParameters.mo:11:3-12:55:writable] Warning: Parameter smpm1.permanentMagnetLossParameters.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/StrayLoadParameters.mo:6:3-7:48:writable] Warning: Parameter smpm1.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 smpm1.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.002181/0.1973, allocations: 1.35 MB / 0.5422 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001287/0.1974, allocations: 49.64 kB / 0.5423 GB, free: 12.8 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009182/0.1983, allocations: 0.9967 MB / 0.5433 GB, free: 11.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004172/0.1987, allocations: 440.3 kB / 0.5437 GB, free: 11.36 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000475/0.1992, allocations: 271.5 kB / 0.5439 GB, free: 11.09 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1993, allocations: 305.1 kB / 0.5442 GB, free: 10.79 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/0.2008, allocations: 0.7504 MB / 0.545 GB, free: 10.04 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/0.2027, allocations: 1.185 MB / 0.5461 GB, free: 8.672 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01141/0.2141, allocations: 3.95 MB / 0.55 GB, free: 4.531 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/0.2141, allocations: 0 / 0.55 GB, free: 4.531 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006591/0.2207, allocations: 2.7 MB / 0.5526 GB, free: 1.797 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.78e-05/0.2208, allocations: 41.69 kB / 0.5527 GB, free: 1.75 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.2208, allocations: 12 kB / 0.5527 GB, free: 1.738 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002611/0.2234, allocations: 0.614 MB / 0.5533 GB, free: 1.105 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/0.2251, allocations: 407.4 kB / 0.5537 GB, free: 0.707 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01284/0.238, allocations: 9.53 MB / 0.563 GB, free: 6.465 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.24, allocations: 143.9 kB / 0.5631 GB, free: 6.324 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001962/0.2402, allocations: 63.98 kB / 0.5632 GB, free: 6.262 MB / 430.1 MB Warning: Assuming fixed start value for the following 5 variables: smpm1.i_0_s:VARIABLE(start = 0.0 unit = \"A\" fixed = true stateSelect=StateSelect.prefer ) \"Stator zero-sequence current\" type: Real myMTPA.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real smpm1.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] smpm1.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.0026/0.2428, allocations: 1.265 MB / 0.5644 GB, free: 4.996 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002064/0.2449, allocations: 1.166 MB / 0.5655 GB, free: 3.648 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01155/0.2564, allocations: 3.919 MB / 0.5694 GB, free: 15.53 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.502e-05/0.2564, allocations: 8 kB / 0.5694 GB, free: 15.52 MB / 446.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.007039/0.2635, allocations: 2.677 MB / 0.572 GB, free: 12.81 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.442e-05/0.2635, allocations: 44.19 kB / 0.572 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.2636, allocations: 12 kB / 0.572 GB, free: 12.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002556/0.2661, allocations: 0.6023 MB / 0.5726 GB, free: 12.14 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.2678, allocations: 403.4 kB / 0.573 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0124/0.2803, allocations: 9.558 MB / 0.5824 GB, free: 1.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001806/0.2821, allocations: 143.9 kB / 0.5825 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000141/0.2822, allocations: 67.98 kB / 0.5826 GB, free: 1.258 MB / 446.1 MB Warning: Assuming fixed start value for the following 5 variables: smpm1.i_0_s:VARIABLE(start = 0.0 unit = \"A\" fixed = true stateSelect=StateSelect.prefer ) \"Stator zero-sequence current\" type: Real myMTPA.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.y_start fixed = true ) \"Connector of Real output signal\" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) \"Connector of Real output signal\" type: Real smpm1.idq_sr[2]:VARIABLE(unit = \"A\" fixed = true stateSelect=StateSelect.prefer final = true ) \"Stator space phasor current / rotor fixed frame\" type: Real [2] smpm1.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: 55 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.tqRef.count,$PRE.tqRef.T_start,tqRef.count,tqRef.T_start,myMTPA.limiting.y,$whenCondition1,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 3 systems {(2,1,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005319/0.2827, allocations: 292.7 kB / 0.5828 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/0.283, allocations: 159 kB / 0.583 GB, free: 0.8125 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2117/0.4947, allocations: 2.374 MB / 0.5853 GB, free: 88.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.571e-05/0.4948, allocations: 13.53 kB / 0.5853 GB, free: 88.05 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.4948, allocations: 4.156 kB / 0.5853 GB, free: 88.05 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.905e-05/0.4948, allocations: 5.812 kB / 0.5853 GB, free: 88.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008983/0.5038, allocations: 4.654 MB / 0.5899 GB, free: 87.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/0.5038, allocations: 2.531 kB / 0.5899 GB, free: 87.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001372/0.5051, allocations: 290.6 kB / 0.5901 GB, free: 87.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002149/0.5073, allocations: 0.5818 MB / 0.5907 GB, free: 87.33 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001401/0.5074, allocations: 33.92 kB / 0.5908 GB, free: 87.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009558/0.517, allocations: 9.674 MB / 0.6002 GB, free: 79.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.517, allocations: 8.281 kB / 0.6002 GB, free: 79.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006649/0.5236, allocations: 3.416 MB / 0.6035 GB, free: 78.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006916/0.5243, allocations: 384.4 kB / 0.6039 GB, free: 78.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002072/0.5245, allocations: 31.84 kB / 0.6039 GB, free: 78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009688/0.5255, allocations: 113.8 kB / 0.604 GB, free: 77.98 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003069/0.5258, allocations: 113.2 kB / 0.6042 GB, free: 77.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.613e-05/0.5259, allocations: 42.83 kB / 0.6042 GB, free: 77.96 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001132/0.527, allocations: 0.9073 MB / 0.6051 GB, free: 77.59 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.527, allocations: 0 / 0.6051 GB, free: 77.59 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002084/0.5291, allocations: 0.7877 MB / 0.6059 GB, free: 77.52 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (inertia.w,smpm1.i_0_s,smpm1.idq_sr[1],smpm1.idq_sr[2],integrator.y,myMTPA.firstOrder.y,myMTPA.firstOrder1.y,tRes.phi) * Number of discrete variables: 4 ($whenCondition1,myMTPA.limiting.y,tqRef.T_start,tqRef.count) * Number of discrete states: 1 (tqRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * 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): 3 systems {(2,1,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,4), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006214/0.5353, allocations: 4.049 MB / 0.6098 GB, free: 75.64 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007198/0.5425, allocations: 4.69 MB / 0.6144 GB, free: 71.01 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.004e-06/0.5425, allocations: 0 / 0.6144 GB, free: 71.01 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002755/0.5453, allocations: 1.774 MB / 0.6161 GB, free: 69.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.5473, allocations: 434.7 kB / 0.6165 GB, free: 68.81 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02375/0.571, allocations: 16.77 MB / 0.6329 GB, free: 51.55 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009325/0.5719, allocations: 1.676 MB / 0.6345 GB, free: 49.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001239/0.5732, allocations: 485.3 kB / 0.635 GB, free: 49.36 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008036/0.574, allocations: 0.7766 MB / 0.6358 GB, free: 48.59 MB / 446.1 MB Notification: Performance of SimCode: time 7.12e-07/0.574, allocations: 0 / 0.6358 GB, free: 48.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/0.6914, allocations: 48.47 MB / 0.6831 GB, free: 492 kB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/16.15, allocations: 8 kB / 0.6831 GB, free: 484 kB / 446.1 MB " [Timeout remaining time 644] (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim_fmu --startTime=0 --stopTime=10 --stepSize=0.001 --timeout=50 --tolerance=1e-06 EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim.fmu > EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 19.026990763028152] Failed to read output from testmodel.py, exit status != 0: 16.3372913270141 16.36095504 16.220092958 Calling exit ...