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.001018/0.001018, allocations: 96.09 kB / 16.23 MB, free: 5.918 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.001125/0.001125, allocations: 191.9 kB / 17.17 MB, free: 5.555 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.327/1.327, allocations: 222.9 MB / 240.8 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.04019/0.04019, allocations: 8.029 MB / 299 MB, free: 6.898 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 67.89 kB / 361.2 MB, free: 8.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2097/0.211, allocations: 51.2 MB / 412.4 MB, free: 26.33 MB / 302.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.008014/0.2191, allocations: 9.869 MB / 422.3 MB, free: 16.43 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004866/0.224, allocations: 2.859 MB / 425.1 MB, free: 13.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.2254, allocations: 47.81 kB / 425.2 MB, free: 13.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.2266, allocations: 0.508 MB / 425.7 MB, free: 13 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.2284, allocations: 0.7298 MB / 426.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008458/0.2293, allocations: 0.4954 MB / 426.9 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001628/0.2309, allocations: 2.538 MB / 429.5 MB, free: 9.219 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.2323, allocations: 1.672 MB / 431.1 MB, free: 7.504 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009407/0.2333, allocations: 1.082 MB / 432.2 MB, free: 6.418 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.2344, allocations: 1.354 MB / 433.6 MB, free: 5.059 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002824/0.2347, allocations: 292 kB / 433.9 MB, free: 4.773 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005074/0.2352, allocations: 383.8 kB / 434.2 MB, free: 4.398 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004985/0.2357, allocations: 0.8025 MB / 435 MB, free: 3.594 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008548/0.2366, allocations: 1.299 MB / 436.3 MB, free: 2.289 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002514/0.2391, allocations: 3.645 MB / 440 MB, free: 14.63 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.2392, allocations: 4 kB / 440 MB, free: 14.63 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.2392, allocations: 0 / 440 MB, free: 14.63 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.365e-05/0.2392, allocations: 0 / 440 MB, free: 14.63 MB / 318.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.005371/0.2446, allocations: 2.747 MB / 442.7 MB, free: 11.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.2447, allocations: 8.031 kB / 442.7 MB, free: 11.81 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006761/0.2454, allocations: 269.9 kB / 443 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.2475, allocations: 1.338 MB / 444.3 MB, free: 10.15 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.2477, allocations: 181.6 kB / 444.5 MB, free: 9.969 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003038/0.248, allocations: 199.9 kB / 444.7 MB, free: 9.773 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004065/0.2521, allocations: 2.606 MB / 447.3 MB, free: 7.121 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.163e-05/0.2521, allocations: 11.83 kB / 447.3 MB, free: 7.109 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.2523, allocations: 80 kB / 447.4 MB, free: 7.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001072/0.2524, allocations: 99.73 kB / 447.5 MB, free: 6.934 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00364/0.2561, allocations: 2.193 MB / 449.7 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01142/0.2675, allocations: 8.317 MB / 458 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/0.2703, allocations: 1.635 MB / 459.7 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001393/0.2717, allocations: 0.8313 MB / 460.5 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002384/0.272, allocations: 118.1 kB / 460.6 MB, free: 9.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/0.2733, allocations: 0.8028 MB / 461.4 MB, free: 8.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=104): time 2.465e-06/0.2733, allocations: 0 / 461.4 MB, free: 8.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=121): time 0.0155/0.2888, allocations: 6.646 MB / 468 MB, free: 1.895 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.576e-05/0.2889, allocations: 167.2 kB / 468.2 MB, free: 1.695 MB / 334.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.002013/0.291, allocations: 1.396 MB / 469.6 MB, free: 292 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.2911, allocations: 49.7 kB / 469.7 MB, free: 236 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007853/0.2919, allocations: 0.963 MB / 470.6 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003368/0.2922, allocations: 429.9 kB / 471 MB, free: 14.83 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004162/0.2926, allocations: 271.4 kB / 471.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.584e-05/0.2927, allocations: 301.1 kB / 471.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.294, allocations: 0.7504 MB / 472.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001526/0.2955, allocations: 1.189 MB / 473.5 MB, free: 12.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009907/0.3055, allocations: 3.99 MB / 477.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.3055, allocations: 4 kB / 477.5 MB, free: 7.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005744/0.3112, allocations: 2.723 MB / 480.3 MB, free: 5.191 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.721e-05/0.3113, allocations: 41.69 kB / 480.3 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.202e-05/0.3113, allocations: 15.98 kB / 480.3 MB, free: 5.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002345/0.3137, allocations: 0.5982 MB / 480.9 MB, free: 4.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.3152, allocations: 419.4 kB / 481.3 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01052/0.3258, allocations: 9.553 MB / 490.9 MB, free: 9.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001576/0.3274, allocations: 139.8 kB / 491 MB, free: 9.695 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.3275, allocations: 63.98 kB / 491.1 MB, free: 9.633 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0022/0.3297, allocations: 1.274 MB / 492.3 MB, free: 8.359 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001511/0.3312, allocations: 1.17 MB / 493.5 MB, free: 7.016 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009858/0.3411, allocations: 3.955 MB / 497.5 MB, free: 2.871 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.378e-05/0.3412, allocations: 7.938 kB / 497.5 MB, free: 2.863 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005666/0.3468, allocations: 2.703 MB / 0.4885 GB, free: 128 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.937e-05/0.3469, allocations: 45.62 kB / 0.4885 GB, free: 76 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/0.3469, allocations: 12 kB / 0.4885 GB, free: 64 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002271/0.3492, allocations: 0.6024 MB / 0.4891 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001446/0.3506, allocations: 407.4 kB / 0.4895 GB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/0.361, allocations: 9.548 MB / 0.4988 GB, free: 4.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.3626, allocations: 151.8 kB / 0.499 GB, free: 4.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001183/0.3627, allocations: 63.98 kB / 0.499 GB, free: 4.574 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.0005221/0.3633, allocations: 297.2 kB / 0.4993 GB, free: 4.277 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003073/0.3636, allocations: 158.1 kB / 0.4995 GB, free: 4.121 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005251/0.3688, allocations: 2.391 MB / 0.5018 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/0.3689, allocations: 15.98 kB / 0.5018 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.3689, allocations: 4 kB / 0.5018 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.3689, allocations: 3.984 kB / 0.5018 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1931/0.562, allocations: 4.689 MB / 0.5064 GB, free: 89.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/0.562, allocations: 3.219 kB / 0.5064 GB, free: 89.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/0.5632, allocations: 291.7 kB / 0.5067 GB, free: 89.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001911/0.5651, allocations: 0.5944 MB / 0.5073 GB, free: 89.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001024/0.5653, allocations: 32.05 kB / 0.5073 GB, free: 89.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008583/0.5739, allocations: 9.698 MB / 0.5168 GB, free: 81.44 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/0.5739, allocations: 9.969 kB / 0.5168 GB, free: 81.44 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006127/0.58, allocations: 3.432 MB / 0.5201 GB, free: 80.17 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006597/0.5807, allocations: 381.8 kB / 0.5205 GB, free: 79.99 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002062/0.5809, allocations: 34.52 kB / 0.5205 GB, free: 79.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009306/0.5819, allocations: 102.2 kB / 0.5206 GB, free: 79.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003261/0.5822, allocations: 115.2 kB / 0.5207 GB, free: 79.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.774e-05/0.5823, allocations: 37.45 kB / 0.5208 GB, free: 79.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001277/0.5836, allocations: 0.9208 MB / 0.5217 GB, free: 79.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5836, allocations: 0 / 0.5217 GB, free: 79.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.002108/0.5857, allocations: 0.7928 MB / 0.5224 GB, free: 79.48 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (inertia.w,smpm1.i_0_s,smpm1.idq_sr[1],smpm1.idq_sr[2],integrator.y,myMTPA.firstOrder.y,myMTPA.firstOrder1.y,tRes.phi) * Number of discrete variables: 4 ($whenCondition1,myMTPA.limiting.y,tqRef.T_start,tqRef.count) * Number of discrete states: 1 (tqRef.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (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.0003095/0.586, allocations: 192.9 kB / 0.5226 GB, free: 79.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.006651/0.5927, allocations: 4.859 MB / 0.5274 GB, free: 75.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/0.5927, allocations: 0 / 0.5274 GB, free: 75.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002498/0.5952, allocations: 1.827 MB / 0.5291 GB, free: 73.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001757/0.597, allocations: 421.3 kB / 0.5295 GB, free: 73.58 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005461/0.6024, allocations: 4.278 MB / 0.5337 GB, free: 69.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008461/0.6033, allocations: 1.665 MB / 0.5353 GB, free: 67.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005302/0.6038, allocations: 119.4 kB / 0.5355 GB, free: 67.52 MB / 382.1 MB Notification: Performance of SimCode: time 7.62e-07/0.6039, allocations: 4 kB / 0.5355 GB, free: 67.52 MB / 382.1 MB Notification: Performance of Templates: time 0.06906/0.6729, allocations: 84.34 MB / 0.6178 GB, free: 15.16 MB / 414.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)