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.0008743/0.0008743, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008705/0.0008705, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9316/0.9316, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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.02569/0.02569, allocations: 6.474 MB / 265.7 MB, free: 6.836 MB / 250.7 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: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 0 / 391.6 MB, free: 4.531 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.47e-05, allocations: 2.281 kB / 391.6 MB, free: 4.527 MB / 314.7 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.00748/0.007505, allocations: 8.791 MB / 400.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.005407/0.01291, allocations: 2.797 MB / 403.2 MB, free: 8.891 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.01448, allocations: 63.56 kB / 403.3 MB, free: 8.828 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00179/0.01627, allocations: 0.4964 MB / 403.8 MB, free: 8.328 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002953/0.01922, allocations: 0.8264 MB / 404.6 MB, free: 7.496 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001172/0.02039, allocations: 0.5108 MB / 405.1 MB, free: 6.984 MB / 330.7 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.00303/0.02342, allocations: 2.649 MB / 407.8 MB, free: 4.328 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.02483, allocations: 0.9619 MB / 408.7 MB, free: 3.324 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.02712, allocations: 1.633 MB / 410.4 MB, free: 1.688 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001753/0.02888, allocations: 1.173 MB / 411.5 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004509/0.02933, allocations: 292 kB / 411.8 MB, free: 232 kB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1691/0.1984, allocations: 373.9 kB / 412.2 MB, free: 19.12 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001171/0.1996, allocations: 0.8402 MB / 413 MB, free: 19.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001603/0.2012, allocations: 0.8902 MB / 413.9 MB, free: 19.12 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005048/0.2062, allocations: 3.774 MB / 417.7 MB, free: 18.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.2062, allocations: 7.25 kB / 417.7 MB, free: 18.96 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2062, allocations: 3.5 kB / 417.7 MB, free: 18.96 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000116/0.2064, allocations: 1.094 kB / 417.7 MB, free: 18.96 MB / 330.7 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.006731/0.2131, allocations: 2.723 MB / 420.4 MB, free: 17.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.666e-05/0.2132, allocations: 10.62 kB / 420.4 MB, free: 17.84 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003401/0.2135, allocations: 286.7 kB / 420.7 MB, free: 17.8 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000652/0.2141, allocations: 287.4 kB / 421 MB, free: 17.66 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.2161, allocations: 1.362 MB / 422.3 MB, free: 17.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001208/0.2162, allocations: 181.3 kB / 422.5 MB, free: 17.11 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.2165, allocations: 201.6 kB / 422.7 MB, free: 17.05 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003562/0.22, allocations: 2.701 MB / 425.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.57e-05/0.2201, allocations: 10.8 kB / 425.4 MB, free: 15.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001435/0.2202, allocations: 83.89 kB / 425.5 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.928e-05/0.2203, allocations: 98.25 kB / 425.6 MB, free: 15.82 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002878/0.2232, allocations: 2.172 MB / 427.8 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008228/0.2314, allocations: 7.472 MB / 435.3 MB, free: 10.29 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.2331, allocations: 1.341 MB / 436.6 MB, free: 9.641 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008806/0.234, allocations: 0.7395 MB / 437.3 MB, free: 9.277 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.2342, allocations: 54 kB / 437.4 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008254/0.235, allocations: 0.8844 MB / 438.3 MB, free: 8.676 MB / 330.7 MB Notification: Performance of pre-optimization done (n=104): time 3.937e-06/0.235, allocations: 0 / 438.3 MB, free: 8.676 MB / 330.7 MB Notification: Performance of matching and sorting (n=121): time 0.009123/0.2441, allocations: 6.28 MB / 444.5 MB, free: 4.598 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.2442, allocations: 167.2 kB / 444.7 MB, free: 4.398 MB / 330.7 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.001626/0.2458, allocations: 1.37 MB / 446.1 MB, free: 3.016 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.2459, allocations: 49.69 kB / 446.1 MB, free: 2.961 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005553/0.2465, allocations: 0.9881 MB / 447.1 MB, free: 1.965 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002303/0.2467, allocations: 443.4 kB / 447.6 MB, free: 1.543 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002694/0.247, allocations: 275.5 kB / 447.8 MB, free: 1.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.11e-05/0.247, allocations: 305.1 kB / 448.1 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008449/0.2478, allocations: 0.7746 MB / 448.9 MB, free: 192 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.2491, allocations: 1.313 MB / 450.2 MB, free: 14.67 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00611/0.2553, allocations: 3.946 MB / 454.2 MB, free: 10.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.248e-05/0.2553, allocations: 4 kB / 454.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.003623/0.2589, allocations: 2.732 MB / 456.9 MB, free: 7.895 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.295e-05/0.2589, allocations: 37.7 kB / 456.9 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.259, allocations: 13.06 kB / 456.9 MB, free: 7.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001229/0.2602, allocations: 0.6088 MB / 457.5 MB, free: 7.219 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008329/0.261, allocations: 397.5 kB / 457.9 MB, free: 6.848 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007104/0.2681, allocations: 8.961 MB / 466.9 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/0.2695, allocations: 139.7 kB / 467 MB, free: 13.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.932e-05/0.2696, allocations: 67.98 kB / 467.1 MB, free: 13.17 MB / 362.7 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.firstOrderWithGain.y:VARIABLE(flow=false start = myMTPA.firstOrderWithGain.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.001921/0.2716, allocations: 1.29 MB / 468.4 MB, free: 11.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001284/0.2728, allocations: 1.292 MB / 469.7 MB, free: 10.37 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005567/0.2784, allocations: 3.925 MB / 473.6 MB, free: 6.309 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.077e-05/0.2784, allocations: 4 kB / 473.6 MB, free: 6.305 MB / 362.7 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.003534/0.282, allocations: 2.707 MB / 476.3 MB, free: 3.641 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.857e-05/0.282, allocations: 33.7 kB / 476.3 MB, free: 3.602 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.282, allocations: 12 kB / 476.4 MB, free: 3.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/0.2834, allocations: 0.6052 MB / 477 MB, free: 2.973 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008133/0.2842, allocations: 403.8 kB / 477.4 MB, free: 2.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006405/0.2906, allocations: 8.961 MB / 486.3 MB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00131/0.2919, allocations: 143.8 kB / 486.5 MB, free: 8.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.397e-05/0.292, allocations: 67.92 kB / 486.5 MB, free: 8.91 MB / 378.7 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.firstOrderWithGain.y:VARIABLE(flow=false start = myMTPA.firstOrderWithGain.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.0003832/0.2924, allocations: 296.2 kB / 486.8 MB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001916/0.2926, allocations: 159 kB / 487 MB, free: 8.484 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/0.2958, allocations: 2.388 MB / 489.4 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.2958, allocations: 12 kB / 489.4 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2958, allocations: 0 / 489.4 MB, free: 6.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.2958, allocations: 12.06 kB / 489.4 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005849/0.3017, allocations: 4.389 MB / 493.8 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.3017, allocations: 4 kB / 493.8 MB, free: 1.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006542/0.3023, allocations: 283.7 kB / 494.1 MB, free: 1.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001081/0.3034, allocations: 0.5834 MB / 494.6 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.991e-05/0.3035, allocations: 31.98 kB / 494.7 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006537/0.31, allocations: 9.095 MB / 0.492 GB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.31, allocations: 4 kB / 0.492 GB, free: 7.129 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004719/0.3147, allocations: 3.418 MB / 0.4953 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007962/0.3155, allocations: 314.8 kB / 0.4956 GB, free: 3.355 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.3157, allocations: 24 kB / 0.4956 GB, free: 3.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005387/0.3162, allocations: 111.7 kB / 0.4957 GB, free: 3.227 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002614/0.3165, allocations: 131.8 kB / 0.4959 GB, free: 3.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.773e-05/0.3165, allocations: 35.98 kB / 0.4959 GB, free: 3.066 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009991/0.3175, allocations: 0.9128 MB / 0.4968 GB, free: 2.152 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3175, allocations: 0 / 0.4968 GB, free: 2.152 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001835/0.3194, allocations: 0.7812 MB / 0.4975 GB, free: 1.371 MB / 394.7 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.firstOrderWithGain.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.00465/0.324, allocations: 4.052 MB / 0.5015 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005537/0.3296, allocations: 4.579 MB / 0.506 GB, free: 8.531 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.3296, allocations: 4.812 kB / 0.506 GB, free: 8.527 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00218/0.3317, allocations: 1.694 MB / 0.5076 GB, free: 6.77 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.3334, allocations: 418.1 kB / 0.508 GB, free: 6.371 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02327/0.3567, allocations: 16.84 MB / 0.5245 GB, free: 4.918 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009955/0.3577, allocations: 1.104 MB / 0.5256 GB, free: 3.773 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001165/0.3589, allocations: 493 kB / 0.526 GB, free: 3.285 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008012/0.3597, allocations: 0.7815 MB / 0.5268 GB, free: 2.504 MB / 426.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3597, allocations: 0 / 0.5268 GB, free: 2.504 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.222/0.5817, allocations: 51.3 MB / 0.5769 GB, free: 161.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.343/9.924, allocations: 4.312 kB / 0.5769 GB, free: 161.3 MB / 474.7 MB " [Timeout remaining time 650] (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 os._exit(0), Time elapsed: 11.882195984944701] Failed to read output from testmodel.py, exit status != 0: 10.044750872068107 10.060765084 9.851567899 Calling exit ...