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.001213/0.001213, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.001224/0.001224, allocations: 192.8 kB / 16.14 MB, free: 6.711 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.251/1.251, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1502/0.1502, allocations: 8.026 MB / 298 MB, free: 2.477 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001112/0.001112, allocations: 60.14 kB / 359.9 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.08967, allocations: 51.2 MB / 411.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.009925/0.09964, allocations: 9.817 MB / 421 MB, free: 1.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.143/0.2427, allocations: 2.824 MB / 423.8 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001399/0.2441, allocations: 48.28 kB / 423.8 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001113/0.2453, allocations: 439.6 kB / 424.3 MB, free: 37.09 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001656/0.247, allocations: 0.6576 MB / 424.9 MB, free: 37.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008036/0.2478, allocations: 461.6 kB / 425.4 MB, free: 37.06 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001951/0.2497, allocations: 2.843 MB / 428.2 MB, free: 36.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001208/0.251, allocations: 1.401 MB / 429.6 MB, free: 36.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009923/0.252, allocations: 0.9448 MB / 430.6 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.2531, allocations: 1.3 MB / 431.9 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002293/0.2533, allocations: 168.7 kB / 432 MB, free: 35.4 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005162/0.2539, allocations: 274.7 kB / 432.3 MB, free: 35.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004648/0.2543, allocations: 0.6911 MB / 433 MB, free: 35.06 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008345/0.2552, allocations: 1.161 MB / 434.1 MB, free: 34.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001894/0.2571, allocations: 3.561 MB / 437.7 MB, free: 33.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2571, allocations: 0 / 437.7 MB, free: 33.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2571, allocations: 0 / 437.7 MB, free: 33.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.548e-05/0.2571, allocations: 0 / 437.7 MB, free: 33.16 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.004146/0.2613, allocations: 2.747 MB / 440.4 MB, free: 31.62 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.2613, allocations: 8.969 kB / 440.5 MB, free: 31.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000611/0.2619, allocations: 266.6 kB / 440.7 MB, free: 31.5 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.2636, allocations: 1.34 MB / 442.1 MB, free: 30.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001198/0.2638, allocations: 189.2 kB / 442.2 MB, free: 30.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002261/0.264, allocations: 204.2 kB / 442.4 MB, free: 30.52 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003261/0.2673, allocations: 2.598 MB / 445 MB, free: 29.49 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.756e-05/0.2673, allocations: 11.06 kB / 445 MB, free: 29.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000155/0.2675, allocations: 79.5 kB / 445.1 MB, free: 29.42 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.581e-05/0.2676, allocations: 97.88 kB / 445.2 MB, free: 29.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002979/0.2706, allocations: 2.198 MB / 447.4 MB, free: 28.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008925/0.2795, allocations: 8.309 MB / 455.7 MB, free: 24.06 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.2819, allocations: 1.626 MB / 457.4 MB, free: 23.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001179/0.2831, allocations: 0.8314 MB / 458.2 MB, free: 23.05 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002122/0.2833, allocations: 124.9 kB / 458.3 MB, free: 22.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00113/0.2845, allocations: 0.8004 MB / 459.1 MB, free: 22.63 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.635e-06/0.2845, allocations: 3.938 kB / 459.1 MB, free: 22.62 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01465/0.2992, allocations: 6.62 MB / 465.7 MB, free: 20.05 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.2992, allocations: 173.8 kB / 465.9 MB, free: 19.86 MB / 350.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.001923/0.3012, allocations: 1.396 MB / 467.3 MB, free: 19.31 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.3013, allocations: 47.86 kB / 467.3 MB, free: 19.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005726/0.3019, allocations: 0.9718 MB / 468.3 MB, free: 18.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002506/0.3021, allocations: 419.9 kB / 468.7 MB, free: 18.2 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003825/0.3025, allocations: 270.7 kB / 469 MB, free: 18.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.452e-05/0.3025, allocations: 301.9 kB / 469.3 MB, free: 17.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001225/0.3038, allocations: 0.7579 MB / 470 MB, free: 17.51 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001405/0.3052, allocations: 1.179 MB / 471.2 MB, free: 16.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00978/0.315, allocations: 3.983 MB / 475.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.047e-05/0.315, allocations: 3.938 kB / 475.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005819/0.3209, allocations: 2.727 MB / 477.9 MB, free: 14.03 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.05e-05/0.3209, allocations: 40.05 kB / 478 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.468e-05/0.321, allocations: 11.25 kB / 478 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002227/0.3232, allocations: 0.6009 MB / 478.6 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/0.3246, allocations: 414.4 kB / 479 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007841/0.3325, allocations: 8.834 MB / 487.8 MB, free: 6.055 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.3342, allocations: 140 kB / 488 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/0.3344, allocations: 65.83 kB / 488 MB, free: 5.969 MB / 350.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.001953/0.3363, allocations: 1.27 MB / 489.3 MB, free: 5.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001186/0.3375, allocations: 1.174 MB / 490.5 MB, free: 4.043 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008553/0.3461, allocations: 3.939 MB / 494.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.917e-06/0.3461, allocations: 4 kB / 494.4 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005525/0.3516, allocations: 2.702 MB / 497.1 MB, free: 13.17 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.3517, allocations: 40.05 kB / 497.2 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.3517, allocations: 12 kB / 497.2 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002246/0.354, allocations: 0.6052 MB / 497.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001338/0.3553, allocations: 407.3 kB / 498.2 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00917/0.3645, allocations: 8.83 MB / 0.4951 GB, free: 2.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.366, allocations: 140 kB / 0.4953 GB, free: 2.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.3661, allocations: 67.98 kB / 0.4953 GB, free: 2.402 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: 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.0004543/0.3666, allocations: 302.1 kB / 0.4956 GB, free: 2.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002469/0.3669, allocations: 158 kB / 0.4958 GB, free: 1.945 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004969/0.3718, allocations: 2.392 MB / 0.4981 GB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.307e-06/0.3719, allocations: 12 kB / 0.4981 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.3719, allocations: 3.938 kB / 0.4981 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.206e-05/0.3719, allocations: 11.97 kB / 0.4981 GB, free: 15.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007984/0.3799, allocations: 4.694 MB / 0.5027 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.3799, allocations: 4 kB / 0.5027 GB, free: 10.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.3811, allocations: 287.9 kB / 0.503 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/0.3832, allocations: 0.6284 MB / 0.5036 GB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-05/0.3833, allocations: 31.98 kB / 0.5036 GB, free: 9.773 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009128/0.3925, allocations: 8.976 MB / 0.5124 GB, free: 124 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.3925, allocations: 7.938 kB / 0.5124 GB, free: 116 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006287/0.3988, allocations: 3.427 MB / 0.5157 GB, free: 12.62 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007013/0.3995, allocations: 375.2 kB / 0.5161 GB, free: 12.23 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002167/0.3997, allocations: 40.11 kB / 0.5161 GB, free: 12.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009191/0.4006, allocations: 107.9 kB / 0.5162 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002935/0.4009, allocations: 116.7 kB / 0.5164 GB, free: 11.97 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.208e-05/0.401, allocations: 39.98 kB / 0.5164 GB, free: 11.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001237/0.4023, allocations: 0.9204 MB / 0.5173 GB, free: 11.01 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4023, allocations: 0 / 0.5173 GB, free: 11.01 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002583/0.4049, allocations: 0.789 MB / 0.5181 GB, free: 10.22 MB / 398.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.0003424/0.4052, allocations: 196 kB / 0.5182 GB, free: 10.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007558/0.4128, allocations: 4.812 MB / 0.5229 GB, free: 5.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.4128, allocations: 4 kB / 0.523 GB, free: 5.02 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002777/0.4156, allocations: 1.825 MB / 0.5247 GB, free: 3.109 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001759/0.4174, allocations: 404.6 kB / 0.5251 GB, free: 2.723 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006394/0.4238, allocations: 5.066 MB / 0.5301 GB, free: 13.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001179/0.425, allocations: 1.676 MB / 0.5317 GB, free: 11.9 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.00126/0.4262, allocations: 484.8 kB / 0.5322 GB, free: 11.42 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003302/0.4266, allocations: 111.4 kB / 0.5323 GB, free: 11.31 MB / 414.1 MB Notification: Performance of SimCode: time 6.71e-07/0.4266, allocations: 4 kB / 0.5323 GB, free: 11.31 MB / 414.1 MB Notification: Performance of Templates: time 0.04186/0.4684, allocations: 30.14 MB / 0.5617 GB, free: 13.39 MB / 446.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)