Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo", uses=false) Using package EHPTlib with version 2.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") translateModel(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 96.36 kB / 16.24 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 195 kB / 17.18 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 222.9 MB / 240.9 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03856/0.03856, allocations: 8.042 MB / 299 MB, free: 6.879 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 55.91 kB / 361.2 MB, free: 8.656 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2138/0.2151, allocations: 51.19 MB / 412.4 MB, free: 26.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.008295/0.2234, allocations: 9.87 MB / 422.3 MB, free: 16.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004849/0.2283, allocations: 2.859 MB / 425.1 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001376/0.2297, allocations: 51.75 kB / 425.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.2311, allocations: 0.5081 MB / 425.7 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002088/0.2332, allocations: 0.7376 MB / 426.4 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009579/0.2342, allocations: 0.4953 MB / 426.9 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002101/0.2363, allocations: 2.538 MB / 429.5 MB, free: 9.074 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.2378, allocations: 1.672 MB / 431.2 MB, free: 7.359 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001202/0.239, allocations: 1.082 MB / 432.2 MB, free: 6.273 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00129/0.2403, allocations: 1.362 MB / 433.6 MB, free: 4.906 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003541/0.2407, allocations: 292 kB / 433.9 MB, free: 4.621 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005976/0.2413, allocations: 375.8 kB / 434.2 MB, free: 4.254 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005341/0.2419, allocations: 0.8064 MB / 435.1 MB, free: 3.445 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009746/0.2428, allocations: 1.295 MB / 436.3 MB, free: 2.145 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002778/0.2456, allocations: 3.645 MB / 440 MB, free: 14.49 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.2457, allocations: 0 / 440 MB, free: 14.49 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2457, allocations: 0 / 440 MB, free: 14.49 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.855e-05/0.2457, allocations: 0 / 440 MB, free: 14.49 MB / 318.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.005769/0.2515, allocations: 2.754 MB / 442.7 MB, free: 11.67 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2516, allocations: 8.031 kB / 442.8 MB, free: 11.66 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006824/0.2523, allocations: 265.9 kB / 443 MB, free: 11.4 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002398/0.2547, allocations: 1.345 MB / 444.4 MB, free: 10 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000164/0.2549, allocations: 177.6 kB / 444.5 MB, free: 9.82 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000304/0.2552, allocations: 199.9 kB / 444.7 MB, free: 9.625 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004282/0.2595, allocations: 2.598 MB / 447.3 MB, free: 6.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.617e-05/0.2595, allocations: 7.906 kB / 447.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000168/0.2597, allocations: 83.98 kB / 447.4 MB, free: 6.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.442e-05/0.2598, allocations: 103.7 kB / 447.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003768/0.2636, allocations: 2.193 MB / 449.7 MB, free: 4.594 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01297/0.2766, allocations: 8.306 MB / 458 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002897/0.2795, allocations: 1.64 MB / 459.7 MB, free: 10.33 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001449/0.281, allocations: 0.8274 MB / 460.5 MB, free: 9.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002751/0.2813, allocations: 126.1 kB / 460.6 MB, free: 9.355 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001369/0.2827, allocations: 0.8028 MB / 461.4 MB, free: 8.527 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.865e-06/0.2827, allocations: 0 / 461.4 MB, free: 8.527 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.01598/0.2987, allocations: 6.645 MB / 468.1 MB, free: 1.754 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.948e-05/0.2988, allocations: 171.2 kB / 468.2 MB, free: 1.551 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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 / (6.283185307179586 * smpm1.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0.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.0.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.0.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.0.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 / (6.283185307179586 * smpm1.fsNominal)) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002026/0.3008, allocations: 1.393 MB / 469.6 MB, free: 148 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.301, allocations: 49.7 kB / 469.7 MB, free: 92 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007729/0.3018, allocations: 0.963 MB / 470.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003713/0.3022, allocations: 425.9 kB / 471 MB, free: 14.69 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004186/0.3026, allocations: 275.4 kB / 471.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.3027, allocations: 301.1 kB / 471.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.304, allocations: 0.7504 MB / 472.4 MB, free: 13.36 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001579/0.3056, allocations: 1.189 MB / 473.5 MB, free: 12 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01027/0.3159, allocations: 3.99 MB / 477.5 MB, free: 7.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.3159, allocations: 4 kB / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005984/0.3219, allocations: 2.727 MB / 480.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.96e-05/0.322, allocations: 39.58 kB / 480.3 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.322, allocations: 12 kB / 480.3 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002391/0.3244, allocations: 0.6024 MB / 480.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001586/0.326, allocations: 415.3 kB / 481.3 MB, free: 3.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01064/0.3367, allocations: 9.553 MB / 490.9 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.3383, allocations: 143.8 kB / 491 MB, free: 9.555 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002326/0.3385, allocations: 63.98 kB / 491.1 MB, free: 9.492 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.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.00234/0.3409, allocations: 1.27 MB / 492.3 MB, free: 8.223 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001593/0.3425, allocations: 1.173 MB / 493.5 MB, free: 6.875 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01016/0.3526, allocations: 3.962 MB / 497.5 MB, free: 2.723 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.913e-05/0.3527, allocations: 11.92 kB / 497.5 MB, free: 2.711 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005994/0.3587, allocations: 2.696 MB / 0.4885 GB, free: 15.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.071e-05/0.3588, allocations: 44.3 kB / 0.4885 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.3588, allocations: 12 kB / 0.4885 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002363/0.3612, allocations: 0.6063 MB / 0.4891 GB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001579/0.3628, allocations: 407.4 kB / 0.4895 GB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/0.3735, allocations: 9.55 MB / 0.4988 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.3751, allocations: 147.7 kB / 0.499 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002433/0.3754, allocations: 68.06 kB / 0.499 GB, free: 4.426 MB / 382.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.0005611/0.376, allocations: 289.9 kB / 0.4993 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003808/0.3764, allocations: 158.1 kB / 0.4995 GB, free: 3.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005356/0.3817, allocations: 2.391 MB / 0.5018 GB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/0.3818, allocations: 12 kB / 0.5018 GB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.3818, allocations: 4 kB / 0.5018 GB, free: 1.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.571e-05/0.3818, allocations: 7.969 kB / 0.5018 GB, free: 1.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1803/0.5621, allocations: 4.694 MB / 0.5064 GB, free: 89.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.759e-06/0.5622, allocations: 6.594 kB / 0.5064 GB, free: 89.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001235/0.5634, allocations: 291 kB / 0.5067 GB, free: 89.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001936/0.5654, allocations: 0.5856 MB / 0.5073 GB, free: 89.08 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/0.5655, allocations: 35.8 kB / 0.5073 GB, free: 89.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009061/0.5746, allocations: 9.701 MB / 0.5168 GB, free: 81.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.5746, allocations: 4.094 kB / 0.5168 GB, free: 81.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006079/0.5807, allocations: 3.437 MB / 0.5201 GB, free: 80.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008229/0.5815, allocations: 382.4 kB / 0.5205 GB, free: 79.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002059/0.5818, allocations: 31.44 kB / 0.5205 GB, free: 79.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000933/0.5827, allocations: 104.3 kB / 0.5206 GB, free: 79.81 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003144/0.583, allocations: 114.5 kB / 0.5207 GB, free: 79.79 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-05/0.5831, allocations: 37.52 kB / 0.5208 GB, free: 79.79 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001165/0.5843, allocations: 0.9268 MB / 0.5217 GB, free: 79.41 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5843, allocations: 0 / 0.5217 GB, free: 79.41 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00216/0.5865, allocations: 0.7871 MB / 0.5224 GB, free: 79.34 MB / 382.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.0003108/0.5868, allocations: 187.1 kB / 0.5226 GB, free: 79.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.007963/0.5948, allocations: 5.303 MB / 0.5278 GB, free: 75.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.5948, allocations: 0 / 0.5278 GB, free: 75.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002626/0.5974, allocations: 1.819 MB / 0.5296 GB, free: 73.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002253/0.5997, allocations: 412.7 kB / 0.53 GB, free: 72.87 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007191/0.6069, allocations: 4.286 MB / 0.5342 GB, free: 68.6 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/0.6083, allocations: 1.668 MB / 0.5358 GB, free: 66.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005848/0.6089, allocations: 119.4 kB / 0.5359 GB, free: 66.78 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.6089, allocations: 4 kB / 0.5359 GB, free: 66.77 MB / 382.1 MB Notification: Performance of Templates: time 0.07307/0.6819, allocations: 84.35 MB / 0.6183 GB, free: 14.41 MB / 414.1 MB make -j1 -f EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.makefile (rm -f EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & ./EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1)