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.0009501/0.0009502, allocations: 97.02 kB / 16.23 MB, free: 5.863 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.0009807/0.0009808, allocations: 187.5 kB / 17.16 MB, free: 5.504 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.267/1.267, allocations: 222.9 MB / 240.8 MB, free: 15.29 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04119/0.04119, allocations: 8.6 MB / 299.6 MB, free: 6.379 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 59.91 kB / 361.9 MB, free: 8.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2221/0.2233, allocations: 51.33 MB / 413.2 MB, free: 25.46 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.00805/0.2314, allocations: 9.868 MB / 423.1 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004831/0.2363, allocations: 2.863 MB / 426 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001073/0.2374, allocations: 51.75 kB / 426 MB, free: 12.63 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.2386, allocations: 0.5002 MB / 426.5 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.2403, allocations: 0.7415 MB / 427.3 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008277/0.2412, allocations: 0.4953 MB / 427.8 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001709/0.2429, allocations: 2.535 MB / 430.3 MB, free: 8.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.2443, allocations: 1.672 MB / 432 MB, free: 6.625 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009896/0.2453, allocations: 1.082 MB / 433 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.2466, allocations: 1.358 MB / 434.4 MB, free: 4.176 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002975/0.2469, allocations: 292 kB / 434.7 MB, free: 3.891 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005699/0.2475, allocations: 379.8 kB / 435.1 MB, free: 3.52 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005809/0.2481, allocations: 0.8102 MB / 435.9 MB, free: 2.707 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009786/0.249, allocations: 1.295 MB / 437.2 MB, free: 1.406 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.2518, allocations: 3.649 MB / 440.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2518, allocations: 0 / 440.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2518, allocations: 0 / 440.8 MB, free: 13.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.844e-05/0.2519, allocations: 0 / 440.8 MB, free: 13.75 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.005142/0.257, allocations: 2.747 MB / 443.6 MB, free: 10.94 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.2571, allocations: 12.03 kB / 443.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006518/0.2578, allocations: 269.9 kB / 443.8 MB, free: 10.66 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001999/0.2598, allocations: 1.334 MB / 445.2 MB, free: 9.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.2599, allocations: 181.6 kB / 445.3 MB, free: 9.086 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000267/0.2602, allocations: 203.9 kB / 445.5 MB, free: 8.887 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003979/0.2642, allocations: 2.602 MB / 448.2 MB, free: 6.238 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.063e-05/0.2643, allocations: 7.906 kB / 448.2 MB, free: 6.23 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001778/0.2645, allocations: 83.98 kB / 448.2 MB, free: 6.148 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.944e-05/0.2646, allocations: 91.75 kB / 448.3 MB, free: 6.059 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003783/0.2684, allocations: 2.197 MB / 450.5 MB, free: 3.859 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01245/0.2808, allocations: 8.31 MB / 458.8 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002889/0.2837, allocations: 1.644 MB / 460.5 MB, free: 9.59 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00138/0.2851, allocations: 0.8235 MB / 461.3 MB, free: 8.766 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002636/0.2854, allocations: 126.1 kB / 461.4 MB, free: 8.621 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001364/0.2868, allocations: 0.7951 MB / 462.2 MB, free: 7.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 3.296e-06/0.2868, allocations: 4 kB / 462.2 MB, free: 7.797 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.01623/0.303, allocations: 6.642 MB / 468.9 MB, free: 1.027 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.282e-05/0.3032, allocations: 171.2 kB / 469 MB, free: 0.8242 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.002178/0.3054, allocations: 1.394 MB / 470.4 MB, free: 15.41 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001285/0.3055, allocations: 49.7 kB / 470.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007802/0.3063, allocations: 0.9668 MB / 471.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003348/0.3066, allocations: 421.9 kB / 471.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004294/0.3071, allocations: 271.4 kB / 472.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.454e-05/0.3072, allocations: 301.1 kB / 472.4 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001275/0.3084, allocations: 0.762 MB / 473.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001502/0.31, allocations: 1.185 MB / 474.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/0.3201, allocations: 3.99 MB / 478.4 MB, free: 7.082 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.3202, allocations: 4 kB / 478.4 MB, free: 7.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005731/0.3259, allocations: 2.715 MB / 481.1 MB, free: 4.328 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.171e-05/0.326, allocations: 41.73 kB / 481.1 MB, free: 4.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.933e-05/0.326, allocations: 15.98 kB / 481.1 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/0.3284, allocations: 0.6059 MB / 481.7 MB, free: 3.641 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/0.33, allocations: 415.4 kB / 482.1 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/0.3403, allocations: 9.553 MB / 491.7 MB, free: 8.957 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/0.3422, allocations: 139.8 kB / 491.8 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.3423, allocations: 63.98 kB / 491.9 MB, free: 8.758 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.002352/0.3447, allocations: 1.273 MB / 493.2 MB, free: 7.484 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001542/0.3462, allocations: 1.17 MB / 494.3 MB, free: 6.141 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009995/0.3562, allocations: 3.955 MB / 498.3 MB, free: 1.996 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.261e-05/0.3563, allocations: 7.938 kB / 498.3 MB, free: 1.988 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005692/0.362, allocations: 2.7 MB / 0.4893 GB, free: 15.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.3621, allocations: 48.12 kB / 0.4893 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.3621, allocations: 16 kB / 0.4893 GB, free: 15.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00233/0.3644, allocations: 0.5985 MB / 0.4899 GB, free: 14.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.3659, allocations: 415.3 kB / 0.4903 GB, free: 14.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/0.376, allocations: 9.542 MB / 0.4996 GB, free: 3.914 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/0.3776, allocations: 151.8 kB / 0.4998 GB, free: 3.766 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001893/0.3778, allocations: 63.98 kB / 0.4998 GB, free: 3.703 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.0005391/0.3783, allocations: 296.5 kB / 0.5001 GB, free: 3.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003842/0.3787, allocations: 154.1 kB / 0.5003 GB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005554/0.3843, allocations: 2.395 MB / 0.5026 GB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.3843, allocations: 12 kB / 0.5026 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/0.3844, allocations: 4 kB / 0.5026 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.742e-05/0.3844, allocations: 7.969 kB / 0.5026 GB, free: 0.8086 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2018/0.5862, allocations: 4.695 MB / 0.5072 GB, free: 88.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.425e-06/0.5863, allocations: 10.03 kB / 0.5072 GB, free: 88.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.5874, allocations: 289.1 kB / 0.5075 GB, free: 88.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001816/0.5893, allocations: 0.5966 MB / 0.5081 GB, free: 87.95 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.282e-05/0.5894, allocations: 31.61 kB / 0.5081 GB, free: 87.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008763/0.5981, allocations: 9.693 MB / 0.5176 GB, free: 80.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/0.5982, allocations: 9.531 kB / 0.5176 GB, free: 80.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005866/0.604, allocations: 3.432 MB / 0.5209 GB, free: 78.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006519/0.6047, allocations: 383 kB / 0.5213 GB, free: 78.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002051/0.6049, allocations: 23.91 kB / 0.5213 GB, free: 78.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009077/0.6059, allocations: 105.2 kB / 0.5214 GB, free: 78.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003119/0.6062, allocations: 116.7 kB / 0.5215 GB, free: 78.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.721e-05/0.6063, allocations: 36.39 kB / 0.5216 GB, free: 78.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001128/0.6074, allocations: 0.929 MB / 0.5225 GB, free: 78.19 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6074, allocations: 0 / 0.5225 GB, free: 78.19 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002165/0.6096, allocations: 0.7847 MB / 0.5232 GB, free: 78.12 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.0003618/0.6099, allocations: 195.2 kB / 0.5234 GB, free: 78 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006941/0.6169, allocations: 4.858 MB / 0.5282 GB, free: 73.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.6169, allocations: 0 / 0.5282 GB, free: 73.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002569/0.6195, allocations: 1.833 MB / 0.53 GB, free: 71.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/0.6213, allocations: 428.7 kB / 0.5304 GB, free: 71.61 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005572/0.6269, allocations: 4.209 MB / 0.5345 GB, free: 67.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009245/0.6278, allocations: 1.679 MB / 0.5361 GB, free: 65.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001157/0.629, allocations: 492.7 kB / 0.5366 GB, free: 65.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.6293, allocations: 107.4 kB / 0.5367 GB, free: 65.14 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.6293, allocations: 0 / 0.5367 GB, free: 65.14 MB / 382.1 MB Notification: Performance of Templates: time 0.04007/0.6694, allocations: 31.58 MB / 0.5675 GB, free: 33.82 MB / 382.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 -s cvode -lv LOG_STATS > EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1)