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 main/package.mo", uses=false) Using package EHPTlib with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 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.001408/0.001408, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002272/0.002272, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib main/package.mo): time 0.1722/0.1722, allocations: 8.6 MB / 299.6 MB, free: 3.137 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003173/0.0003173, allocations: 4 kB / 362.4 MB, free: 13.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1172, allocations: 52.33 MB / 414.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.009192/0.1265, allocations: 8.036 MB / 422.8 MB, free: 1.137 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2259/0.3524, allocations: 2.77 MB / 425.5 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001733/0.3542, allocations: 40.5 kB / 425.6 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.3555, allocations: 421.1 kB / 426 MB, free: 35.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002767/0.3582, allocations: 0.659 MB / 426.6 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.3593, allocations: 341.9 kB / 427 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002847/0.3622, allocations: 1.638 MB / 428.6 MB, free: 35.53 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001456/0.3636, allocations: 1.192 MB / 429.8 MB, free: 35.32 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001439/0.3651, allocations: 0.7582 MB / 430.6 MB, free: 35.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.3663, allocations: 0.99 MB / 431.6 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002166/0.3666, allocations: 113.8 kB / 431.7 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005304/0.3671, allocations: 182.6 kB / 431.8 MB, free: 34.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005768/0.3677, allocations: 0.5683 MB / 432.4 MB, free: 34.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000513/0.3682, allocations: 458.3 kB / 432.9 MB, free: 34.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002024/0.3702, allocations: 2.898 MB / 435.8 MB, free: 34.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.3703, allocations: 0 / 435.8 MB, free: 34.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.3703, allocations: 0 / 435.8 MB, free: 34.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.175e-05/0.3703, allocations: 0 / 435.8 MB, free: 34.62 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.004293/0.3746, allocations: 2.38 MB / 438.1 MB, free: 33.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3747, allocations: 10.31 kB / 438.2 MB, free: 33.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007563/0.3754, allocations: 272.1 kB / 438.4 MB, free: 33.37 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002109/0.3775, allocations: 1.311 MB / 439.7 MB, free: 32.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.3777, allocations: 186.8 kB / 439.9 MB, free: 32.9 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002377/0.3779, allocations: 194.5 kB / 440.1 MB, free: 32.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003635/0.3816, allocations: 2.604 MB / 442.7 MB, free: 32.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.005e-05/0.3817, allocations: 13.47 kB / 442.7 MB, free: 32.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001632/0.3818, allocations: 76.8 kB / 442.8 MB, free: 32.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.597e-05/0.3819, allocations: 104.3 kB / 442.9 MB, free: 32.69 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00333/0.3852, allocations: 2.224 MB / 445.1 MB, free: 32.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01016/0.3954, allocations: 8.325 MB / 453.4 MB, free: 27.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00253/0.398, allocations: 1.708 MB / 455.2 MB, free: 26.68 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/0.3982, allocations: 133.5 kB / 455.3 MB, free: 26.58 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001195/0.3994, allocations: 0.8252 MB / 456.1 MB, free: 26.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.676e-06/0.3994, allocations: 0 / 456.1 MB, free: 26.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01537/0.4148, allocations: 6.976 MB / 463.1 MB, free: 23.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.329e-05/0.4149, allocations: 169.7 kB / 463.2 MB, free: 23.46 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Sources.mo:165:5-166:102:writable] Warning: Parameter fromPark.const.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1.0) as default value. [/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.002172/0.4171, allocations: 1.36 MB / 464.6 MB, free: 22.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001527/0.4173, allocations: 46.86 kB / 464.7 MB, free: 22.88 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007323/0.418, allocations: 0.9673 MB / 465.6 MB, free: 22.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/0.4183, allocations: 426.1 kB / 466 MB, free: 21.81 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.536e-05/0.4184, allocations: 30.59 kB / 466.1 MB, free: 21.79 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.4185, allocations: 364.8 kB / 466.4 MB, free: 21.46 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/0.42, allocations: 0.7714 MB / 467.2 MB, free: 21.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.4217, allocations: 1.211 MB / 468.4 MB, free: 20.41 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001675/0.4234, allocations: 0.9614 MB / 469.4 MB, free: 20 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.066e-05/0.4234, allocations: 6.953 kB / 469.4 MB, free: 20 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006209/0.4296, allocations: 2.852 MB / 472.2 MB, free: 18.98 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008475/0.4305, allocations: 4.884 MB / 477.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.4305, allocations: 11.92 kB / 477.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002517/0.4331, allocations: 0.6544 MB / 477.8 MB, free: 13.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00181/0.4349, allocations: 449.2 kB / 478.2 MB, free: 13.62 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009293/0.4442, allocations: 9.168 MB / 487.4 MB, free: 22.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001694/0.4459, allocations: 162.4 kB / 487.5 MB, free: 22.12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/0.446, allocations: 62.95 kB / 487.6 MB, free: 22.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.001e-05/0.4461, allocations: 4.844 kB / 487.6 MB, free: 22.11 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005366/0.4514, allocations: 2.677 MB / 490.3 MB, free: 20.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.202e-05/0.4515, allocations: 17.09 kB / 490.3 MB, free: 20.99 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002196/0.4537, allocations: 0.6566 MB / 491 MB, free: 20.68 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.4554, allocations: 444 kB / 491.4 MB, free: 20.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009694/0.4651, allocations: 9.152 MB / 0.4888 GB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.4669, allocations: 143.9 kB / 0.4889 GB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/0.4671, allocations: 67.98 kB / 0.489 GB, free: 11.73 MB / 366.1 MB Warning: Assuming fixed start value for the following 5 variables: myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.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] smpm1.i_0_s:VARIABLE(start = 0.0 unit = "A" fixed = true stateSelect=StateSelect.prefer ) "Stator zero-sequence current" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,myMTPA.limiting.y,$PRE.tqRef.T_start,tqRef.T_start,$PRE.tqRef.count,tqRef.count,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 (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 2 {6 2,2 1} Notification: Performance of prepare postOptimizeDAE: time 0.001349/0.4684, allocations: 0.7142 MB / 0.4897 GB, free: 11.01 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003096/0.4687, allocations: 154.1 kB / 0.4899 GB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005218/0.474, allocations: 2.542 MB / 0.4923 GB, free: 8.285 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.186e-05/0.474, allocations: 12 kB / 0.4924 GB, free: 8.273 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.474, allocations: 8 kB / 0.4924 GB, free: 8.266 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.474, allocations: 3.984 kB / 0.4924 GB, free: 8.262 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009142/0.4832, allocations: 4.822 MB / 0.4971 GB, free: 3.371 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.4832, allocations: 4 kB / 0.4971 GB, free: 3.367 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001331/0.4845, allocations: 331.8 kB / 0.4974 GB, free: 3.043 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002334/0.4869, allocations: 0.6649 MB / 0.498 GB, free: 2.359 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001245/0.487, allocations: 31.98 kB / 0.4981 GB, free: 2.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00982/0.4969, allocations: 9.312 MB / 0.5072 GB, free: 8.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.4969, allocations: 7.938 kB / 0.5072 GB, free: 8.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007049/0.5039, allocations: 3.724 MB / 0.5108 GB, free: 4.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001099/0.5051, allocations: 387.1 kB / 0.5112 GB, free: 4.086 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004891/0.5056, allocations: 24 kB / 0.5112 GB, free: 4.062 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.5069, allocations: 129.9 kB / 0.5113 GB, free: 3.938 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003199/0.5072, allocations: 116.7 kB / 0.5114 GB, free: 3.824 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.541e-05/0.5073, allocations: 39.98 kB / 0.5115 GB, free: 3.785 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001609/0.5089, allocations: 0.897 MB / 0.5124 GB, free: 2.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.509, allocations: 4 kB / 0.5124 GB, free: 2.883 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003346/0.5123, allocations: 0.7812 MB / 0.5131 GB, free: 2.102 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 (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 2 {6 4,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.000346/0.5127, allocations: 149.3 kB / 0.5133 GB, free: 1.945 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.008821/0.5215, allocations: 4.963 MB / 0.5181 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/0.5215, allocations: 2.078 kB / 0.5181 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003253/0.5248, allocations: 1.894 MB / 0.52 GB, free: 10.82 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002252/0.5271, allocations: 375.8 kB / 0.5203 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00899/0.5361, allocations: 4.985 MB / 0.5252 GB, free: 5.434 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/0.5381, allocations: 1.723 MB / 0.5269 GB, free: 3.672 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001658/0.5398, allocations: 488.8 kB / 0.5273 GB, free: 3.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003232/0.5401, allocations: 107.4 kB / 0.5274 GB, free: 3.082 MB / 398.1 MB Notification: Performance of SimCode: time 1.493e-06/0.5401, allocations: 3.938 kB / 0.5274 GB, free: 3.078 MB / 398.1 MB Notification: Performance of Templates: time 0.04611/0.5862, allocations: 28.56 MB / 0.5553 GB, free: 6.742 MB / 430.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 -lv LOG_STATS > EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1)