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: "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_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.001193/0.001193, allocations: 108 kB / 15.61 MB, free: 152 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.001264/0.001264, allocations: 194.7 kB / 16.53 MB, free: 6.664 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.223/1.223, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1394/0.1394, allocations: 8.024 MB / 298.4 MB, free: 2.379 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 79.81 kB / 360.7 MB, free: 14.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08518/0.08634, allocations: 51.18 MB / 411.9 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.009979/0.09636, allocations: 9.876 MB / 421.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1507/0.2471, allocations: 2.854 MB / 424.7 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008339/0.2479, allocations: 49.44 kB / 424.7 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001018/0.249, allocations: 0.5046 MB / 425.2 MB, free: 36.77 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.2504, allocations: 0.7376 MB / 425.9 MB, free: 36.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007418/0.2511, allocations: 0.4966 MB / 426.4 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001455/0.2526, allocations: 2.537 MB / 429 MB, free: 36.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.2539, allocations: 1.677 MB / 430.7 MB, free: 35.69 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008403/0.2547, allocations: 1.071 MB / 431.7 MB, free: 35.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.2557, allocations: 1.371 MB / 433.1 MB, free: 34.59 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002679/0.256, allocations: 291.5 kB / 433.4 MB, free: 34.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004894/0.2565, allocations: 375.4 kB / 433.7 MB, free: 34.57 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004752/0.257, allocations: 0.8017 MB / 434.6 MB, free: 34.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000756/0.2578, allocations: 1.298 MB / 435.8 MB, free: 33.3 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001877/0.2596, allocations: 3.65 MB / 439.5 MB, free: 32.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2597, allocations: 4 kB / 439.5 MB, free: 32.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2597, allocations: 0 / 439.5 MB, free: 32.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.789e-05/0.2597, allocations: 0 / 439.5 MB, free: 32.04 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.004153/0.2639, allocations: 2.743 MB / 442.2 MB, free: 30.5 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.2639, allocations: 9.375 kB / 442.3 MB, free: 30.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002606/0.2642, allocations: 297.3 kB / 442.5 MB, free: 30.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005459/0.2647, allocations: 263.4 kB / 442.8 MB, free: 30.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.2663, allocations: 1.339 MB / 444.1 MB, free: 29.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.2664, allocations: 184.8 kB / 444.3 MB, free: 29.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002256/0.2666, allocations: 199.8 kB / 444.5 MB, free: 29.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/0.2697, allocations: 2.603 MB / 447.1 MB, free: 28.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.386e-05/0.2697, allocations: 7.031 kB / 447.1 MB, free: 28.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/0.2699, allocations: 80.38 kB / 447.2 MB, free: 28.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.33e-05/0.2699, allocations: 96.8 kB / 447.3 MB, free: 28.13 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002902/0.2729, allocations: 2.198 MB / 449.5 MB, free: 27.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008498/0.2814, allocations: 8.314 MB / 457.8 MB, free: 22.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.2837, allocations: 1.627 MB / 459.4 MB, free: 22.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.2849, allocations: 0.8326 MB / 460.3 MB, free: 21.76 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.2851, allocations: 126.8 kB / 460.4 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/0.2863, allocations: 0.8053 MB / 461.2 MB, free: 21.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.675e-06/0.2863, allocations: 0 / 461.2 MB, free: 21.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01472/0.301, allocations: 6.62 MB / 467.8 MB, free: 18.76 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.3011, allocations: 173.4 kB / 468 MB, free: 18.57 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.001852/0.303, allocations: 1.396 MB / 469.4 MB, free: 18.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.444e-05/0.303, allocations: 46.02 kB / 469.4 MB, free: 17.97 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005966/0.3037, allocations: 0.9653 MB / 470.4 MB, free: 17.23 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002539/0.3039, allocations: 426.5 kB / 470.8 MB, free: 16.91 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003828/0.3043, allocations: 268.4 kB / 471.1 MB, free: 16.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.535e-05/0.3043, allocations: 306.2 kB / 471.4 MB, free: 16.48 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001224/0.3056, allocations: 0.7577 MB / 472.1 MB, free: 16.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001401/0.307, allocations: 1.183 MB / 473.3 MB, free: 15.44 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009349/0.3163, allocations: 3.995 MB / 477.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.748e-06/0.3164, allocations: 2.562 kB / 477.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.005428/0.3218, allocations: 2.723 MB / 480 MB, free: 12.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.613e-05/0.3219, allocations: 41.2 kB / 480.1 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/0.3219, allocations: 17.61 kB / 480.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002153/0.324, allocations: 0.6026 MB / 480.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.3254, allocations: 413.4 kB / 481.1 MB, free: 12.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008135/0.3336, allocations: 9.553 MB / 490.7 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001432/0.335, allocations: 141.8 kB / 490.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.3352, allocations: 64.45 kB / 490.9 MB, free: 4.012 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.00186/0.337, allocations: 1.266 MB / 492.1 MB, free: 2.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00113/0.3382, allocations: 1.177 MB / 493.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009107/0.3473, allocations: 3.963 MB / 497.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.784e-06/0.3473, allocations: 0 / 497.3 MB, free: 13.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005728/0.353, allocations: 2.702 MB / 500 MB, free: 10.65 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.3531, allocations: 41.64 kB / 0.4883 GB, free: 10.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.3531, allocations: 15.94 kB / 0.4883 GB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002218/0.3553, allocations: 0.6133 MB / 0.4889 GB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001442/0.3568, allocations: 403.4 kB / 0.4893 GB, free: 9.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01058/0.3674, allocations: 9.553 MB / 0.4986 GB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001819/0.3692, allocations: 147.8 kB / 0.4988 GB, free: 15.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.3694, allocations: 67.98 kB / 0.4988 GB, free: 15.1 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.000562/0.37, allocations: 292.9 kB / 0.4991 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002992/0.3703, allocations: 150.1 kB / 0.4992 GB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005325/0.3756, allocations: 2.401 MB / 0.5016 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/0.3756, allocations: 12 kB / 0.5016 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.3757, allocations: 96 / 0.5016 GB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.441e-05/0.3757, allocations: 15.89 kB / 0.5016 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008614/0.3843, allocations: 4.688 MB / 0.5062 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.3843, allocations: 7.984 kB / 0.5062 GB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001202/0.3855, allocations: 287.8 kB / 0.5065 GB, free: 7.152 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001983/0.3875, allocations: 0.5855 MB / 0.507 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.119e-05/0.3876, allocations: 35.97 kB / 0.5071 GB, free: 6.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01034/0.398, allocations: 9.706 MB / 0.5166 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.398, allocations: 7.969 kB / 0.5166 GB, free: 12.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006698/0.4047, allocations: 3.424 MB / 0.5199 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008538/0.4056, allocations: 383.1 kB / 0.5203 GB, free: 8.211 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002151/0.4058, allocations: 31.94 kB / 0.5203 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009744/0.4068, allocations: 107.9 kB / 0.5204 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003022/0.4071, allocations: 116.8 kB / 0.5205 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.738e-05/0.4072, allocations: 39.97 kB / 0.5206 GB, free: 7.922 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001261/0.4085, allocations: 0.9205 MB / 0.5215 GB, free: 7 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.4085, allocations: 0 / 0.5215 GB, free: 7 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002383/0.4109, allocations: 0.7929 MB / 0.5222 GB, free: 6.207 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.00686/0.4177, allocations: 4.067 MB / 0.5262 GB, free: 2.066 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.01057/0.4283, allocations: 5.292 MB / 0.5314 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/0.4284, allocations: 3.938 kB / 0.5314 GB, free: 12.59 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003538/0.4319, allocations: 1.845 MB / 0.5332 GB, free: 10.65 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/0.434, allocations: 426.9 kB / 0.5336 GB, free: 10.25 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0277/0.4617, allocations: 18.15 MB / 0.5513 GB, free: 7.117 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001314/0.463, allocations: 1.68 MB / 0.5529 GB, free: 5.402 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001425/0.4645, allocations: 484.8 kB / 0.5534 GB, free: 4.922 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009447/0.4654, allocations: 0.7765 MB / 0.5542 GB, free: 4.145 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4654, allocations: 0 / 0.5542 GB, free: 4.145 MB / 430.1 MB [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 0.05 / (6.283185307179586 * smpm1.fsNominal). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 0.1 / (6.283185307179586 * smpm1.fsNominal). [CodegenUtil.tpl:216:14-216:14:writable] Error: Template error: initial value of unknown type: 6.283185307179586 * smpm1.fsNominal / /*Real*/(smpm1.p).