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: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_main_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_main_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001049, 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.001206/0.001206, allocations: 197.7 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1436/0.1436, allocations: 8.003 MB / 298.4 MB, free: 2.34 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 59.91 kB / 360.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08786/0.08917, allocations: 51.18 MB / 411.8 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.01035/0.09956, allocations: 9.873 MB / 421.7 MB, free: 1.078 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1667/0.2662, allocations: 2.855 MB / 424.6 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001334/0.2676, allocations: 50.92 kB / 424.6 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001211/0.2688, allocations: 0.5081 MB / 425.1 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001634/0.2705, allocations: 0.7366 MB / 425.8 MB, free: 36.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007707/0.2713, allocations: 0.4997 MB / 426.3 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00149/0.2728, allocations: 2.537 MB / 428.9 MB, free: 36.29 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.2741, allocations: 1.673 MB / 430.6 MB, free: 35.71 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008147/0.2749, allocations: 1.085 MB / 431.6 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001016/0.2759, allocations: 1.358 MB / 433 MB, free: 34.61 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002444/0.2762, allocations: 288.6 kB / 433.3 MB, free: 34.61 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004546/0.2766, allocations: 377.4 kB / 433.7 MB, free: 34.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000467/0.2771, allocations: 0.8089 MB / 434.5 MB, free: 34.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007576/0.2779, allocations: 1.293 MB / 435.8 MB, free: 33.32 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.2798, allocations: 3.65 MB / 439.4 MB, free: 32.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2798, allocations: 0 / 439.4 MB, free: 32.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2798, allocations: 0 / 439.4 MB, free: 32.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.491e-05/0.2798, allocations: 0 / 439.4 MB, free: 32.06 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.004018/0.2838, allocations: 2.75 MB / 442.2 MB, free: 30.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.2839, allocations: 12.27 kB / 442.2 MB, free: 30.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000243/0.2841, allocations: 284.5 kB / 442.4 MB, free: 30.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005283/0.2847, allocations: 268.8 kB / 442.7 MB, free: 30.22 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001503/0.2862, allocations: 1.342 MB / 444 MB, free: 29.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/0.2863, allocations: 179.5 kB / 444.2 MB, free: 29.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002284/0.2865, allocations: 197.2 kB / 444.4 MB, free: 29.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003093/0.2896, allocations: 2.607 MB / 447 MB, free: 28.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.679e-05/0.2897, allocations: 10.52 kB / 447 MB, free: 28.21 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000154/0.2898, allocations: 79.84 kB / 447.1 MB, free: 28.15 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-05/0.2899, allocations: 97.75 kB / 447.2 MB, free: 28.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002849/0.2928, allocations: 2.191 MB / 449.4 MB, free: 27.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008494/0.3013, allocations: 8.32 MB / 457.7 MB, free: 22.79 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00232/0.3036, allocations: 1.625 MB / 459.3 MB, free: 22.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001187/0.3048, allocations: 0.8302 MB / 460.2 MB, free: 21.78 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002091/0.305, allocations: 120.9 kB / 460.3 MB, free: 21.68 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001138/0.3062, allocations: 0.801 MB / 461.1 MB, free: 21.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.264e-06/0.3062, allocations: 0 / 461.1 MB, free: 21.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01511/0.3213, allocations: 6.632 MB / 467.7 MB, free: 18.78 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.3214, allocations: 171.4 kB / 467.9 MB, free: 18.59 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.002298/0.3237, allocations: 1.395 MB / 469.3 MB, free: 18.04 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.889e-05/0.3238, allocations: 46.55 kB / 469.3 MB, free: 17.99 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006539/0.3245, allocations: 0.9643 MB / 470.3 MB, free: 17.25 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002807/0.3248, allocations: 425.7 kB / 470.7 MB, free: 16.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004161/0.3252, allocations: 273.7 kB / 471 MB, free: 16.8 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.219e-05/0.3252, allocations: 308.8 kB / 471.3 MB, free: 16.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.3265, allocations: 0.7495 MB / 472 MB, free: 16.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.3279, allocations: 1.192 MB / 473.2 MB, free: 15.45 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00935/0.3373, allocations: 3.99 MB / 477.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.445e-05/0.3373, allocations: 3.406 kB / 477.2 MB, free: 13.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005469/0.3428, allocations: 2.729 MB / 479.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.431e-05/0.3428, allocations: 35.98 kB / 480 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.151e-05/0.3428, allocations: 12.44 kB / 480 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002148/0.345, allocations: 0.6044 MB / 480.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001385/0.3464, allocations: 411.2 kB / 481 MB, free: 12.51 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007789/0.3542, allocations: 9.557 MB / 490.6 MB, free: 4.102 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/0.3555, allocations: 137.5 kB / 490.7 MB, free: 4.035 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001201/0.3557, allocations: 64.61 kB / 490.8 MB, free: 4.02 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.001797/0.3575, allocations: 1.271 MB / 492 MB, free: 2.906 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001133/0.3586, allocations: 1.173 MB / 493.2 MB, free: 1.559 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009011/0.3676, allocations: 3.966 MB / 497.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.732e-06/0.3677, allocations: 0 / 497.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005473/0.3731, allocations: 2.702 MB / 499.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.3732, allocations: 41.64 kB / 499.9 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/0.3732, allocations: 12 kB / 499.9 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002169/0.3754, allocations: 0.6094 MB / 0.4888 GB, free: 9.988 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.3768, allocations: 411.3 kB / 0.4892 GB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009624/0.3864, allocations: 9.553 MB / 0.4985 GB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.3878, allocations: 143.8 kB / 0.4987 GB, free: 15.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.3879, allocations: 67.98 kB / 0.4987 GB, free: 15.13 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.0004412/0.3884, allocations: 304.4 kB / 0.499 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003277/0.3887, allocations: 150.1 kB / 0.4992 GB, free: 14.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00499/0.3937, allocations: 2.399 MB / 0.5015 GB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/0.3937, allocations: 12 kB / 0.5015 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3938, allocations: 0 / 0.5015 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.3938, allocations: 3.984 kB / 0.5015 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008038/0.4018, allocations: 4.696 MB / 0.5061 GB, free: 7.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/0.4018, allocations: 4 kB / 0.5061 GB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.403, allocations: 287.9 kB / 0.5064 GB, free: 7.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001885/0.4049, allocations: 0.5926 MB / 0.507 GB, free: 6.57 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.814e-05/0.405, allocations: 31.98 kB / 0.507 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009279/0.4143, allocations: 9.703 MB / 0.5165 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.4143, allocations: 4.312 kB / 0.5165 GB, free: 12.13 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005994/0.4203, allocations: 3.437 MB / 0.5198 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000657/0.421, allocations: 375.1 kB / 0.5202 GB, free: 8.234 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000236/0.4212, allocations: 39.86 kB / 0.5202 GB, free: 8.195 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009409/0.4222, allocations: 99.88 kB / 0.5203 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.4224, allocations: 124.8 kB / 0.5204 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.4e-05/0.4225, allocations: 35.98 kB / 0.5205 GB, free: 7.941 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001133/0.4236, allocations: 0.9243 MB / 0.5214 GB, free: 7.016 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4236, allocations: 0 / 0.5214 GB, free: 7.016 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002206/0.4258, allocations: 0.789 MB / 0.5221 GB, free: 6.227 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.006574/0.4324, allocations: 4.061 MB / 0.5261 GB, free: 2.098 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.008141/0.4406, allocations: 4.859 MB / 0.5308 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.4406, allocations: 4 kB / 0.5309 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003054/0.4437, allocations: 1.837 MB / 0.5326 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/0.4459, allocations: 424.1 kB / 0.5331 GB, free: 10.72 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0321/0.478, allocations: 18.32 MB / 0.5509 GB, free: 7.422 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001476/0.4795, allocations: 1.68 MB / 0.5526 GB, free: 5.707 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001328/0.4809, allocations: 488.8 kB / 0.553 GB, free: 5.223 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/0.4819, allocations: 0.7726 MB / 0.5538 GB, free: 4.449 MB / 430.1 MB Notification: Performance of SimCode: time 7.71e-07/0.4819, allocations: 0 / 0.5538 GB, free: 4.449 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2725/0.7544, allocations: 47.31 MB / 0.6 GB, free: 120.3 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.33/11.08, allocations: 6.406 kB / 0.6 GB, free: 120.3 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_EHPTlib_main_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 EHPTlib_main_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim.fmu > EHPTlib_main_EHPTlib.ElectricDrives.TestingModels.SmaDriveLim.pipe 2>&1)