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.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.001293/0.001293, 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.001453/0.001453, allocations: 215.6 kB / 22.25 MB, free: 5.254 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.04984/0.04984, allocations: 8.551 MB / 321 MB, free: 10.39 MB / 254.1 MB " [Timeout remaining time 180] Using package EHPTlib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/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_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: 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.002159/0.002159, allocations: 71.88 kB / 446.9 MB, free: 15.63 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1125, allocations: 55.42 MB / 0.4905 GB, free: 8.113 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.0128/0.1253, allocations: 8.782 MB / 0.4991 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006153/0.1315, allocations: 2.782 MB / 0.5018 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001326/0.1328, allocations: 63.56 kB / 0.5019 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001573/0.1344, allocations: 0.5082 MB / 0.5024 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002821/0.1372, allocations: 0.7882 MB / 0.5031 GB, free: 11.12 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001391/0.1386, allocations: 0.4954 MB / 0.5036 GB, free: 10.63 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.00347/0.142, allocations: 2.576 MB / 0.5061 GB, free: 8.047 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/0.1437, allocations: 0.9735 MB / 0.5071 GB, free: 7.023 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001993/0.1457, allocations: 1.117 MB / 0.5082 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002337/0.1481, allocations: 1.311 MB / 0.5094 GB, free: 4.586 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004546/0.1485, allocations: 292 kB / 0.5097 GB, free: 4.301 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008222/0.1493, allocations: 375.8 kB / 0.5101 GB, free: 3.934 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009355/0.1503, allocations: 0.8219 MB / 0.5109 GB, free: 3.109 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001461/0.1517, allocations: 1.058 MB / 0.5119 GB, free: 2.047 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2521/0.4039, allocations: 3.731 MB / 0.5156 GB, free: 13.71 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.4039, allocations: 1.5 kB / 0.5156 GB, free: 13.71 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4039, allocations: 1.406 kB / 0.5156 GB, free: 13.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001188/0.404, 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.006038/0.41, allocations: 2.744 MB / 0.5182 GB, free: 12.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.4101, allocations: 9.438 kB / 0.5183 GB, free: 12.6 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003753/0.4105, allocations: 284.3 kB / 0.5185 GB, free: 12.55 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007977/0.4113, allocations: 291.1 kB / 0.5188 GB, free: 12.42 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002781/0.414, allocations: 1.366 MB / 0.5201 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001569/0.4142, allocations: 185.9 kB / 0.5203 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003012/0.4145, allocations: 202.4 kB / 0.5205 GB, free: 12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005325/0.4198, allocations: 2.689 MB / 0.5231 GB, free: 11.69 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.501e-05/0.4199, allocations: 12.56 kB / 0.5231 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001996/0.4201, allocations: 79.88 kB / 0.5232 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001401/0.4202, allocations: 101.8 kB / 0.5233 GB, free: 11.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004795/0.425, allocations: 2.178 MB / 0.5254 GB, free: 11.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01621/0.4412, allocations: 7.469 MB / 0.5327 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/0.4445, allocations: 1.339 MB / 0.534 GB, free: 7.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/0.4459, allocations: 0.7457 MB / 0.5348 GB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/0.4462, allocations: 54.02 kB / 0.5348 GB, free: 7.656 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001415/0.4476, allocations: 0.8732 MB / 0.5357 GB, free: 7.254 MB / 382.1 MB Notification: Performance of pre-optimization done (n=104): time 3.687e-06/0.4476, allocations: 0 / 0.5357 GB, free: 7.254 MB / 382.1 MB Notification: Performance of matching and sorting (n=121): time 0.01686/0.4644, allocations: 6.278 MB / 0.5418 GB, free: 4.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.577e-05/0.4645, allocations: 177.1 kB / 0.542 GB, free: 4.645 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.002086/0.4666, allocations: 1.361 MB / 0.5433 GB, free: 3.898 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001225/0.4667, allocations: 48.42 kB / 0.5434 GB, free: 3.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005956/0.4673, allocations: 0.996 MB / 0.5443 GB, free: 2.977 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.4676, allocations: 445.4 kB / 0.5448 GB, free: 2.602 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003685/0.468, allocations: 273.8 kB / 0.545 GB, free: 2.441 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.106e-05/0.468, allocations: 301.1 kB / 0.5453 GB, free: 2.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001169/0.4692, allocations: 0.7796 MB / 0.5461 GB, free: 1.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001349/0.4705, allocations: 1.307 MB / 0.5473 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01009/0.4806, allocations: 3.962 MB / 0.5512 GB, free: 14.39 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.74e-05/0.4807, allocations: 7.828 kB / 0.5512 GB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006331/0.487, allocations: 2.733 MB / 0.5539 GB, free: 12.46 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.282e-05/0.487, allocations: 41.69 kB / 0.5539 GB, free: 12.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.636e-05/0.4871, allocations: 12 kB / 0.5539 GB, free: 12.4 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002418/0.4895, allocations: 0.5971 MB / 0.5545 GB, free: 11.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.4911, allocations: 407.7 kB / 0.5549 GB, free: 11.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01263/0.5037, allocations: 8.954 MB / 0.5637 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002088/0.5058, allocations: 143.9 kB / 0.5638 GB, free: 1.809 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003677/0.5062, allocations: 63.98 kB / 0.5639 GB, free: 1.746 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.003703/0.5099, allocations: 1.288 MB / 0.5651 GB, free: 464 kB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002297/0.5122, allocations: 1.29 MB / 0.5664 GB, free: 14.96 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01162/0.5238, allocations: 3.922 MB / 0.5702 GB, free: 10.9 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.152e-05/0.5238, allocations: 7.984 kB / 0.5702 GB, free: 10.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006997/0.5308, allocations: 2.711 MB / 0.5729 GB, free: 8.227 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.575e-05/0.5309, allocations: 44.88 kB / 0.5729 GB, free: 8.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.582e-05/0.5309, allocations: 19.94 kB / 0.5729 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002464/0.5334, allocations: 0.5962 MB / 0.5735 GB, free: 7.551 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001613/0.535, allocations: 404.9 kB / 0.5739 GB, free: 7.176 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0123/0.5473, allocations: 8.972 MB / 0.5826 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001859/0.5492, allocations: 143.9 kB / 0.5828 GB, free: 13.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002955/0.5495, allocations: 67.92 kB / 0.5828 GB, free: 13.47 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.0007568/0.5502, allocations: 292.3 kB / 0.5831 GB, free: 13.21 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005656/0.5508, allocations: 159 kB / 0.5833 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006171/0.557, allocations: 2.391 MB / 0.5856 GB, free: 10.66 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.428e-05/0.557, allocations: 16 kB / 0.5856 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.557, allocations: 0 / 0.5856 GB, free: 10.64 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.663e-05/0.557, allocations: 7.969 kB / 0.5856 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/0.5684, allocations: 4.383 MB / 0.5899 GB, free: 6.219 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.5684, allocations: 4 kB / 0.5899 GB, free: 6.215 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001364/0.5697, allocations: 291.2 kB / 0.5902 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0022/0.5719, allocations: 0.5805 MB / 0.5908 GB, free: 5.348 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001311/0.5721, allocations: 35.97 kB / 0.5908 GB, free: 5.312 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01333/0.5854, allocations: 9.102 MB / 0.5997 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.077e-06/0.5854, allocations: 7.031 kB / 0.5997 GB, free: 11.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008445/0.5939, allocations: 3.424 MB / 0.603 GB, free: 8.223 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.5951, allocations: 310.8 kB / 0.6033 GB, free: 7.918 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005633/0.5957, allocations: 35.92 kB / 0.6034 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/0.597, allocations: 107.9 kB / 0.6035 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003951/0.5974, allocations: 115.5 kB / 0.6036 GB, free: 7.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.5976, allocations: 39.98 kB / 0.6036 GB, free: 7.629 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002026/0.5996, allocations: 0.9089 MB / 0.6045 GB, free: 6.719 MB / 446.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.5996, allocations: 0 / 0.6045 GB, free: 6.719 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003899/0.6035, allocations: 0.7773 MB / 0.6053 GB, free: 5.941 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.008524/0.612, allocations: 4.063 MB / 0.6092 GB, free: 1.828 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009878/0.6219, allocations: 4.594 MB / 0.6137 GB, free: 13.17 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.484e-05/0.6219, allocations: 4 kB / 0.6137 GB, free: 13.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003667/0.6256, allocations: 1.695 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.002959/0.6285, allocations: 422.4 kB / 0.6158 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03687/0.6654, allocations: 16.9 MB / 0.6323 GB, free: 9.656 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/0.6674, allocations: 1.1 MB / 0.6334 GB, free: 8.516 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.001693/0.6691, allocations: 493 kB / 0.6338 GB, free: 8.027 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/0.6704, allocations: 0.7766 MB / 0.6346 GB, free: 7.25 MB / 478.1 MB Notification: Performance of SimCode: time 1.452e-06/0.6704, allocations: 0 / 0.6346 GB, free: 7.25 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1562/0.8266, allocations: 51.23 MB / 0.6846 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.68/15.51, allocations: 8 kB / 0.6846 GB, free: 4.547 MB / 0.5137 GB " [Timeout remaining time 644] (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 & python3 -m fmpy simulate --output-file EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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: 18.628939082846045] Failed to read output from testmodel.py, exit status != 0: 15.66288925986737 15.680151954 15.2727348 Calling exit ...