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 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_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.001186/0.001186, 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.001198/0.001198, allocations: 188.7 kB / 16.25 MB, free: 6.59 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.268/1.268, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.165/0.165, allocations: 8.032 MB / 298.1 MB, free: 2.473 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 59.89 kB / 360.1 MB, free: 14.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09833/0.09993, allocations: 51.2 MB / 411.3 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.01026/0.1102, allocations: 9.822 MB / 421.1 MB, free: 1.555 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1895/0.2998, allocations: 2.804 MB / 423.9 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001357/0.3012, allocations: 45.5 kB / 424 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001225/0.3024, allocations: 437.2 kB / 424.4 MB, free: 37.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.3044, allocations: 0.6599 MB / 425.1 MB, free: 37.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000833/0.3052, allocations: 455.4 kB / 425.5 MB, free: 37.2 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00187/0.3071, allocations: 2.547 MB / 428.1 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.3086, allocations: 1.668 MB / 429.7 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001115/0.3097, allocations: 1.086 MB / 430.8 MB, free: 35.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001581/0.3113, allocations: 1.392 MB / 432.2 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004064/0.3118, allocations: 286.5 kB / 432.5 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007079/0.3125, allocations: 379.9 kB / 432.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006053/0.3131, allocations: 0.8035 MB / 433.7 MB, free: 34.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001033/0.3141, allocations: 1.299 MB / 435 MB, free: 33.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002212/0.3164, allocations: 3.654 MB / 438.6 MB, free: 32.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3164, allocations: 4 kB / 438.6 MB, free: 32.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3164, allocations: 0 / 438.6 MB, free: 32.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.927e-05/0.3164, allocations: 0 / 438.6 MB, free: 32.63 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.004674/0.3211, allocations: 2.749 MB / 441.4 MB, free: 31.08 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.3212, allocations: 9.188 kB / 441.4 MB, free: 31.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005678/0.3217, allocations: 265.8 kB / 441.6 MB, free: 30.96 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001538/0.3233, allocations: 1.334 MB / 443 MB, free: 30.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.3235, allocations: 182.1 kB / 443.2 MB, free: 30.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002398/0.3237, allocations: 203.5 kB / 443.4 MB, free: 30 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003457/0.3272, allocations: 2.605 MB / 446 MB, free: 28.96 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.097e-05/0.3272, allocations: 10.78 kB / 446 MB, free: 28.96 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/0.3274, allocations: 78.78 kB / 446 MB, free: 28.9 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.787e-05/0.3275, allocations: 95.77 kB / 446.1 MB, free: 28.89 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003005/0.3305, allocations: 2.196 MB / 448.3 MB, free: 28.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009946/0.3405, allocations: 8.318 MB / 456.7 MB, free: 23.53 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002397/0.3429, allocations: 1.622 MB / 458.3 MB, free: 22.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/0.3441, allocations: 0.8355 MB / 459.1 MB, free: 22.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002089/0.3443, allocations: 122.3 kB / 459.2 MB, free: 22.42 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/0.3454, allocations: 0.7982 MB / 460 MB, free: 22.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.855e-06/0.3454, allocations: 3.094 kB / 460 MB, free: 22.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01562/0.3611, allocations: 6.628 MB / 466.7 MB, free: 19.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.851e-05/0.3612, allocations: 169.4 kB / 466.8 MB, free: 19.34 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.002406/0.3636, allocations: 1.4 MB / 468.2 MB, free: 18.78 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001093/0.3637, allocations: 47.08 kB / 468.3 MB, free: 18.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006339/0.3644, allocations: 0.9636 MB / 469.2 MB, free: 17.99 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/0.3646, allocations: 426.4 kB / 469.6 MB, free: 17.67 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003934/0.365, allocations: 270 kB / 469.9 MB, free: 17.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.739e-05/0.3651, allocations: 303 kB / 470.2 MB, free: 17.25 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001231/0.3663, allocations: 0.7617 MB / 471 MB, free: 16.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.3677, allocations: 1.185 MB / 472.2 MB, free: 16.2 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009428/0.3772, allocations: 3.994 MB / 476.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.986e-05/0.3772, allocations: 4.656 kB / 476.2 MB, free: 14.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005749/0.383, allocations: 2.722 MB / 478.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.905e-05/0.383, allocations: 42.66 kB / 478.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.572e-05/0.3831, allocations: 11.62 kB / 478.9 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002276/0.3854, allocations: 0.6047 MB / 479.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.3868, allocations: 412.1 kB / 479.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008163/0.395, allocations: 9.559 MB / 489.5 MB, free: 4.949 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.3965, allocations: 141.3 kB / 489.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001104/0.3966, allocations: 64.89 kB / 489.7 MB, free: 4.863 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.001907/0.3985, allocations: 1.271 MB / 491 MB, free: 3.836 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001126/0.3996, allocations: 1.17 MB / 492.1 MB, free: 2.492 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008749/0.4084, allocations: 3.96 MB / 496.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.364e-06/0.4084, allocations: 4 kB / 496.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005432/0.4139, allocations: 2.703 MB / 498.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.036e-05/0.4139, allocations: 37.7 kB / 498.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.4139, allocations: 15.94 kB / 498.9 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002253/0.4162, allocations: 0.6052 MB / 499.5 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.4176, allocations: 407.3 kB / 499.9 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009834/0.4275, allocations: 9.552 MB / 0.4975 GB, free: 280 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00154/0.429, allocations: 147.8 kB / 0.4976 GB, free: 132 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.4292, allocations: 67.92 kB / 0.4977 GB, free: 64 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.0004929/0.4297, allocations: 301.6 kB / 0.498 GB, free: 15.77 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002535/0.4299, allocations: 150.1 kB / 0.4981 GB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004967/0.4349, allocations: 2.392 MB / 0.5004 GB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.4349, allocations: 12 kB / 0.5005 GB, free: 13.19 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.4349, allocations: 8 kB / 0.5005 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.435, allocations: 7.969 kB / 0.5005 GB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008364/0.4433, allocations: 4.709 MB / 0.5051 GB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.4434, allocations: 0 / 0.5051 GB, free: 8.395 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001167/0.4445, allocations: 291.8 kB / 0.5053 GB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001886/0.4464, allocations: 0.5824 MB / 0.5059 GB, free: 7.508 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.17e-05/0.4465, allocations: 39.97 kB / 0.506 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009609/0.4562, allocations: 9.701 MB / 0.5154 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.4562, allocations: 0 / 0.5154 GB, free: 13.06 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006287/0.4625, allocations: 3.431 MB / 0.5188 GB, free: 9.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006522/0.4631, allocations: 379.1 kB / 0.5191 GB, free: 9.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000212/0.4634, allocations: 31.94 kB / 0.5192 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000946/0.4643, allocations: 115.8 kB / 0.5193 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002853/0.4646, allocations: 104.8 kB / 0.5194 GB, free: 8.922 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.193e-05/0.4647, allocations: 39.92 kB / 0.5194 GB, free: 8.883 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001195/0.4659, allocations: 0.9283 MB / 0.5203 GB, free: 7.953 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4659, allocations: 0 / 0.5203 GB, free: 7.953 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002277/0.4682, allocations: 0.789 MB / 0.5211 GB, free: 7.164 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.0003449/0.4685, allocations: 183.5 kB / 0.5213 GB, free: 6.977 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.009468/0.478, allocations: 5.304 MB / 0.5265 GB, free: 1.484 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 9.918e-06/0.4781, allocations: 0 / 0.5265 GB, free: 1.484 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003202/0.4813, allocations: 1.833 MB / 0.5282 GB, free: 15.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001988/0.4833, allocations: 423.7 kB / 0.5286 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007151/0.4905, allocations: 5.081 MB / 0.5336 GB, free: 10.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001188/0.4917, allocations: 1.68 MB / 0.5352 GB, free: 8.328 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001376/0.493, allocations: 484.8 kB / 0.5357 GB, free: 7.848 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003731/0.4934, allocations: 111.4 kB / 0.5358 GB, free: 7.738 MB / 414.1 MB Notification: Performance of SimCode: time 4.6e-07/0.4934, allocations: 0 / 0.5358 GB, free: 7.738 MB / 414.1 MB Notification: Performance of Templates: time 0.04238/0.5358, allocations: 31.47 MB / 0.5666 GB, free: 8.504 MB / 446.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)