Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001689/0.001689, allocations: 105.3 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001821/0.001821, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 3.0.0-main/package.mo): time 0.04244/0.04244, allocations: 8.547 MB / 311.2 MB, free: 1.305 MB / 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-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 59.91 kB / 433.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1103, allocations: 54.19 MB / 487.4 MB, free: 8.266 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicMachine.mo:5:3-5:54:writable] Warning: Parameter 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.0.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.0.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.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Interfaces/PartialBasicInductionMachine.mo:14:3-16:67:writable] Warning: Parameter 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.0.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.0.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/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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/(2*pi*fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.01352/0.1239, allocations: 9.952 MB / 497.4 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006892/0.1308, allocations: 2.875 MB / 0.4885 GB, free: 11.39 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001703/0.1325, allocations: 51.81 kB / 0.4886 GB, free: 11.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002052/0.1345, allocations: 0.5276 MB / 0.4891 GB, free: 10.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00319/0.1377, allocations: 0.7805 MB / 0.4898 GB, free: 10.02 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001623/0.1393, allocations: 0.507 MB / 0.4903 GB, free: 9.512 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Electrical/Machines/Losses/CoreParameters.mo:8:3-9:75:writable] Warning: Parameter 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.0.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.0.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.0.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.004307/0.1436, allocations: 2.558 MB / 0.4928 GB, free: 6.941 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002048/0.1457, allocations: 1.223 MB / 0.494 GB, free: 5.668 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002044/0.1477, allocations: 1.09 MB / 0.4951 GB, free: 4.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002328/0.1501, allocations: 1.393 MB / 0.4964 GB, free: 3.176 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004688/0.1505, allocations: 291.9 kB / 0.4967 GB, free: 2.891 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008005/0.1513, allocations: 387.8 kB / 0.4971 GB, free: 2.512 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009048/0.1522, allocations: 0.8219 MB / 0.4979 GB, free: 1.688 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001589/0.1538, allocations: 1.291 MB / 0.4992 GB, free: 400 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004801/0.1586, allocations: 3.717 MB / 0.5028 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1586, allocations: 0 / 0.5028 GB, free: 12.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1586, allocations: 0 / 0.5028 GB, free: 12.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000106/0.1587, allocations: 0 / 0.5028 GB, free: 12.66 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.006631/0.1654, allocations: 2.81 MB / 0.5055 GB, free: 9.785 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.1654, allocations: 15.83 kB / 0.5056 GB, free: 9.77 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004377/0.1658, allocations: 287.1 kB / 0.5058 GB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007759/0.1666, allocations: 283.3 kB / 0.5061 GB, free: 9.203 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/0.1695, allocations: 1.397 MB / 0.5075 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.1697, allocations: 185.5 kB / 0.5076 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003541/0.17, allocations: 196 kB / 0.5078 GB, free: 7.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004838/0.1748, allocations: 2.606 MB / 0.5104 GB, free: 4.719 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-05/0.1749, allocations: 8 kB / 0.5104 GB, free: 4.711 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001853/0.1751, allocations: 76 kB / 0.5104 GB, free: 4.637 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001202/0.1752, allocations: 99.73 kB / 0.5105 GB, free: 4.539 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004371/0.1796, allocations: 2.197 MB / 0.5127 GB, free: 2.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2113/0.3909, allocations: 8.257 MB / 0.5208 GB, free: 32.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002732/0.3936, allocations: 1.573 MB / 0.5223 GB, free: 31.58 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.395, allocations: 0.7558 MB / 0.523 GB, free: 31.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002184/0.3952, allocations: 127.6 kB / 0.5231 GB, free: 31.23 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001333/0.3965, allocations: 0.799 MB / 0.5239 GB, free: 30.91 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.377e-06/0.3965, allocations: 0 / 0.5239 GB, free: 30.91 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.0159/0.4124, allocations: 6.662 MB / 0.5304 GB, free: 28.43 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/0.4125, allocations: 168.5 kB / 0.5306 GB, free: 28.24 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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.001869/0.4143, allocations: 1.364 MB / 0.5319 GB, free: 27.71 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001017/0.4144, allocations: 50.58 kB / 0.532 GB, free: 27.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006304/0.4151, allocations: 0.9988 MB / 0.5329 GB, free: 26.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.4153, allocations: 437.6 kB / 0.5334 GB, free: 26.64 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003817/0.4157, allocations: 273.8 kB / 0.5336 GB, free: 26.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.221e-05/0.4158, allocations: 309.1 kB / 0.5339 GB, free: 26.17 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.4169, allocations: 0.7511 MB / 0.5347 GB, free: 25.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001356/0.4183, allocations: 1.19 MB / 0.5358 GB, free: 24.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009088/0.4274, allocations: 3.97 MB / 0.5397 GB, free: 22.5 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.968e-05/0.4274, allocations: 2.75 kB / 0.5397 GB, free: 22.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005178/0.4326, allocations: 2.722 MB / 0.5424 GB, free: 21.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.4326, allocations: 41.19 kB / 0.5424 GB, free: 21.05 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.895e-05/0.4326, allocations: 15.16 kB / 0.5424 GB, free: 21.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002077/0.4347, allocations: 0.6093 MB / 0.543 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.4361, allocations: 417.2 kB / 0.5434 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00806/0.4441, allocations: 9.536 MB / 0.5527 GB, free: 10.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.4459, allocations: 135.9 kB / 0.5528 GB, free: 10.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000152/0.446, allocations: 67.98 kB / 0.5529 GB, free: 10.69 MB / 382.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.002101/0.4481, allocations: 1.269 MB / 0.5541 GB, free: 9.422 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001186/0.4493, allocations: 1.173 MB / 0.5553 GB, free: 8.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008275/0.4576, allocations: 3.95 MB / 0.5592 GB, free: 3.934 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.036e-05/0.4576, allocations: 0 / 0.5592 GB, free: 3.934 MB / 382.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005071/0.4627, allocations: 2.689 MB / 0.5618 GB, free: 1.211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.4627, allocations: 49.69 kB / 0.5618 GB, free: 1.156 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.647e-05/0.4627, allocations: 12 kB / 0.5618 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/0.4647, allocations: 0.6019 MB / 0.5624 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.4661, allocations: 407.4 kB / 0.5628 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01212/0.4782, allocations: 9.559 MB / 0.5721 GB, free: 5.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001924/0.4801, allocations: 147.9 kB / 0.5723 GB, free: 5.734 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.4802, allocations: 67.59 kB / 0.5724 GB, free: 5.672 MB / 398.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.0005502/0.4808, allocations: 295.4 kB / 0.5726 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/0.4811, allocations: 163 kB / 0.5728 GB, free: 5.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005646/0.4868, allocations: 2.383 MB / 0.5751 GB, free: 2.809 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.4868, allocations: 16 kB / 0.5751 GB, free: 2.793 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.4868, allocations: 4 kB / 0.5751 GB, free: 2.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.4868, allocations: 3.984 kB / 0.5751 GB, free: 2.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01024/0.4971, allocations: 4.684 MB / 0.5797 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.615e-06/0.4971, allocations: 0 / 0.5797 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/0.4983, allocations: 283.9 kB / 0.58 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002106/0.5004, allocations: 0.5936 MB / 0.5806 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/0.5006, allocations: 27.98 kB / 0.5806 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0122/0.5128, allocations: 9.701 MB / 0.5901 GB, free: 2.707 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.5128, allocations: 3.938 kB / 0.5901 GB, free: 2.703 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007589/0.5204, allocations: 3.441 MB / 0.5934 GB, free: 15.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/0.5215, allocations: 387.9 kB / 0.5938 GB, free: 14.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002508/0.5218, allocations: 27.98 kB / 0.5938 GB, free: 14.78 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009963/0.5228, allocations: 103.9 kB / 0.5939 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003546/0.5231, allocations: 120.8 kB / 0.594 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-05/0.5232, allocations: 35.98 kB / 0.5941 GB, free: 14.52 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001513/0.5247, allocations: 0.9282 MB / 0.595 GB, free: 13.59 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5247, allocations: 0 / 0.595 GB, free: 13.59 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002651/0.5274, allocations: 0.789 MB / 0.5958 GB, free: 12.8 MB / 430.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.00784/0.5352, allocations: 4.07 MB / 0.5997 GB, free: 8.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.009134/0.5443, allocations: 4.696 MB / 0.6043 GB, free: 3.777 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.664e-06/0.5443, allocations: 0 / 0.6043 GB, free: 3.777 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003424/0.5478, allocations: 1.786 MB / 0.6061 GB, free: 1.902 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/0.5499, allocations: 422.4 kB / 0.6065 GB, free: 1.504 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03358/0.5835, allocations: 16.89 MB / 0.6229 GB, free: 56 kB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001678/0.5852, allocations: 1.688 MB / 0.6246 GB, free: 14.33 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.001637/0.5868, allocations: 484.8 kB / 0.6251 GB, free: 13.85 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/0.588, allocations: 0.7726 MB / 0.6258 GB, free: 13.08 MB / 462.1 MB Notification: Performance of SimCode: time 1.483e-06/0.588, allocations: 0 / 0.6258 GB, free: 13.08 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.138/0.726, allocations: 48.57 MB / 0.6733 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.99/16.72, allocations: 16.64 kB / 0.6733 GB, free: 12.86 MB / 0.4981 GB " [Timeout remaining time 643] (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim_fmu --startTime=0 --stopTime=10 --stepSize=0.001 --timeout=50 --tolerance=1e-06 EHPTlib_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim.fmu > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.19031042419374] Failed to read output from testmodel.py, exit status != 0: 16.88001462398097 16.90177636 16.739918931 Calling exit ...