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.001258/0.001258, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001917/0.001917, allocations: 217.9 kB / 23.04 MB, free: 5.074 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 8 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.04403/0.04403, allocations: 8.555 MB / 321.8 MB, free: 10.63 MB / 254.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.001888/0.001888, allocations: 79.88 kB / 447.7 MB, free: 0 / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.108, allocations: 55.41 MB / 0.4913 GB, free: 8.492 MB / 366.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.01308/0.121, allocations: 10.03 MB / 0.5011 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00633/0.1274, allocations: 2.902 MB / 0.504 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001265/0.1286, allocations: 63.56 kB / 0.504 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001512/0.1302, allocations: 0.5471 MB / 0.5046 GB, free: 10.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002844/0.133, allocations: 0.796 MB / 0.5053 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001406/0.1344, allocations: 0.5031 MB / 0.5058 GB, free: 9.574 MB / 382.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.004148/0.1385, allocations: 2.576 MB / 0.5083 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00186/0.1404, allocations: 1.005 MB / 0.5093 GB, free: 5.938 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002313/0.1427, allocations: 1.133 MB / 0.5104 GB, free: 4.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/0.1454, allocations: 1.393 MB / 0.5118 GB, free: 3.402 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008535/0.1462, allocations: 295.9 kB / 0.5121 GB, free: 3.113 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00124/0.1475, allocations: 387.8 kB / 0.5124 GB, free: 2.734 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001471/0.1489, allocations: 0.8141 MB / 0.5132 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00276/0.1517, allocations: 1.31 MB / 0.5145 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2115/0.3632, allocations: 3.705 MB / 0.5181 GB, free: 13.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.3632, allocations: 3.062 kB / 0.5181 GB, free: 13.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3632, allocations: 0 / 0.5181 GB, free: 13.72 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000124/0.3633, allocations: 3.312 kB / 0.5181 GB, free: 13.72 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.007424/0.3708, allocations: 2.74 MB / 0.5208 GB, free: 12.61 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.3708, allocations: 10.03 kB / 0.5208 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.572e-05/0.3709, allocations: 51.48 kB / 0.5209 GB, free: 12.61 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003817/0.3712, allocations: 291.1 kB / 0.5212 GB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007012/0.3719, allocations: 284.3 kB / 0.5214 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.3743, allocations: 1.367 MB / 0.5228 GB, free: 12.05 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001399/0.3744, allocations: 189.4 kB / 0.5229 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002874/0.3747, allocations: 194.3 kB / 0.5231 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004386/0.3791, allocations: 2.596 MB / 0.5257 GB, free: 11.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.625e-05/0.3792, allocations: 7.703 kB / 0.5257 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001972/0.3794, allocations: 82.22 kB / 0.5258 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001041/0.3795, allocations: 99.42 kB / 0.5258 GB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003929/0.3834, allocations: 2.183 MB / 0.528 GB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01211/0.3955, allocations: 8.082 MB / 0.5359 GB, free: 7.918 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.3985, allocations: 1.349 MB / 0.5372 GB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001415/0.3999, allocations: 0.7482 MB / 0.5379 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002476/0.4002, allocations: 46.34 kB / 0.538 GB, free: 7.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001356/0.4015, allocations: 0.8029 MB / 0.5387 GB, free: 6.793 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.076e-06/0.4015, allocations: 0 / 0.5387 GB, free: 6.793 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01787/0.4194, allocations: 6.292 MB / 0.5449 GB, free: 3.59 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.4194, allocations: 168.5 kB / 0.5451 GB, free: 3.402 MB / 382.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.002053/0.4215, allocations: 1.344 MB / 0.5464 GB, free: 2.668 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.4217, allocations: 47.55 kB / 0.5464 GB, free: 2.621 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006486/0.4223, allocations: 0.9962 MB / 0.5474 GB, free: 1.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003456/0.4227, allocations: 445.7 kB / 0.5478 GB, free: 1.371 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004364/0.4231, allocations: 269.8 kB / 0.5481 GB, free: 1.215 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.995e-05/0.4231, allocations: 301.1 kB / 0.5484 GB, free: 0.918 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001279/0.4244, allocations: 0.7446 MB / 0.5491 GB, free: 0.543 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001541/0.426, allocations: 1.185 MB / 0.5502 GB, free: 15.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01041/0.4364, allocations: 3.954 MB / 0.5541 GB, free: 13.23 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.468e-05/0.4364, allocations: 4 kB / 0.5541 GB, free: 13.23 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006511/0.4429, allocations: 2.703 MB / 0.5567 GB, free: 10.57 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.261e-05/0.4429, allocations: 41.77 kB / 0.5568 GB, free: 10.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/0.443, allocations: 12 kB / 0.5568 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002507/0.4455, allocations: 0.5989 MB / 0.5574 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00164/0.4471, allocations: 416.4 kB / 0.5578 GB, free: 9.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/0.4592, allocations: 9.009 MB / 0.5666 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001948/0.4611, allocations: 135.9 kB / 0.5667 GB, free: 15.87 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002126/0.4613, allocations: 71.45 kB / 0.5668 GB, free: 15.8 MB / 414.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.002814/0.4641, allocations: 1.275 MB / 0.568 GB, free: 14.54 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002027/0.4662, allocations: 1.161 MB / 0.5692 GB, free: 13.2 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01205/0.4782, allocations: 3.929 MB / 0.573 GB, free: 9.133 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.11e-05/0.4782, allocations: 0 / 0.573 GB, free: 9.133 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.007567/0.4858, allocations: 2.688 MB / 0.5756 GB, free: 6.5 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.552e-05/0.4859, allocations: 45.7 kB / 0.5757 GB, free: 6.449 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.4859, allocations: 12 kB / 0.5757 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002544/0.4884, allocations: 0.6011 MB / 0.5763 GB, free: 5.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00182/0.4902, allocations: 403.2 kB / 0.5766 GB, free: 5.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01202/0.5023, allocations: 9.022 MB / 0.5854 GB, free: 11.9 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001827/0.5041, allocations: 147.8 kB / 0.5856 GB, free: 11.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/0.5043, allocations: 63.98 kB / 0.5857 GB, free: 11.7 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: 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.0005466/0.5049, allocations: 300 kB / 0.5859 GB, free: 11.42 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004413/0.5053, allocations: 163 kB / 0.5861 GB, free: 11.26 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006062/0.5114, allocations: 2.39 MB / 0.5884 GB, free: 8.863 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.5114, allocations: 12 kB / 0.5884 GB, free: 8.852 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.326e-05/0.5114, allocations: 7.984 kB / 0.5884 GB, free: 8.844 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.5114, allocations: 3.984 kB / 0.5885 GB, free: 8.84 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01104/0.5224, allocations: 4.623 MB / 0.593 GB, free: 4.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.5225, allocations: 4 kB / 0.593 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/0.5238, allocations: 287.5 kB / 0.5932 GB, free: 3.91 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002202/0.526, allocations: 0.5813 MB / 0.5938 GB, free: 3.316 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.5262, allocations: 31.98 kB / 0.5938 GB, free: 3.285 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01175/0.5379, allocations: 9.171 MB / 0.6028 GB, free: 9.598 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.271e-06/0.5379, allocations: 4.031 kB / 0.6028 GB, free: 9.594 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008243/0.5462, allocations: 3.427 MB / 0.6061 GB, free: 6.121 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.5474, allocations: 314.7 kB / 0.6064 GB, free: 5.812 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005547/0.548, allocations: 31.94 kB / 0.6065 GB, free: 5.781 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00138/0.5494, allocations: 103.9 kB / 0.6066 GB, free: 5.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003605/0.5497, allocations: 124.1 kB / 0.6067 GB, free: 5.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001259/0.5499, allocations: 35.98 kB / 0.6067 GB, free: 5.527 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001874/0.5517, allocations: 0.9128 MB / 0.6076 GB, free: 4.613 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5517, allocations: 0 / 0.6076 GB, free: 4.613 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003388/0.5551, allocations: 0.7773 MB / 0.6084 GB, free: 3.836 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.008591/0.5637, allocations: 4.069 MB / 0.6124 GB, free: 15.73 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.009752/0.5735, allocations: 4.525 MB / 0.6168 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.485e-06/0.5735, allocations: 4.75 kB / 0.6168 GB, free: 11.14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003551/0.577, allocations: 1.699 MB / 0.6184 GB, free: 9.398 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/0.5796, allocations: 419.5 kB / 0.6188 GB, free: 9.004 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03418/0.6138, allocations: 16.8 MB / 0.6352 GB, free: 7.742 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001952/0.6157, allocations: 1.676 MB / 0.6369 GB, free: 6.031 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00161/0.6173, allocations: 492.8 kB / 0.6374 GB, free: 5.547 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001279/0.6186, allocations: 0.7804 MB / 0.6381 GB, free: 4.766 MB / 478.1 MB Notification: Performance of SimCode: time 1.072e-06/0.6186, allocations: 0 / 0.6381 GB, free: 4.766 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1367/0.7553, allocations: 49.81 MB / 0.6868 GB, free: 3.406 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.31/17.07, allocations: 10.56 kB / 0.6868 GB, free: 3.402 MB / 0.5137 GB " [Timeout remaining time 643] (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 sys.exit(0), Time elapsed: 20.87712987291161] Failed to read output from testmodel.py, exit status != 0: 17.287762986961752 17.31700042 16.948621486 Calling exit ...