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.001555/0.001555, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001615/0.001616, allocations: 200 kB / 16.79 MB, free: 6.809 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.556/1.556, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.257/0.257, allocations: 8.023 MB / 298.6 MB, free: 2.504 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 59.91 kB / 360.6 MB, free: 14.79 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1502, allocations: 51.2 MB / 411.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.01345/0.1637, allocations: 9.822 MB / 421.6 MB, free: 1.684 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.3101/0.4739, allocations: 2.815 MB / 424.4 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002184/0.4761, allocations: 48.47 kB / 424.5 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001683/0.4779, allocations: 435.3 kB / 424.9 MB, free: 36.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002826/0.4807, allocations: 0.6717 MB / 425.6 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.4819, allocations: 452.8 kB / 426 MB, free: 36.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003639/0.4856, allocations: 2.85 MB / 428.9 MB, free: 36.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.4874, allocations: 1.395 MB / 430.3 MB, free: 35.95 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001932/0.4894, allocations: 0.9452 MB / 431.2 MB, free: 35.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001862/0.4913, allocations: 1.303 MB / 432.5 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000343/0.4916, allocations: 173.8 kB / 432.7 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007771/0.4924, allocations: 273.9 kB / 432.9 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000668/0.4931, allocations: 0.6746 MB / 433.6 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.4944, allocations: 1.171 MB / 434.8 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002293/0.4967, allocations: 3.001 MB / 437.8 MB, free: 33.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.4967, allocations: 4 kB / 437.8 MB, free: 33.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.945e-06/0.4967, allocations: 0 / 437.8 MB, free: 33.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.396e-05/0.4968, allocations: 3.938 kB / 437.8 MB, free: 33.31 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.006176/0.503, allocations: 2.75 MB / 440.6 MB, free: 31.77 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.503, allocations: 16.09 kB / 440.6 MB, free: 31.76 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008049/0.5039, allocations: 261.9 kB / 440.8 MB, free: 31.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002209/0.5061, allocations: 1.336 MB / 442.2 MB, free: 30.85 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001674/0.5063, allocations: 184.4 kB / 442.3 MB, free: 30.75 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002869/0.5065, allocations: 193.6 kB / 442.5 MB, free: 30.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004256/0.5108, allocations: 2.61 MB / 445.1 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.896e-05/0.5109, allocations: 10.84 kB / 445.2 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001741/0.5111, allocations: 75.31 kB / 445.2 MB, free: 29.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001154/0.5112, allocations: 97.47 kB / 445.3 MB, free: 29.57 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00368/0.5149, allocations: 2.196 MB / 447.5 MB, free: 28.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01253/0.5274, allocations: 8.316 MB / 455.8 MB, free: 24.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00279/0.5303, allocations: 1.621 MB / 457.5 MB, free: 23.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001344/0.5316, allocations: 0.8341 MB / 458.3 MB, free: 23.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002701/0.5319, allocations: 129.7 kB / 458.4 MB, free: 23.1 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001304/0.5332, allocations: 0.8072 MB / 459.2 MB, free: 22.78 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 4.028e-06/0.5333, allocations: 0 / 459.2 MB, free: 22.78 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01881/0.5521, allocations: 6.625 MB / 465.8 MB, free: 20.2 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.5522, allocations: 170.1 kB / 466 MB, free: 20.02 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.003076/0.5553, allocations: 1.393 MB / 467.4 MB, free: 19.47 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002211/0.5556, allocations: 51.36 kB / 467.5 MB, free: 19.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001021/0.5566, allocations: 0.9689 MB / 468.4 MB, free: 18.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004995/0.5571, allocations: 425.7 kB / 468.8 MB, free: 18.35 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005645/0.5577, allocations: 269.1 kB / 469.1 MB, free: 18.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.149e-05/0.5578, allocations: 301.8 kB / 469.4 MB, free: 17.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001645/0.5594, allocations: 0.7535 MB / 470.1 MB, free: 17.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001995/0.5614, allocations: 1.188 MB / 471.3 MB, free: 16.88 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01215/0.5736, allocations: 3.979 MB / 475.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.219e-05/0.5737, allocations: 3.469 kB / 475.3 MB, free: 15.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.007307/0.581, allocations: 2.724 MB / 478 MB, free: 14.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.334e-05/0.5811, allocations: 40.7 kB / 478.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/0.5811, allocations: 14.91 kB / 478.1 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002473/0.5836, allocations: 0.597 MB / 478.7 MB, free: 13.99 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/0.5852, allocations: 410.6 kB / 479.1 MB, free: 13.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009626/0.5949, allocations: 8.834 MB / 487.9 MB, free: 6.191 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002201/0.5971, allocations: 137.7 kB / 488.1 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001768/0.5973, allocations: 65.58 kB / 488.1 MB, free: 6.109 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.002758/0.6, allocations: 1.272 MB / 489.4 MB, free: 5.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001663/0.6017, allocations: 1.175 MB / 490.6 MB, free: 4.449 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009646/0.6114, allocations: 3.948 MB / 494.5 MB, free: 316 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.597e-05/0.6114, allocations: 3.984 kB / 494.5 MB, free: 312 kB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006533/0.618, allocations: 2.699 MB / 497.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.804e-05/0.6181, allocations: 48.19 kB / 497.3 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.6181, allocations: 12 kB / 497.3 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002414/0.6205, allocations: 0.5974 MB / 497.9 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00151/0.622, allocations: 411.4 kB / 498.3 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0115/0.6335, allocations: 8.828 MB / 0.4952 GB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002175/0.6358, allocations: 135.8 kB / 0.4954 GB, free: 2.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001675/0.636, allocations: 63.98 kB / 0.4954 GB, free: 2.809 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.0007198/0.6367, allocations: 306.3 kB / 0.4957 GB, free: 2.504 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004236/0.6371, allocations: 158 kB / 0.4959 GB, free: 2.348 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005785/0.6429, allocations: 2.395 MB / 0.4982 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.6429, allocations: 12 kB / 0.4982 GB, free: 15.92 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.643, allocations: 3.938 kB / 0.4982 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.402e-05/0.643, allocations: 3.984 kB / 0.4982 GB, free: 15.91 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/0.6532, allocations: 4.7 MB / 0.5028 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.347e-05/0.6533, allocations: 4 kB / 0.5028 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.6546, allocations: 295.8 kB / 0.5031 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002442/0.6571, allocations: 0.6214 MB / 0.5037 GB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001178/0.6572, allocations: 31.98 kB / 0.5037 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0111/0.6683, allocations: 8.979 MB / 0.5125 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/0.6683, allocations: 4 kB / 0.5125 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007655/0.676, allocations: 3.429 MB / 0.5159 GB, free: 13.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001186/0.6772, allocations: 379.1 kB / 0.5162 GB, free: 12.63 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002528/0.6775, allocations: 32 kB / 0.5162 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.6785, allocations: 107.9 kB / 0.5163 GB, free: 12.49 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004008/0.6789, allocations: 112.9 kB / 0.5165 GB, free: 12.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/0.679, allocations: 39.98 kB / 0.5165 GB, free: 12.34 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001563/0.6806, allocations: 0.9204 MB / 0.5174 GB, free: 11.42 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6806, allocations: 0 / 0.5174 GB, free: 11.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003278/0.6839, allocations: 0.7851 MB / 0.5182 GB, free: 10.64 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.0004868/0.6844, allocations: 191.4 kB / 0.5183 GB, free: 10.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0097/0.6941, allocations: 4.821 MB / 0.523 GB, free: 5.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/0.6942, allocations: 4 kB / 0.5231 GB, free: 5.426 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003367/0.6976, allocations: 1.816 MB / 0.5248 GB, free: 3.527 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.7, allocations: 399.4 kB / 0.5252 GB, free: 3.141 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008581/0.7086, allocations: 5.138 MB / 0.5302 GB, free: 13.95 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001554/0.7102, allocations: 1.661 MB / 0.5318 GB, free: 12.26 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005853/0.7108, allocations: 115.4 kB / 0.532 GB, free: 12.15 MB / 414.1 MB Notification: Performance of SimCode: time 1.363e-06/0.7108, allocations: 0 / 0.532 GB, free: 12.15 MB / 414.1 MB Notification: Performance of Templates: time 0.3828/1.094, allocations: 84.34 MB / 0.6143 GB, free: 114 MB / 446.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)