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.0009621/0.000962, allocations: 108 kB / 15.59 MB, free: 184 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009438/0.0009437, allocations: 194.6 kB / 16.51 MB, free: 6.723 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.22/1.22, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1476/0.1476, allocations: 8.022 MB / 298.4 MB, free: 2.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 59.89 kB / 360.6 MB, free: 14.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0952/0.09654, allocations: 51.19 MB / 411.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.0107/0.1073, allocations: 9.88 MB / 421.6 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1775/0.2849, allocations: 2.854 MB / 424.5 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.2862, allocations: 53.89 kB / 424.5 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001385/0.2877, allocations: 0.5058 MB / 425.1 MB, free: 36.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001994/0.2897, allocations: 0.7345 MB / 425.8 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009993/0.2907, allocations: 0.4978 MB / 426.3 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001895/0.2926, allocations: 2.54 MB / 428.8 MB, free: 36.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001415/0.294, allocations: 1.665 MB / 430.5 MB, free: 35.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.2954, allocations: 1.085 MB / 431.6 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001247/0.2967, allocations: 1.36 MB / 432.9 MB, free: 34.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000265/0.297, allocations: 289.7 kB / 433.2 MB, free: 34.65 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005014/0.2975, allocations: 382.8 kB / 433.6 MB, free: 34.63 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004959/0.298, allocations: 0.8045 MB / 434.4 MB, free: 34.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007992/0.2988, allocations: 1.292 MB / 435.7 MB, free: 33.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002111/0.3009, allocations: 3.653 MB / 439.3 MB, free: 32.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.3009, allocations: 3.031 kB / 439.3 MB, free: 32.1 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3009, allocations: 0 / 439.3 MB, free: 32.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.67e-05/0.301, allocations: 0 / 439.3 MB, free: 32.1 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.004409/0.3054, allocations: 2.75 MB / 442.1 MB, free: 30.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.3054, allocations: 14.25 kB / 442.1 MB, free: 30.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006033/0.306, allocations: 263.5 kB / 442.4 MB, free: 30.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001639/0.3077, allocations: 1.331 MB / 443.7 MB, free: 29.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.3078, allocations: 188.7 kB / 443.9 MB, free: 29.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002397/0.3081, allocations: 198.8 kB / 444.1 MB, free: 29.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003263/0.3113, allocations: 2.601 MB / 446.7 MB, free: 28.43 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.721e-05/0.3114, allocations: 7.094 kB / 446.7 MB, free: 28.43 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/0.3116, allocations: 82.23 kB / 446.8 MB, free: 28.37 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.817e-05/0.3116, allocations: 105.9 kB / 446.9 MB, free: 28.36 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003014/0.3147, allocations: 2.192 MB / 449.1 MB, free: 27.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01045/0.3251, allocations: 8.313 MB / 457.4 MB, free: 23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002597/0.3278, allocations: 1.624 MB / 459 MB, free: 22.27 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001306/0.3291, allocations: 0.8359 MB / 459.8 MB, free: 21.99 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002426/0.3293, allocations: 125.3 kB / 460 MB, free: 21.89 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001166/0.3305, allocations: 0.7993 MB / 460.7 MB, free: 21.57 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.234e-06/0.3305, allocations: 1.125 kB / 460.8 MB, free: 21.57 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01696/0.3475, allocations: 6.623 MB / 467.4 MB, free: 19 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.661e-05/0.3476, allocations: 176.6 kB / 467.5 MB, free: 18.8 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.002151/0.3498, allocations: 1.393 MB / 468.9 MB, free: 18.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000106/0.3499, allocations: 46.95 kB / 469 MB, free: 18.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007217/0.3506, allocations: 0.9673 MB / 470 MB, free: 17.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003025/0.3509, allocations: 422.9 kB / 470.4 MB, free: 17.14 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005424/0.3515, allocations: 268 kB / 470.6 MB, free: 17.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.692e-05/0.3516, allocations: 307.3 kB / 470.9 MB, free: 16.71 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.353, allocations: 0.757 MB / 471.7 MB, free: 16.45 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.3546, allocations: 1.184 MB / 472.9 MB, free: 15.67 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009949/0.3645, allocations: 3.996 MB / 476.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.3646, allocations: 3.375 kB / 476.9 MB, free: 13.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005569/0.3701, allocations: 2.722 MB / 479.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.712e-05/0.3702, allocations: 41.64 kB / 479.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/0.3702, allocations: 12.22 kB / 479.6 MB, free: 12.92 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/0.3724, allocations: 0.61 MB / 480.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.3738, allocations: 406.2 kB / 480.6 MB, free: 12.73 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008084/0.3819, allocations: 9.558 MB / 490.2 MB, free: 4.363 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.3834, allocations: 141.5 kB / 490.3 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.3836, allocations: 63.73 kB / 490.4 MB, free: 4.277 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.001931/0.3855, allocations: 1.262 MB / 491.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001121/0.3866, allocations: 1.177 MB / 492.8 MB, free: 1.859 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009072/0.3957, allocations: 3.958 MB / 496.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.997e-06/0.3957, allocations: 11.98 kB / 496.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005857/0.4016, allocations: 2.702 MB / 499.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.122e-05/0.4017, allocations: 37.7 kB / 499.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.096e-05/0.4017, allocations: 15.94 kB / 499.6 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002329/0.404, allocations: 0.6047 MB / 0.4885 GB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.4055, allocations: 411.3 kB / 0.4888 GB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01031/0.4159, allocations: 9.555 MB / 0.4982 GB, free: 15.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.4175, allocations: 139.8 kB / 0.4983 GB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/0.4176, allocations: 67.92 kB / 0.4984 GB, free: 15.43 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.000491/0.4181, allocations: 305.2 kB / 0.4987 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002464/0.4184, allocations: 150.1 kB / 0.4988 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005089/0.4235, allocations: 2.397 MB / 0.5012 GB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.735e-05/0.4235, allocations: 12 kB / 0.5012 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.4235, allocations: 0 / 0.5012 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.4235, allocations: 3.984 kB / 0.5012 GB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008277/0.4318, allocations: 4.702 MB / 0.5058 GB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.4319, allocations: 7.938 kB / 0.5058 GB, free: 7.754 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.4331, allocations: 291.8 kB / 0.506 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001925/0.435, allocations: 0.5871 MB / 0.5066 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001037/0.4351, allocations: 35.98 kB / 0.5067 GB, free: 6.828 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/0.4453, allocations: 9.696 MB / 0.5161 GB, free: 12.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.4453, allocations: 8.031 kB / 0.5161 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006612/0.452, allocations: 3.434 MB / 0.5195 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008385/0.4528, allocations: 375.1 kB / 0.5198 GB, free: 8.527 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.453, allocations: 35.94 kB / 0.5199 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009276/0.454, allocations: 107.9 kB / 0.52 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003066/0.4543, allocations: 112.8 kB / 0.5201 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-05/0.4544, allocations: 39.98 kB / 0.5201 GB, free: 8.238 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001263/0.4556, allocations: 0.9282 MB / 0.521 GB, free: 7.309 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4556, allocations: 0 / 0.521 GB, free: 7.309 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002885/0.4585, allocations: 0.7851 MB / 0.5218 GB, free: 6.523 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.0003569/0.4589, allocations: 193.4 kB / 0.522 GB, free: 6.328 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008151/0.4671, allocations: 4.854 MB / 0.5267 GB, free: 1.285 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.4671, allocations: 0 / 0.5267 GB, free: 1.285 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003082/0.4702, allocations: 1.845 MB / 0.5285 GB, free: 15.36 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002155/0.4723, allocations: 418.6 kB / 0.5289 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00719/0.4796, allocations: 4.228 MB / 0.533 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.4811, allocations: 1.68 MB / 0.5347 GB, free: 8.98 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001417/0.4825, allocations: 488.8 kB / 0.5352 GB, free: 8.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/0.4829, allocations: 111.4 kB / 0.5353 GB, free: 8.387 MB / 414.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4829, allocations: 3.938 kB / 0.5353 GB, free: 8.383 MB / 414.1 MB Notification: Performance of Templates: time 0.05098/0.5339, allocations: 31.57 MB / 0.5661 GB, free: 9.047 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)