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.001281/0.001281, allocations: 106.5 kB / 15.99 MB, free: 5.895 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.001139/0.001139, allocations: 195.3 kB / 16.91 MB, free: 5.746 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.397/1.397, allocations: 222.9 MB / 240.6 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1737/0.1737, allocations: 8.031 MB / 298.8 MB, free: 2.449 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.89 kB / 360.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1101, allocations: 51.19 MB / 412 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.0112/0.1213, allocations: 9.818 MB / 421.8 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1823/0.3037, allocations: 2.801 MB / 424.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/0.3055, allocations: 48 kB / 424.6 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00177/0.3073, allocations: 434.9 kB / 425.1 MB, free: 36.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003085/0.3105, allocations: 0.667 MB / 425.7 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001718/0.3122, allocations: 449.7 kB / 426.2 MB, free: 36.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003638/0.3158, allocations: 2.547 MB / 428.7 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00184/0.3177, allocations: 1.67 MB / 430.4 MB, free: 35.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001582/0.3193, allocations: 1.093 MB / 431.5 MB, free: 35.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001681/0.321, allocations: 1.385 MB / 432.9 MB, free: 34.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003774/0.3214, allocations: 291.2 kB / 433.2 MB, free: 34.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007021/0.3221, allocations: 384.4 kB / 433.5 MB, free: 34.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005607/0.3227, allocations: 0.797 MB / 434.3 MB, free: 34.4 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001103/0.3238, allocations: 1.303 MB / 435.6 MB, free: 33.56 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002179/0.326, allocations: 3.035 MB / 438.7 MB, free: 32.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.326, allocations: 0 / 438.7 MB, free: 32.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.326, allocations: 7.125 kB / 438.7 MB, free: 32.71 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.612e-05/0.3261, allocations: 0 / 438.7 MB, free: 32.71 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.005088/0.3312, allocations: 2.749 MB / 441.4 MB, free: 31.17 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.3312, allocations: 8.969 kB / 441.4 MB, free: 31.17 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006671/0.3319, allocations: 264.8 kB / 441.7 MB, free: 31.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.3337, allocations: 1.338 MB / 443 MB, free: 30.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.3338, allocations: 185 kB / 443.2 MB, free: 30.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002697/0.3341, allocations: 201 kB / 443.4 MB, free: 30.08 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003933/0.3381, allocations: 2.599 MB / 446 MB, free: 29.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.993e-05/0.3381, allocations: 7.062 kB / 446 MB, free: 29.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001735/0.3383, allocations: 82.56 kB / 446.1 MB, free: 28.98 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.294e-05/0.3384, allocations: 100 kB / 446.2 MB, free: 28.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003491/0.3419, allocations: 2.198 MB / 448.4 MB, free: 28.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.3535, allocations: 8.307 MB / 456.7 MB, free: 23.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002524/0.3561, allocations: 1.624 MB / 458.3 MB, free: 22.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/0.3574, allocations: 0.8331 MB / 459.2 MB, free: 22.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/0.3576, allocations: 125.8 kB / 459.3 MB, free: 22.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001211/0.3589, allocations: 0.8057 MB / 460.1 MB, free: 22.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.537e-06/0.3589, allocations: 0 / 460.1 MB, free: 22.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01707/0.376, allocations: 6.631 MB / 466.7 MB, free: 19.61 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.119e-05/0.3761, allocations: 170.5 kB / 466.9 MB, free: 19.42 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.00259/0.3787, allocations: 1.394 MB / 468.3 MB, free: 18.87 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002052/0.3789, allocations: 47.22 kB / 468.3 MB, free: 18.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007832/0.3797, allocations: 0.9658 MB / 469.3 MB, free: 18.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/0.3801, allocations: 423.9 kB / 469.7 MB, free: 17.76 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004675/0.3806, allocations: 268.5 kB / 470 MB, free: 17.63 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.804e-05/0.3806, allocations: 301.8 kB / 470.3 MB, free: 17.33 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001392/0.382, allocations: 0.758 MB / 471 MB, free: 17.07 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001584/0.3836, allocations: 1.179 MB / 472.2 MB, free: 16.29 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0109/0.3945, allocations: 4 MB / 476.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.127e-05/0.3946, allocations: 4.391 kB / 476.2 MB, free: 14.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006123/0.4007, allocations: 2.722 MB / 478.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/0.4008, allocations: 41.48 kB / 479 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.591e-05/0.4009, allocations: 13.31 kB / 479 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002431/0.4033, allocations: 0.6056 MB / 479.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.405, allocations: 416.2 kB / 480 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008922/0.4139, allocations: 9.546 MB / 489.5 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001799/0.4157, allocations: 148.1 kB / 489.7 MB, free: 5.055 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/0.4159, allocations: 63.52 kB / 489.7 MB, free: 5.039 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.002139/0.418, allocations: 1.264 MB / 491 MB, free: 4.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001211/0.4192, allocations: 1.178 MB / 492.2 MB, free: 2.879 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009354/0.4286, allocations: 3.959 MB / 496.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.509e-05/0.4287, allocations: 4 kB / 496.1 MB, free: 14.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006101/0.4348, allocations: 2.706 MB / 498.8 MB, free: 11.99 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.614e-05/0.4349, allocations: 37.7 kB / 498.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.4349, allocations: 15.94 kB / 498.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0023/0.4372, allocations: 0.609 MB / 499.5 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001544/0.4387, allocations: 407.4 kB / 499.9 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01072/0.4495, allocations: 9.549 MB / 0.4975 GB, free: 0.6641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/0.4513, allocations: 139.8 kB / 0.4976 GB, free: 0.5273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.4515, allocations: 72.05 kB / 0.4977 GB, free: 468 kB / 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.0005445/0.452, allocations: 304.3 kB / 0.498 GB, free: 160 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003031/0.4524, allocations: 150.1 kB / 0.4981 GB, free: 8 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005395/0.4578, allocations: 2.402 MB / 0.5005 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.468e-05/0.4578, allocations: 12 kB / 0.5005 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.4578, allocations: 0 / 0.5005 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.665e-05/0.4578, allocations: 3.984 kB / 0.5005 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009431/0.4673, allocations: 4.709 MB / 0.5051 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.218e-06/0.4673, allocations: 4 kB / 0.5051 GB, free: 8.781 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/0.4686, allocations: 295.8 kB / 0.5054 GB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0021/0.4707, allocations: 0.5824 MB / 0.506 GB, free: 7.891 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001385/0.4709, allocations: 35.98 kB / 0.506 GB, free: 7.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0107/0.4816, allocations: 9.699 MB / 0.5155 GB, free: 13.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.4816, allocations: 7.969 kB / 0.5155 GB, free: 13.44 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007067/0.4887, allocations: 3.425 MB / 0.5188 GB, free: 9.945 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009266/0.4897, allocations: 379.1 kB / 0.5192 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002594/0.4899, allocations: 31.94 kB / 0.5192 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001014/0.491, allocations: 103.9 kB / 0.5193 GB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003553/0.4913, allocations: 120.8 kB / 0.5194 GB, free: 9.305 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/0.4914, allocations: 35.98 kB / 0.5195 GB, free: 9.27 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001356/0.4928, allocations: 0.9283 MB / 0.5204 GB, free: 8.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.4928, allocations: 0 / 0.5204 GB, free: 8.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002616/0.4954, allocations: 0.7851 MB / 0.5211 GB, free: 7.555 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.0003793/0.4958, allocations: 195.3 kB / 0.5213 GB, free: 7.355 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009803/0.5056, allocations: 5.293 MB / 0.5265 GB, free: 1.875 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/0.5057, allocations: 0 / 0.5265 GB, free: 1.875 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003264/0.509, allocations: 1.821 MB / 0.5283 GB, free: 15.97 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/0.5113, allocations: 430.1 kB / 0.5287 GB, free: 15.56 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007968/0.5193, allocations: 5.134 MB / 0.5337 GB, free: 10.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/0.5207, allocations: 1.661 MB / 0.5353 GB, free: 8.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006804/0.5214, allocations: 115.4 kB / 0.5354 GB, free: 8.57 MB / 414.1 MB Notification: Performance of SimCode: time 1.192e-06/0.5214, allocations: 4 kB / 0.5354 GB, free: 8.566 MB / 414.1 MB Notification: Performance of Templates: time 0.2515/0.7729, allocations: 84.34 MB / 0.6178 GB, free: 111.8 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)