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.00129/0.00129, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001541/0.001541, allocations: 214.6 kB / 22.24 MB, free: 5.262 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.415/1.415, allocations: 230.6 MB / 256 MB, free: 7.797 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.04224/0.04224, allocations: 8.546 MB / 321 MB, free: 10.43 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: EHPTlib requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002482/0.002482, allocations: 71.83 kB / 446.9 MB, free: 15.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1131, allocations: 55.43 MB / 0.4905 GB, free: 8.164 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.0127/0.1258, allocations: 8.772 MB / 0.4991 GB, free: 15.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006581/0.1324, allocations: 2.782 MB / 0.5018 GB, free: 12.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001343/0.1338, allocations: 63.56 kB / 0.5018 GB, free: 12.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001445/0.1352, allocations: 0.5081 MB / 0.5023 GB, free: 11.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00255/0.1378, allocations: 0.7883 MB / 0.5031 GB, free: 11.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001257/0.139, allocations: 0.507 MB / 0.5036 GB, free: 10.68 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.003774/0.1428, allocations: 2.565 MB / 0.5061 GB, free: 8.109 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.1445, allocations: 0.9658 MB / 0.5071 GB, free: 7.094 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001751/0.1463, allocations: 1.121 MB / 0.5082 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002201/0.1485, allocations: 1.311 MB / 0.5094 GB, free: 4.652 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005754/0.149, allocations: 291.9 kB / 0.5097 GB, free: 4.367 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008486/0.1499, allocations: 379.8 kB / 0.5101 GB, free: 3.996 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008839/0.1508, allocations: 0.8219 MB / 0.5109 GB, free: 3.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001271/0.152, allocations: 1.05 MB / 0.5119 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2097/0.3618, allocations: 3.742 MB / 0.5156 GB, free: 13.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.151e-06/0.3618, allocations: 0.6562 kB / 0.5156 GB, free: 13.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.3618, allocations: 0 / 0.5156 GB, free: 13.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.658e-05/0.3619, allocations: 0 / 0.5156 GB, free: 13.71 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.005303/0.3672, allocations: 2.741 MB / 0.5182 GB, free: 12.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3672, allocations: 13.42 kB / 0.5182 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003424/0.3676, allocations: 282.5 kB / 0.5185 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000628/0.3682, allocations: 285 kB / 0.5188 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002481/0.3707, allocations: 1.368 MB / 0.5201 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.3708, allocations: 184.2 kB / 0.5203 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/0.3711, allocations: 200.2 kB / 0.5205 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004141/0.3752, allocations: 2.698 MB / 0.5231 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.033e-05/0.3753, allocations: 9.031 kB / 0.5231 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001799/0.3755, allocations: 80.7 kB / 0.5232 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.3756, allocations: 101.4 kB / 0.5233 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003925/0.3795, allocations: 2.173 MB / 0.5254 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01168/0.3912, allocations: 7.475 MB / 0.5327 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002855/0.394, allocations: 1.332 MB / 0.534 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.3954, allocations: 0.7552 MB / 0.5348 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002266/0.3957, allocations: 45.88 kB / 0.5348 GB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/0.397, allocations: 0.8796 MB / 0.5357 GB, free: 7.285 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.086e-06/0.397, allocations: 0 / 0.5357 GB, free: 7.285 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01538/0.4124, allocations: 6.277 MB / 0.5418 GB, free: 4.828 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.755e-05/0.4124, allocations: 177.5 kB / 0.542 GB, free: 4.633 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.001755/0.4142, allocations: 1.362 MB / 0.5433 GB, free: 3.887 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001369/0.4143, allocations: 48.27 kB / 0.5433 GB, free: 3.84 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005646/0.4149, allocations: 0.9923 MB / 0.5443 GB, free: 2.969 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002554/0.4151, allocations: 448.1 kB / 0.5447 GB, free: 2.59 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003667/0.4155, allocations: 274.8 kB / 0.545 GB, free: 2.43 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 3.454e-05/0.4155, allocations: 301.1 kB / 0.5453 GB, free: 2.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001179/0.4167, allocations: 0.7709 MB / 0.546 GB, free: 1.727 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001325/0.418, allocations: 1.314 MB / 0.5473 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01004/0.4281, allocations: 3.956 MB / 0.5512 GB, free: 14.37 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-05/0.4281, allocations: 3.938 kB / 0.5512 GB, free: 14.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006133/0.4342, allocations: 2.731 MB / 0.5539 GB, free: 12.47 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.457e-05/0.4343, allocations: 53.19 kB / 0.5539 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.184e-05/0.4343, allocations: 13.69 kB / 0.5539 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002495/0.4368, allocations: 0.5959 MB / 0.5545 GB, free: 11.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001704/0.4385, allocations: 417.4 kB / 0.5549 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01178/0.4503, allocations: 8.948 MB / 0.5636 GB, free: 1.945 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/0.4521, allocations: 139.8 kB / 0.5638 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002433/0.4523, allocations: 68.05 kB / 0.5638 GB, free: 1.742 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002621/0.455, allocations: 1.284 MB / 0.5651 GB, free: 464 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001906/0.4569, allocations: 1.294 MB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01104/0.4679, allocations: 3.926 MB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.444e-05/0.4679, allocations: 4 kB / 0.5702 GB, free: 10.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006392/0.4743, allocations: 2.711 MB / 0.5728 GB, free: 8.219 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.94e-05/0.4744, allocations: 41.69 kB / 0.5729 GB, free: 8.172 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.4744, allocations: 17.94 kB / 0.5729 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002346/0.4767, allocations: 0.5983 MB / 0.5735 GB, free: 7.547 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001593/0.4783, allocations: 408.6 kB / 0.5739 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01168/0.49, allocations: 8.957 MB / 0.5826 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/0.4917, allocations: 139.8 kB / 0.5828 GB, free: 13.55 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/0.4919, allocations: 71.98 kB / 0.5828 GB, free: 13.48 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.0005652/0.4924, allocations: 308.9 kB / 0.5831 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003762/0.4928, allocations: 161 kB / 0.5833 GB, free: 13.04 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005773/0.4986, allocations: 2.38 MB / 0.5856 GB, free: 10.65 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/0.4986, allocations: 12 kB / 0.5856 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.4986, allocations: 8 kB / 0.5856 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-05/0.4986, allocations: 7.969 kB / 0.5856 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/0.5086, allocations: 4.377 MB / 0.5899 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.5086, allocations: 6.719 kB / 0.5899 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.51, allocations: 292.1 kB / 0.5902 GB, free: 5.938 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/0.5122, allocations: 0.5833 MB / 0.5908 GB, free: 5.344 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001257/0.5123, allocations: 35.97 kB / 0.5908 GB, free: 5.309 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/0.5243, allocations: 9.103 MB / 0.5997 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.5243, allocations: 2.812 kB / 0.5997 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008042/0.5323, allocations: 3.428 MB / 0.603 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.5335, allocations: 310.8 kB / 0.6033 GB, free: 7.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003161/0.5338, allocations: 36.2 kB / 0.6034 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.535, allocations: 103.9 kB / 0.6035 GB, free: 7.781 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003831/0.5354, allocations: 123.9 kB / 0.6036 GB, free: 7.664 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.847e-05/0.5355, allocations: 39.92 kB / 0.6036 GB, free: 7.625 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00155/0.537, allocations: 0.9128 MB / 0.6045 GB, free: 6.711 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.537, allocations: 0 / 0.6045 GB, free: 6.711 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002688/0.5397, allocations: 0.7773 MB / 0.6053 GB, free: 5.934 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.007888/0.5476, allocations: 4.061 MB / 0.6092 GB, free: 1.82 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009003/0.5566, allocations: 4.587 MB / 0.6137 GB, free: 13.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/0.5566, allocations: 4.062 kB / 0.6137 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003431/0.56, allocations: 1.697 MB / 0.6154 GB, free: 11.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00216/0.5622, allocations: 418.3 kB / 0.6158 GB, free: 11.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03165/0.5938, allocations: 16.89 MB / 0.6323 GB, free: 9.656 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001376/0.5952, allocations: 1.104 MB / 0.6333 GB, free: 8.512 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001553/0.5968, allocations: 491.3 kB / 0.6338 GB, free: 8.027 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/0.5979, allocations: 0.7766 MB / 0.6346 GB, free: 7.25 MB / 478.1 MB Notification: Performance of SimCode: time 1.383e-06/0.5979, allocations: 4 kB / 0.6346 GB, free: 7.246 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1208/0.7187, allocations: 51.24 MB / 0.6846 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.27, allocations: 2.5 kB / 0.6846 GB, free: 4.547 MB / 0.5137 GB " [Timeout remaining time 645] (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: 18.546125466935337] Failed to read output from testmodel.py, exit status != 0: 15.41983598517254 15.437623346 15.072582096 Calling exit ...