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.001413/0.001413, allocations: 99.06 kB / 16.23 MB, free: 5.902 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.001535/0.001535, allocations: 190.9 kB / 17.16 MB, free: 5.535 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.322/1.322, allocations: 222.9 MB / 240.8 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.03986/0.03986, allocations: 8.608 MB / 299.6 MB, free: 6.344 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00111/0.00111, allocations: 59.91 kB / 361.9 MB, free: 7.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.2051, allocations: 51.32 MB / 413.2 MB, free: 25.44 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.007947/0.2131, allocations: 9.881 MB / 423.1 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0053/0.2185, allocations: 2.855 MB / 426 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001691/0.2202, allocations: 47.81 kB / 426 MB, free: 12.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.2216, allocations: 0.5158 MB / 426.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001966/0.2236, allocations: 0.7375 MB / 427.3 MB, free: 11.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009752/0.2246, allocations: 0.4915 MB / 427.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002565/0.2272, allocations: 2.535 MB / 430.3 MB, free: 8.305 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001459/0.2286, allocations: 1.672 MB / 432 MB, free: 6.59 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001217/0.2299, allocations: 1.086 MB / 433.1 MB, free: 5.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001504/0.2314, allocations: 1.362 MB / 434.4 MB, free: 4.133 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003496/0.2318, allocations: 288 kB / 434.7 MB, free: 3.852 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005724/0.2323, allocations: 379.8 kB / 435.1 MB, free: 3.48 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005432/0.2329, allocations: 0.8025 MB / 435.9 MB, free: 2.676 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008999/0.2338, allocations: 1.295 MB / 437.2 MB, free: 1.375 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002808/0.2366, allocations: 3.649 MB / 440.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.2366, allocations: 3.938 kB / 440.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2366, allocations: 0 / 440.8 MB, free: 13.71 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.707e-05/0.2367, allocations: 4 kB / 440.8 MB, free: 13.71 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.005469/0.2422, allocations: 2.747 MB / 443.6 MB, free: 10.9 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2422, allocations: 8.031 kB / 443.6 MB, free: 10.89 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000677/0.2429, allocations: 265.9 kB / 443.8 MB, free: 10.63 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00216/0.2451, allocations: 1.342 MB / 445.2 MB, free: 9.23 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001738/0.2453, allocations: 177.6 kB / 445.3 MB, free: 9.051 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002775/0.2456, allocations: 195.9 kB / 445.5 MB, free: 8.859 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004283/0.2499, allocations: 2.606 MB / 448.1 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.656e-05/0.2499, allocations: 11.84 kB / 448.2 MB, free: 6.195 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/0.2501, allocations: 76 kB / 448.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/0.2502, allocations: 103.7 kB / 448.3 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003737/0.254, allocations: 2.193 MB / 450.5 MB, free: 3.824 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01179/0.2658, allocations: 8.314 MB / 458.8 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002885/0.2687, allocations: 1.639 MB / 460.5 MB, free: 9.555 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001438/0.2702, allocations: 0.8197 MB / 461.3 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000258/0.2704, allocations: 122.1 kB / 461.4 MB, free: 8.594 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001375/0.2718, allocations: 0.8067 MB / 462.2 MB, free: 7.762 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.605e-06/0.2718, allocations: 0 / 462.2 MB, free: 7.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.01663/0.2885, allocations: 6.644 MB / 468.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001061/0.2886, allocations: 175.2 kB / 469 MB, free: 0.7812 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.002585/0.2912, allocations: 1.389 MB / 470.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000158/0.2914, allocations: 49.7 kB / 470.5 MB, free: 15.32 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008155/0.2922, allocations: 0.9669 MB / 471.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003885/0.2926, allocations: 429.9 kB / 471.9 MB, free: 13.92 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00047/0.2931, allocations: 267.4 kB / 472.1 MB, free: 13.65 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.2932, allocations: 301.1 kB / 472.4 MB, free: 13.35 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001356/0.2946, allocations: 0.7543 MB / 473.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001631/0.2962, allocations: 1.189 MB / 474.4 MB, free: 11.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01084/0.3071, allocations: 3.994 MB / 478.4 MB, free: 7.039 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.779e-05/0.3071, allocations: 4 kB / 478.4 MB, free: 7.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.00621/0.3133, allocations: 2.715 MB / 481.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.3134, allocations: 40.2 kB / 481.1 MB, free: 4.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.033e-05/0.3134, allocations: 12.38 kB / 481.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002431/0.3159, allocations: 0.6176 MB / 481.7 MB, free: 3.594 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001532/0.3174, allocations: 403.4 kB / 482.1 MB, free: 3.199 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01042/0.3279, allocations: 9.559 MB / 491.7 MB, free: 8.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/0.3294, allocations: 139.8 kB / 491.8 MB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002019/0.3297, allocations: 63.98 kB / 491.9 MB, free: 8.719 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.002312/0.332, allocations: 1.271 MB / 493.2 MB, free: 7.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001567/0.3336, allocations: 1.17 MB / 494.3 MB, free: 6.102 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01025/0.3438, allocations: 3.955 MB / 498.3 MB, free: 1.957 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.184e-05/0.3439, allocations: 7.938 kB / 498.3 MB, free: 1.949 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006514/0.3504, allocations: 2.7 MB / 0.4893 GB, free: 15.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.864e-05/0.3505, allocations: 45.58 kB / 0.4893 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.3505, allocations: 12 kB / 0.4893 GB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00253/0.3531, allocations: 0.61 MB / 0.4899 GB, free: 14.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.3547, allocations: 407.4 kB / 0.4903 GB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.3655, allocations: 9.551 MB / 0.4996 GB, free: 3.871 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/0.3673, allocations: 143.8 kB / 0.4998 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002861/0.3676, allocations: 63.98 kB / 0.4998 GB, free: 3.668 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.0006004/0.3682, allocations: 301 kB / 0.5001 GB, free: 3.367 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004359/0.3686, allocations: 150.1 kB / 0.5003 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005573/0.3742, allocations: 2.399 MB / 0.5026 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.3742, allocations: 15.94 kB / 0.5026 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.3743, allocations: 0 / 0.5026 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/0.3743, allocations: 3.984 kB / 0.5026 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1768/0.5511, allocations: 4.696 MB / 0.5072 GB, free: 88.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/0.5511, allocations: 5.25 kB / 0.5072 GB, free: 88.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/0.5523, allocations: 291.6 kB / 0.5075 GB, free: 88.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001903/0.5542, allocations: 0.5879 MB / 0.5081 GB, free: 87.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.953e-05/0.5543, allocations: 32.45 kB / 0.5081 GB, free: 87.9 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008694/0.563, allocations: 9.708 MB / 0.5176 GB, free: 80.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5631, allocations: 3.906 kB / 0.5176 GB, free: 80.03 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005815/0.5689, allocations: 3.428 MB / 0.5209 GB, free: 78.75 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006667/0.5696, allocations: 384.5 kB / 0.5213 GB, free: 78.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/0.5698, allocations: 27.69 kB / 0.5213 GB, free: 78.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009533/0.5707, allocations: 104.2 kB / 0.5214 GB, free: 78.54 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000269/0.571, allocations: 114.5 kB / 0.5215 GB, free: 78.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.758e-05/0.5711, allocations: 42.86 kB / 0.5216 GB, free: 78.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00105/0.5722, allocations: 0.926 MB / 0.5225 GB, free: 78.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.5722, allocations: 0 / 0.5225 GB, free: 78.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002007/0.5742, allocations: 0.7828 MB / 0.5232 GB, free: 78.07 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.0002906/0.5745, allocations: 197.6 kB / 0.5234 GB, free: 77.96 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006913/0.5814, allocations: 4.855 MB / 0.5282 GB, free: 73.83 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.5815, allocations: 0 / 0.5282 GB, free: 73.83 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002732/0.5842, allocations: 1.841 MB / 0.53 GB, free: 71.92 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/0.5861, allocations: 425.7 kB / 0.5304 GB, free: 71.54 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005614/0.5917, allocations: 4.215 MB / 0.5345 GB, free: 67.37 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008882/0.5926, allocations: 1.68 MB / 0.5361 GB, free: 65.65 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001194/0.5938, allocations: 484.8 kB / 0.5366 GB, free: 65.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003348/0.5942, allocations: 107.4 kB / 0.5367 GB, free: 65.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.563e-06/0.5942, allocations: 0 / 0.5367 GB, free: 65.07 MB / 382.1 MB Notification: Performance of Templates: time 0.03883/0.633, allocations: 31.57 MB / 0.5675 GB, free: 33.76 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 gbode -lv LOG_STATS > EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1)