Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim") translateModel(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="EHPTlib_latest_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.001241/0.001242, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001713/0.001713, allocations: 189.8 kB / 16.25 MB, free: 6.625 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.301/1.301, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1545/0.1545, allocations: 8.03 MB / 298.1 MB, free: 2.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 63.89 kB / 360.1 MB, free: 14.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09349/0.09467, allocations: 51.19 MB / 411.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.0102/0.1049, allocations: 9.825 MB / 421.1 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1822/0.2871, allocations: 2.801 MB / 423.9 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001979/0.2891, allocations: 49.47 kB / 424 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001826/0.291, allocations: 439.7 kB / 424.4 MB, free: 36.62 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00247/0.2935, allocations: 0.6622 MB / 425.1 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001389/0.2949, allocations: 450.1 kB / 425.5 MB, free: 36.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002695/0.2976, allocations: 2.55 MB / 428.1 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.2991, allocations: 1.67 MB / 429.7 MB, free: 35.96 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.3003, allocations: 1.085 MB / 430.8 MB, free: 35.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00126/0.3016, allocations: 1.384 MB / 432.2 MB, free: 34.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002846/0.3019, allocations: 294.3 kB / 432.5 MB, free: 34.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005172/0.3024, allocations: 376 kB / 432.9 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004992/0.3029, allocations: 0.8042 MB / 433.7 MB, free: 34.44 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008617/0.3038, allocations: 1.295 MB / 435 MB, free: 33.6 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00198/0.3058, allocations: 3.661 MB / 438.6 MB, free: 32.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3058, allocations: 0 / 438.6 MB, free: 32.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3058, allocations: 0 / 438.6 MB, free: 32.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.866e-05/0.3059, allocations: 0 / 438.6 MB, free: 32.34 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.004116/0.31, allocations: 2.749 MB / 441.4 MB, free: 30.79 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.31, allocations: 9 kB / 441.4 MB, free: 30.79 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005484/0.3106, allocations: 269.7 kB / 441.6 MB, free: 30.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.3121, allocations: 1.339 MB / 443 MB, free: 29.87 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.3123, allocations: 183.2 kB / 443.2 MB, free: 29.77 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000232/0.3125, allocations: 197.4 kB / 443.4 MB, free: 29.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0033/0.3158, allocations: 2.609 MB / 446 MB, free: 28.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.983e-05/0.3159, allocations: 6.938 kB / 446 MB, free: 28.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001532/0.316, allocations: 76.03 kB / 446 MB, free: 28.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.169e-05/0.3161, allocations: 98.14 kB / 446.1 MB, free: 28.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002937/0.3191, allocations: 2.197 MB / 448.3 MB, free: 27.84 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009051/0.3281, allocations: 8.322 MB / 456.7 MB, free: 23.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002322/0.3305, allocations: 1.617 MB / 458.3 MB, free: 22.5 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.3317, allocations: 0.8292 MB / 459.1 MB, free: 22.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002265/0.3319, allocations: 126 kB / 459.2 MB, free: 22.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001179/0.3331, allocations: 0.8031 MB / 460 MB, free: 21.8 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 4.008e-06/0.3331, allocations: 3.125 kB / 460 MB, free: 21.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.0148/0.3479, allocations: 6.628 MB / 466.7 MB, free: 19.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.348, allocations: 169 kB / 466.8 MB, free: 19.04 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.00189/0.3499, allocations: 1.4 MB / 468.2 MB, free: 18.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.474e-05/0.35, allocations: 47.77 kB / 468.3 MB, free: 18.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005753/0.3506, allocations: 0.9659 MB / 469.2 MB, free: 17.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002641/0.3509, allocations: 425.9 kB / 469.7 MB, free: 17.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003978/0.3513, allocations: 269.3 kB / 469.9 MB, free: 17.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.463e-05/0.3513, allocations: 306.9 kB / 470.2 MB, free: 16.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00123/0.3526, allocations: 0.7543 MB / 471 MB, free: 16.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0014/0.354, allocations: 1.184 MB / 472.2 MB, free: 15.9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009632/0.3636, allocations: 3.995 MB / 476.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/0.3636, allocations: 3.312 kB / 476.2 MB, free: 14.2 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.0057/0.3693, allocations: 2.723 MB / 478.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.094e-05/0.3694, allocations: 37.55 kB / 478.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.3694, allocations: 13.22 kB / 478.9 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002343/0.3718, allocations: 0.6009 MB / 479.5 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/0.3732, allocations: 416.6 kB / 479.9 MB, free: 12.96 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008312/0.3816, allocations: 9.557 MB / 489.5 MB, free: 4.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.3833, allocations: 141.6 kB / 489.6 MB, free: 4.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002539/0.3835, allocations: 64.42 kB / 489.7 MB, free: 4.629 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.002286/0.3858, allocations: 1.266 MB / 491 MB, free: 3.672 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00134/0.3872, allocations: 1.173 MB / 492.1 MB, free: 2.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009636/0.3968, allocations: 3.963 MB / 496.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.42e-05/0.3969, allocations: 4 kB / 496.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006668/0.4035, allocations: 2.702 MB / 498.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.35e-05/0.4036, allocations: 37.7 kB / 498.8 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.4036, allocations: 15.94 kB / 498.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002323/0.406, allocations: 0.6084 MB / 499.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001615/0.4076, allocations: 403.4 kB / 499.9 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01074/0.4184, allocations: 9.555 MB / 0.4975 GB, free: 104 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002173/0.4206, allocations: 148.1 kB / 0.4976 GB, free: 15.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/0.4208, allocations: 67.92 kB / 0.4977 GB, free: 15.89 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.0006261/0.4215, allocations: 296 kB / 0.498 GB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004588/0.422, allocations: 154.1 kB / 0.4981 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005486/0.4274, allocations: 2.394 MB / 0.5004 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.4275, allocations: 16 kB / 0.5005 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.4275, allocations: 0 / 0.5005 GB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.595e-05/0.4275, allocations: 7.969 kB / 0.5005 GB, free: 13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009476/0.437, allocations: 4.699 MB / 0.5051 GB, free: 8.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/0.437, allocations: 4.281 kB / 0.5051 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001218/0.4383, allocations: 291.6 kB / 0.5053 GB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002041/0.4403, allocations: 0.5856 MB / 0.5059 GB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.4405, allocations: 39.97 kB / 0.506 GB, free: 7.301 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/0.4511, allocations: 9.702 MB / 0.5154 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/0.4512, allocations: 8.062 kB / 0.5154 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007044/0.4582, allocations: 3.425 MB / 0.5188 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008708/0.4591, allocations: 379.1 kB / 0.5191 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000446/0.4596, allocations: 35.94 kB / 0.5192 GB, free: 8.965 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001197/0.4608, allocations: 111.8 kB / 0.5193 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003559/0.4612, allocations: 116.8 kB / 0.5194 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.491e-05/0.4613, allocations: 35.98 kB / 0.5194 GB, free: 8.707 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001631/0.4629, allocations: 0.9204 MB / 0.5203 GB, free: 7.785 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4629, allocations: 0 / 0.5203 GB, free: 7.785 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002888/0.4658, allocations: 0.789 MB / 0.5211 GB, free: 6.996 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.0004002/0.4662, allocations: 191.6 kB / 0.5213 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009978/0.4762, allocations: 5.297 MB / 0.5265 GB, free: 1.316 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.438e-06/0.4762, allocations: 0 / 0.5265 GB, free: 1.316 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003182/0.4794, allocations: 1.833 MB / 0.5282 GB, free: 15.4 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/0.4818, allocations: 430.1 kB / 0.5287 GB, free: 15 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008145/0.49, allocations: 5.083 MB / 0.5336 GB, free: 9.863 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0017/0.4917, allocations: 1.676 MB / 0.5353 GB, free: 8.156 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001718/0.4935, allocations: 476.8 kB / 0.5357 GB, free: 7.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/0.4939, allocations: 115.4 kB / 0.5358 GB, free: 7.57 MB / 414.1 MB Notification: Performance of SimCode: time 8.52e-07/0.4939, allocations: 0 / 0.5358 GB, free: 7.57 MB / 414.1 MB Notification: Performance of Templates: time 0.05052/0.5444, allocations: 31.48 MB / 0.5666 GB, free: 8.336 MB / 446.1 MB make -j1 -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.makefile (rm -f EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; mkfifo EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe ; head -c 1048576 < EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe >> ../files/EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.sim & ./EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim -abortSlowSimulation -alarm=480 -lv LOG_STATS > EHPTlib_latest_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1)