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.001863/0.001863, allocations: 78.25 kB / 19.18 MB, free: 2.512 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.001556/0.001556, allocations: 163.7 kB / 22.46 MB, free: 5.367 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.495/1.495, allocations: 177.1 MB / 202.8 MB, free: 9.141 MB / 190.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.04259/0.04259, allocations: 6.5 MB / 265.7 MB, free: 10.23 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: translateModel(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") translateModel(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.547e-06/3.547e-06, allocations: 0 / 392.1 MB, free: 9.734 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.723e-05/4.078e-05, allocations: 2.281 kB / 392.1 MB, free: 9.73 MB / 318.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.02139/0.02143, allocations: 8.791 MB / 400.9 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.03227, allocations: 2.793 MB / 403.7 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003545/0.03582, allocations: 63.56 kB / 403.8 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003201/0.03902, allocations: 0.4964 MB / 404.3 MB, free: 13.54 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005747/0.04477, allocations: 0.8225 MB / 405.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002704/0.04747, allocations: 0.5031 MB / 405.6 MB, free: 12.2 MB / 334.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.006581/0.05405, allocations: 2.658 MB / 408.3 MB, free: 9.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003505/0.05756, allocations: 0.9618 MB / 409.2 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005047/0.0626, allocations: 1.629 MB / 410.9 MB, free: 6.898 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003924/0.06653, allocations: 1.177 MB / 412 MB, free: 5.719 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001242/0.06777, allocations: 292 kB / 412.3 MB, free: 5.434 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001899/0.06967, allocations: 371.9 kB / 412.7 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001882/0.07155, allocations: 0.8452 MB / 413.5 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003461/0.07501, allocations: 0.8886 MB / 414.4 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009913/0.08492, allocations: 3.786 MB / 418.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.08493, allocations: 0 / 418.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.92e-07/0.08493, allocations: 0 / 418.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000139/0.08507, allocations: 4 kB / 418.2 MB, free: 15.53 MB / 350.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.01243/0.0975, allocations: 2.715 MB / 420.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.09756, allocations: 12.03 kB / 420.9 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001957/0.09952, allocations: 283.3 kB / 421.2 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005562/0.1051, allocations: 1.371 MB / 422.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003578/0.1054, allocations: 182.1 kB / 422.8 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001002/0.1064, allocations: 195.9 kB / 422.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01099/0.1174, allocations: 2.699 MB / 425.6 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001598/0.1176, allocations: 15.88 kB / 425.7 MB, free: 7.902 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006943/0.1183, allocations: 76 kB / 425.7 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002388/0.1185, allocations: 99.75 kB / 425.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009193/0.1277, allocations: 2.173 MB / 428 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02843/0.1561, allocations: 7.19 MB / 435.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006078/0.1622, allocations: 1.342 MB / 436.5 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002952/0.1652, allocations: 0.7455 MB / 437.3 MB, free: 12.03 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003995/0.1656, allocations: 48.95 kB / 437.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003141/0.1687, allocations: 0.8781 MB / 438.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of pre-optimization done (n=104): time 6.262e-06/0.1687, allocations: 0 / 438.2 MB, free: 11.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=121): time 0.02705/0.1958, allocations: 6.264 MB / 444.5 MB, free: 4.762 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/0.1959, allocations: 167.2 kB / 444.6 MB, free: 4.562 MB / 366.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.002228/0.1981, allocations: 1.207 MB / 445.8 MB, free: 3.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002488/0.1984, allocations: 45.7 kB / 445.9 MB, free: 3.293 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001197/0.1996, allocations: 0.9998 MB / 446.9 MB, free: 2.281 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005706/0.2002, allocations: 436.3 kB / 447.3 MB, free: 1.852 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005263/0.2007, allocations: 271.5 kB / 447.6 MB, free: 1.578 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.2009, allocations: 301.1 kB / 447.9 MB, free: 1.281 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001651/0.2025, allocations: 0.7794 MB / 448.7 MB, free: 0.4922 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1865/0.389, allocations: 1.298 MB / 449.9 MB, free: 62.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01094/0.4, allocations: 3.956 MB / 453.9 MB, free: 61.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.882e-05/0.4, allocations: 3.656 kB / 453.9 MB, free: 61.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006149/0.4062, allocations: 2.717 MB / 456.6 MB, free: 60.4 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.4062, allocations: 37.02 kB / 456.7 MB, free: 60.37 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.4062, allocations: 12.81 kB / 456.7 MB, free: 60.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002544/0.4088, allocations: 0.6091 MB / 457.3 MB, free: 60.22 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001931/0.4107, allocations: 407.8 kB / 457.7 MB, free: 60.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01044/0.4211, allocations: 8.846 MB / 466.5 MB, free: 53.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/0.423, allocations: 143 kB / 466.7 MB, free: 53.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001424/0.4232, allocations: 68.53 kB / 466.7 MB, free: 53.12 MB / 366.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.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.002274/0.4254, allocations: 1.295 MB / 468 MB, free: 52.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001486/0.4269, allocations: 1.287 MB / 469.3 MB, free: 51.64 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00949/0.4364, allocations: 3.926 MB / 473.2 MB, free: 49.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.604e-05/0.4364, allocations: 3.375 kB / 473.2 MB, free: 49.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005379/0.4418, allocations: 2.695 MB / 475.9 MB, free: 46.66 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.098e-05/0.4418, allocations: 41.69 kB / 476 MB, free: 46.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.4418, allocations: 16.31 kB / 476 MB, free: 46.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002112/0.444, allocations: 0.5986 MB / 476.6 MB, free: 45.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001439/0.4454, allocations: 403.4 kB / 477 MB, free: 45.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008335/0.4537, allocations: 8.85 MB / 485.8 MB, free: 36.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.4552, allocations: 145.8 kB / 486 MB, free: 36.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001004/0.4553, allocations: 68.05 kB / 486 MB, free: 36.11 MB / 366.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.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.0004848/0.4558, allocations: 295.5 kB / 486.3 MB, free: 35.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002289/0.456, allocations: 149.7 kB / 486.5 MB, free: 35.73 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004851/0.4609, allocations: 2.364 MB / 488.8 MB, free: 33.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.4609, allocations: 16 kB / 488.9 MB, free: 33.33 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.4609, allocations: 7.938 kB / 488.9 MB, free: 33.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.4609, allocations: 3.984 kB / 488.9 MB, free: 33.32 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007477/0.4684, allocations: 4.155 MB / 493 MB, free: 29.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.4684, allocations: 4 kB / 493 MB, free: 29.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/0.4696, allocations: 279.9 kB / 493.3 MB, free: 28.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001951/0.4716, allocations: 0.5856 MB / 493.9 MB, free: 28.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-05/0.4717, allocations: 31.98 kB / 493.9 MB, free: 28.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008404/0.4801, allocations: 8.975 MB / 0.4911 GB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.4801, allocations: 8.062 kB / 0.4911 GB, free: 18.72 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006155/0.4862, allocations: 3.411 MB / 0.4945 GB, free: 15.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006649/0.4869, allocations: 288.9 kB / 0.4947 GB, free: 14.97 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002071/0.4871, allocations: 35.92 kB / 0.4948 GB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009537/0.4881, allocations: 107.9 kB / 0.4949 GB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004027/0.4885, allocations: 120.7 kB / 0.495 GB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-05/0.4885, allocations: 39.98 kB / 0.495 GB, free: 14.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009441/0.4895, allocations: 0.7878 MB / 0.4958 GB, free: 13.88 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4895, allocations: 0 / 0.4958 GB, free: 13.88 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002321/0.4918, allocations: 0.7794 MB / 0.4965 GB, free: 13.1 MB / 366.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.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.000375/0.4922, allocations: 190.4 kB / 0.4967 GB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.007781/0.5, allocations: 4.581 MB / 0.5012 GB, free: 8.172 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/0.5, allocations: 0 / 0.5012 GB, free: 8.172 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00287/0.5028, allocations: 1.7 MB / 0.5029 GB, free: 6.414 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/0.5047, allocations: 389.8 kB / 0.5032 GB, free: 6.051 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005682/0.5104, allocations: 4.076 MB / 0.5072 GB, free: 1.938 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008703/0.5113, allocations: 1.104 MB / 0.5083 GB, free: 0.7969 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001148/0.5124, allocations: 467.8 kB / 0.5087 GB, free: 344 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003334/0.5128, allocations: 104.5 kB / 0.5088 GB, free: 240 kB / 366.1 MB Notification: Performance of SimCode: time 9.82e-07/0.5128, allocations: 0 / 0.5088 GB, free: 240 kB / 366.1 MB Notification: Performance of Templates: time 0.05823/0.571, allocations: 30.75 MB / 0.5389 GB, free: 1.812 MB / 398.1 MB " [Timeout remaining time 659] make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.makefile [Timeout 660] (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 & ./EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1786525920033455] Failed to read output from testmodel.py, exit status != 0: 0.5839010812342167 0.5978536099999999 0.509154632 Calling exit ...