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.001191/0.001191, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001144/0.001144, allocations: 194.7 kB / 16.14 MB, free: 6.66 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.403/1.403, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1518/0.1518, allocations: 8.031 MB / 298 MB, free: 2.496 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 59.91 kB / 359.9 MB, free: 14.85 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08834/0.08953, allocations: 51.19 MB / 411.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.01032/0.09988, allocations: 9.822 MB / 421 MB, free: 1.754 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1654/0.2653, allocations: 2.823 MB / 423.8 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001897/0.2673, allocations: 47.44 kB / 423.8 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00233/0.2696, allocations: 439.8 kB / 424.3 MB, free: 36.47 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002929/0.2726, allocations: 0.6616 MB / 424.9 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001254/0.2739, allocations: 455.2 kB / 425.4 MB, free: 36.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003239/0.2771, allocations: 2.841 MB / 428.2 MB, free: 36.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001476/0.2786, allocations: 1.398 MB / 429.6 MB, free: 35.89 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.28, allocations: 0.9523 MB / 430.6 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.2814, allocations: 1.296 MB / 431.8 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002876/0.2817, allocations: 171.6 kB / 432 MB, free: 35.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006211/0.2824, allocations: 270.9 kB / 432.3 MB, free: 35.18 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000532/0.2829, allocations: 0.6853 MB / 433 MB, free: 34.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.284, allocations: 1.168 MB / 434.1 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002194/0.2862, allocations: 3.552 MB / 437.7 MB, free: 32.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2862, allocations: 0 / 437.7 MB, free: 32.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2862, allocations: 4 kB / 437.7 MB, free: 32.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.038e-05/0.2863, allocations: 3.031 kB / 437.7 MB, free: 32.96 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.005392/0.2917, allocations: 2.742 MB / 440.4 MB, free: 31.42 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.897e-05/0.2917, allocations: 15.91 kB / 440.5 MB, free: 31.42 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006836/0.2924, allocations: 261.1 kB / 440.7 MB, free: 31.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001833/0.2943, allocations: 1.342 MB / 442 MB, free: 30.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/0.2944, allocations: 183.1 kB / 442.2 MB, free: 30.4 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002651/0.2947, allocations: 198.8 kB / 442.4 MB, free: 30.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00389/0.2986, allocations: 2.607 MB / 445 MB, free: 29.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.046e-05/0.2987, allocations: 10.56 kB / 445 MB, free: 29.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00017/0.2988, allocations: 82.84 kB / 445.1 MB, free: 29.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.834e-05/0.2989, allocations: 95.5 kB / 445.2 MB, free: 29.22 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003431/0.3024, allocations: 2.196 MB / 447.4 MB, free: 28.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01101/0.3134, allocations: 8.323 MB / 455.7 MB, free: 23.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002614/0.3161, allocations: 1.622 MB / 457.4 MB, free: 23.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.3173, allocations: 0.8286 MB / 458.2 MB, free: 22.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002199/0.3176, allocations: 131.7 kB / 458.3 MB, free: 22.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001222/0.3188, allocations: 0.7995 MB / 459.1 MB, free: 22.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 3.015e-06/0.3188, allocations: 4 kB / 459.1 MB, free: 22.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01657/0.3354, allocations: 6.627 MB / 465.7 MB, free: 19.84 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.3355, allocations: 168.7 kB / 465.9 MB, free: 19.66 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.00242/0.3379, allocations: 1.394 MB / 467.3 MB, free: 19.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002097/0.3381, allocations: 47.55 kB / 467.3 MB, free: 19.06 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000715/0.3389, allocations: 0.9684 MB / 468.3 MB, free: 18.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003942/0.3393, allocations: 427.5 kB / 468.7 MB, free: 17.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004668/0.3397, allocations: 268.1 kB / 469 MB, free: 17.86 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.403e-05/0.3398, allocations: 303.3 kB / 469.3 MB, free: 17.57 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001403/0.3412, allocations: 0.7534 MB / 470 MB, free: 17.3 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.3429, allocations: 1.189 MB / 471.2 MB, free: 16.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.3539, allocations: 3.979 MB / 475.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.373e-05/0.3539, allocations: 3.656 kB / 475.2 MB, free: 14.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006683/0.3606, allocations: 2.721 MB / 477.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.379e-05/0.3607, allocations: 47.47 kB / 478 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/0.3608, allocations: 12.78 kB / 478 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002468/0.3632, allocations: 0.5971 MB / 478.6 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.3649, allocations: 415.4 kB / 479 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009138/0.374, allocations: 8.819 MB / 487.8 MB, free: 5.855 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.3759, allocations: 144.1 kB / 488 MB, free: 5.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002909/0.3762, allocations: 67.92 kB / 488 MB, free: 5.766 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.002392/0.3786, allocations: 1.269 MB / 489.3 MB, free: 5.055 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001479/0.3801, allocations: 1.177 MB / 490.5 MB, free: 3.965 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009555/0.3896, allocations: 3.948 MB / 494.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.384e-05/0.3897, allocations: 4 kB / 494.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.006245/0.3959, allocations: 2.712 MB / 497.1 MB, free: 13.08 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.099e-05/0.396, allocations: 37.7 kB / 497.2 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.396, allocations: 12 kB / 497.2 MB, free: 13.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002427/0.3984, allocations: 0.5982 MB / 497.8 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.4001, allocations: 407.3 kB / 498.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.4106, allocations: 8.823 MB / 0.4951 GB, free: 2.523 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/0.4124, allocations: 143.9 kB / 0.4953 GB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002544/0.4126, allocations: 63.98 kB / 0.4953 GB, free: 2.32 MB / 366.1 MB Warning: Assuming fixed start value for the following 5 variables: smpm1.i_0_s:VARIABLE(start = 0.0 unit = "A" fixed = true stateSelect=StateSelect.prefer ) "Stator zero-sequence current" type: Real myMTPA.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real smpm1.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] smpm1.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.tqRef.count,$PRE.tqRef.T_start,tqRef.count,tqRef.T_start,myMTPA.limiting.y,$whenCondition1,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (173): * Single equations (assignments): 166 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(2,1,100.0%), (1,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,2), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0006125/0.4133, allocations: 299.5 kB / 0.4956 GB, free: 2.02 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000475/0.4137, allocations: 158 kB / 0.4958 GB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005583/0.4193, allocations: 2.392 MB / 0.4981 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.098e-05/0.4194, allocations: 12 kB / 0.4981 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.809e-06/0.4194, allocations: 3.938 kB / 0.4981 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.4194, allocations: 11.97 kB / 0.4981 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01014/0.4295, allocations: 4.694 MB / 0.5027 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/0.4296, allocations: 4 kB / 0.5027 GB, free: 10.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/0.4309, allocations: 291.9 kB / 0.503 GB, free: 10.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002382/0.4333, allocations: 0.6212 MB / 0.5036 GB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.4334, allocations: 31.98 kB / 0.5036 GB, free: 9.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01041/0.4438, allocations: 8.977 MB / 0.5124 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.4439, allocations: 7.969 kB / 0.5124 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00725/0.4511, allocations: 3.43 MB / 0.5157 GB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008916/0.452, allocations: 379.1 kB / 0.5161 GB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004006/0.4524, allocations: 32 kB / 0.5161 GB, free: 12.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.4536, allocations: 103.9 kB / 0.5162 GB, free: 12.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/0.454, allocations: 124.7 kB / 0.5164 GB, free: 11.89 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.671e-05/0.4541, allocations: 35.98 kB / 0.5164 GB, free: 11.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001521/0.4556, allocations: 0.9204 MB / 0.5173 GB, free: 10.93 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4556, allocations: 0 / 0.5173 GB, free: 10.93 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002887/0.4585, allocations: 0.789 MB / 0.5181 GB, free: 10.14 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.0003641/0.4589, allocations: 195 kB / 0.5182 GB, free: 9.945 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008592/0.4675, allocations: 4.816 MB / 0.5229 GB, free: 4.941 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.4675, allocations: 0 / 0.5229 GB, free: 4.941 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003231/0.4708, allocations: 1.829 MB / 0.5247 GB, free: 3.027 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/0.4731, allocations: 399.9 kB / 0.5251 GB, free: 2.645 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008242/0.4814, allocations: 5.072 MB / 0.5301 GB, free: 13.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001818/0.4833, allocations: 1.68 MB / 0.5317 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001891/0.4852, allocations: 484.8 kB / 0.5322 GB, free: 11.34 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004693/0.4856, allocations: 107.4 kB / 0.5323 GB, free: 11.23 MB / 414.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4857, allocations: 0 / 0.5323 GB, free: 11.23 MB / 414.1 MB Notification: Performance of Templates: time 0.05021/0.5359, allocations: 30.15 MB / 0.5617 GB, free: 13.3 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)