Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_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_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") translateModel(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="EHPTlib_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.001276/0.001276, allocations: 102.2 kB / 16.27 MB, free: 5.859 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.001273/0.001273, allocations: 188.9 kB / 17.2 MB, free: 5.508 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.324/1.324, allocations: 222.9 MB / 240.9 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04016/0.04016, allocations: 8.029 MB / 299.1 MB, free: 6.84 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 59.91 kB / 361.3 MB, free: 8.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1996, allocations: 51.2 MB / 412.5 MB, free: 26.14 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.008443/0.208, allocations: 9.872 MB / 422.4 MB, free: 16.23 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005127/0.2132, allocations: 2.859 MB / 425.2 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.2147, allocations: 47.81 kB / 425.3 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001504/0.2162, allocations: 0.5119 MB / 425.8 MB, free: 12.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002237/0.2185, allocations: 0.7298 MB / 426.5 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.2197, allocations: 0.5031 MB / 427 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002342/0.222, allocations: 2.535 MB / 429.5 MB, free: 9.016 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001713/0.2238, allocations: 1.672 MB / 431.2 MB, free: 7.301 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.225, allocations: 1.082 MB / 432.3 MB, free: 6.215 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001676/0.2267, allocations: 1.358 MB / 433.7 MB, free: 4.852 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006427/0.2273, allocations: 292 kB / 433.9 MB, free: 4.566 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009687/0.2283, allocations: 383.8 kB / 434.3 MB, free: 4.191 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008732/0.2292, allocations: 0.8064 MB / 435.1 MB, free: 3.383 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001746/0.2309, allocations: 1.291 MB / 436.4 MB, free: 2.086 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003209/0.2342, allocations: 3.649 MB / 440.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2342, allocations: 0 / 440.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2342, allocations: 0 / 440.1 MB, free: 14.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.596e-05/0.2343, allocations: 3.984 kB / 440.1 MB, free: 14.42 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.005608/0.2399, allocations: 2.747 MB / 442.8 MB, free: 11.61 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2399, allocations: 12.02 kB / 442.8 MB, free: 11.6 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006648/0.2406, allocations: 265.9 kB / 443.1 MB, free: 11.34 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002138/0.2428, allocations: 1.338 MB / 444.4 MB, free: 9.945 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.2429, allocations: 181.6 kB / 444.6 MB, free: 9.762 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003083/0.2433, allocations: 203.8 kB / 444.8 MB, free: 9.562 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004326/0.2476, allocations: 2.602 MB / 447.4 MB, free: 6.914 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.471e-05/0.2477, allocations: 7.906 kB / 447.4 MB, free: 6.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001835/0.2479, allocations: 80 kB / 447.5 MB, free: 6.828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000112/0.248, allocations: 99.73 kB / 447.6 MB, free: 6.73 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003864/0.2518, allocations: 2.197 MB / 449.8 MB, free: 4.531 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01307/0.2649, allocations: 8.306 MB / 458.1 MB, free: 11.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003093/0.2681, allocations: 1.639 MB / 459.7 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001596/0.2697, allocations: 0.8274 MB / 460.6 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.27, allocations: 122.1 kB / 460.7 MB, free: 9.293 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001515/0.2715, allocations: 0.799 MB / 461.5 MB, free: 8.473 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 3.186e-06/0.2715, allocations: 0 / 461.5 MB, free: 8.473 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.01728/0.2888, allocations: 6.642 MB / 468.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.259e-05/0.2889, allocations: 175.2 kB / 468.3 MB, free: 1.492 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.002544/0.2915, allocations: 1.393 MB / 469.7 MB, free: 88 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001442/0.2917, allocations: 49.7 kB / 469.7 MB, free: 32 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008708/0.2925, allocations: 0.963 MB / 470.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004317/0.293, allocations: 429.9 kB / 471.1 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004777/0.2935, allocations: 271.4 kB / 471.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.983e-05/0.2936, allocations: 305.1 kB / 471.7 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001452/0.295, allocations: 0.7543 MB / 472.4 MB, free: 13.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001873/0.2969, allocations: 1.185 MB / 473.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01102/0.308, allocations: 3.99 MB / 477.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.308, allocations: 4 kB / 477.6 MB, free: 7.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006504/0.3145, allocations: 2.723 MB / 480.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.831e-05/0.3146, allocations: 39.73 kB / 480.4 MB, free: 4.945 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.185e-05/0.3146, allocations: 12 kB / 480.4 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002533/0.3172, allocations: 0.6099 MB / 481 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/0.3189, allocations: 407.4 kB / 481.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01157/0.3305, allocations: 9.554 MB / 490.9 MB, free: 9.633 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/0.3323, allocations: 139.8 kB / 491.1 MB, free: 9.496 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000281/0.3326, allocations: 63.98 kB / 491.1 MB, free: 9.434 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.002714/0.3354, allocations: 1.275 MB / 492.4 MB, free: 8.156 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001708/0.3371, allocations: 1.173 MB / 493.6 MB, free: 6.809 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01044/0.3475, allocations: 3.955 MB / 497.5 MB, free: 2.664 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.345e-05/0.3476, allocations: 7.938 kB / 497.6 MB, free: 2.656 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006332/0.3539, allocations: 2.7 MB / 0.4885 GB, free: 15.92 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.161e-05/0.354, allocations: 41.64 kB / 0.4886 GB, free: 15.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/0.354, allocations: 12 kB / 0.4886 GB, free: 15.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002437/0.3565, allocations: 0.6063 MB / 0.4892 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001601/0.3581, allocations: 411.3 kB / 0.4896 GB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01107/0.3692, allocations: 9.557 MB / 0.4989 GB, free: 4.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/0.3709, allocations: 143.6 kB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002721/0.3712, allocations: 63.98 kB / 0.4991 GB, free: 4.371 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.0005456/0.3718, allocations: 292.7 kB / 0.4994 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003873/0.3722, allocations: 158.1 kB / 0.4995 GB, free: 3.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0057/0.3779, allocations: 2.391 MB / 0.5019 GB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/0.3779, allocations: 16.14 kB / 0.5019 GB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.378, allocations: 3.984 kB / 0.5019 GB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.388e-05/0.378, allocations: 3.984 kB / 0.5019 GB, free: 1.48 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1842/0.5622, allocations: 4.692 MB / 0.5065 GB, free: 89.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.5622, allocations: 0.6094 kB / 0.5065 GB, free: 89.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001345/0.5636, allocations: 297.5 kB / 0.5068 GB, free: 89.03 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002078/0.5657, allocations: 0.592 MB / 0.5073 GB, free: 88.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001576/0.5659, allocations: 30.02 kB / 0.5074 GB, free: 88.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009566/0.5754, allocations: 9.713 MB / 0.5168 GB, free: 81.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/0.5755, allocations: 0 / 0.5168 GB, free: 81.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006527/0.582, allocations: 3.428 MB / 0.5202 GB, free: 79.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008352/0.5829, allocations: 380.7 kB / 0.5206 GB, free: 79.76 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005165/0.5834, allocations: 39.41 kB / 0.5206 GB, free: 79.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001206/0.5846, allocations: 105.7 kB / 0.5207 GB, free: 79.72 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000351/0.585, allocations: 119.1 kB / 0.5208 GB, free: 79.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.901e-05/0.5851, allocations: 36.83 kB / 0.5208 GB, free: 79.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001509/0.5866, allocations: 0.9205 MB / 0.5217 GB, free: 79.32 MB / 382.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.5866, allocations: 0 / 0.5217 GB, free: 79.32 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002541/0.5892, allocations: 0.7854 MB / 0.5225 GB, free: 79.25 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.0003348/0.5895, allocations: 196.1 kB / 0.5227 GB, free: 79.13 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008295/0.5978, allocations: 5.292 MB / 0.5279 GB, free: 74.98 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.5979, allocations: 0 / 0.5279 GB, free: 74.98 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002842/0.6007, allocations: 1.825 MB / 0.5296 GB, free: 73.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.6031, allocations: 419.6 kB / 0.53 GB, free: 72.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006946/0.6101, allocations: 4.278 MB / 0.5342 GB, free: 68.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.6113, allocations: 1.668 MB / 0.5359 GB, free: 66.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005802/0.6119, allocations: 119.4 kB / 0.536 GB, free: 66.72 MB / 382.1 MB Notification: Performance of SimCode: time 1.283e-06/0.6119, allocations: 0 / 0.536 GB, free: 66.72 MB / 382.1 MB Notification: Performance of Templates: time 0.06521/0.6772, allocations: 84.35 MB / 0.6183 GB, free: 14.36 MB / 414.1 MB make -j1 -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.makefile (rm -f EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & ./EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1)