Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr EHPTlib_EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds.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.SmaAllSpeeds,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds,fileNamePrefix="EHPTlib_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds",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.001294/0.001294, allocations: 108 kB / 15.6 MB, free: 132 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.001214/0.001214, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1438/0.1438, allocations: 8.023 MB / 298.4 MB, free: 2.395 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.91 kB / 360.7 MB, free: 14.15 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09953/0.1009, allocations: 51.19 MB / 411.9 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds): time 0.1919/0.2928, allocations: 11.57 MB / 423.5 MB, free: 36.85 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005844/0.2986, allocations: 3.207 MB / 426.7 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/0.3003, allocations: 67.62 kB / 426.8 MB, free: 36.82 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.3016, allocations: 0.6042 MB / 427.4 MB, free: 36.72 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002129/0.3038, allocations: 0.8123 MB / 428.2 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.305, allocations: 0.6285 MB / 428.8 MB, free: 36.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002454/0.3074, allocations: 3.061 MB / 431.9 MB, free: 35.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002225/0.3097, allocations: 2.557 MB / 434.4 MB, free: 34.09 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.3112, allocations: 1.343 MB / 435.8 MB, free: 33.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001744/0.3129, allocations: 1.654 MB / 437.4 MB, free: 32.67 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004766/0.3134, allocations: 386.6 kB / 437.8 MB, free: 32.67 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008111/0.3142, allocations: 482 kB / 438.3 MB, free: 32.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007008/0.3149, allocations: 0.9992 MB / 439.3 MB, free: 32.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001527/0.3165, allocations: 1.653 MB / 440.9 MB, free: 30.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003644/0.3201, allocations: 4.716 MB / 445.6 MB, free: 29.35 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.3201, allocations: 3.25 kB / 445.6 MB, free: 29.35 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3202, allocations: 4 kB / 445.6 MB, free: 29.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001127/0.3203, allocations: 0 / 445.6 MB, free: 29.34 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: 699 * Number of variables: 699 Notification: Performance of Generate backend data structure: time 0.006609/0.3269, allocations: 3.264 MB / 448.9 MB, free: 27.53 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.556e-05/0.327, allocations: 9.594 kB / 448.9 MB, free: 27.53 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005442/0.3275, allocations: 381.9 kB / 449.3 MB, free: 27.31 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008986/0.3284, allocations: 332.9 kB / 449.6 MB, free: 27.15 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002623/0.3311, allocations: 1.604 MB / 451.2 MB, free: 26.2 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.3313, allocations: 238.3 kB / 451.5 MB, free: 26.07 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003687/0.3316, allocations: 271.9 kB / 451.7 MB, free: 25.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00503/0.3367, allocations: 3.326 MB / 455 MB, free: 24.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.161e-05/0.3368, allocations: 3.031 kB / 455.1 MB, free: 24.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002217/0.337, allocations: 111.3 kB / 455.2 MB, free: 24.54 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000108/0.3371, allocations: 130.6 kB / 455.3 MB, free: 24.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004275/0.3414, allocations: 2.66 MB / 457.9 MB, free: 23.56 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01688/0.3583, allocations: 10.77 MB / 468.7 MB, free: 17.69 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003314/0.3617, allocations: 1.85 MB / 470.6 MB, free: 16.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001717/0.3634, allocations: 0.9346 MB / 471.5 MB, free: 16.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000246/0.3637, allocations: 131 kB / 471.6 MB, free: 16.38 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.3637, allocations: 44.59 kB / 471.7 MB, free: 16.33 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 3.046e-06/0.3637, allocations: 0 / 471.7 MB, free: 16.33 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01998/0.3837, allocations: 7.292 MB / 479 MB, free: 13.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.248e-05/0.3838, allocations: 94.73 kB / 479.1 MB, free: 13.62 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=1e-05) 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.002307/0.3861, allocations: 1.46 MB / 480.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001758/0.3863, allocations: 51.2 kB / 480.6 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00066/0.387, allocations: 1.209 MB / 481.8 MB, free: 12.08 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003709/0.3874, allocations: 462.1 kB / 482.2 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004892/0.3879, allocations: 294.8 kB / 482.5 MB, free: 11.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 5.105e-05/0.3879, allocations: 305.7 kB / 482.8 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/0.3892, allocations: 0.7791 MB / 483.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001387/0.3906, allocations: 1.24 MB / 484.8 MB, free: 9.969 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009421/0.4001, allocations: 4.082 MB / 488.9 MB, free: 7.5 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.35e-05/0.4001, allocations: 4 kB / 488.9 MB, free: 7.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006216/0.4063, allocations: 3.038 MB / 492 MB, free: 4.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.709e-05/0.4064, allocations: 8 kB / 492 MB, free: 4.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.4064, allocations: 16 kB / 492 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002751/0.4092, allocations: 0.7234 MB / 492.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.4105, allocations: 395.4 kB / 493.1 MB, free: 3.297 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01234/0.4229, allocations: 8.378 MB / 0.4897 GB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/0.4247, allocations: 127.8 kB / 0.4898 GB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001739/0.4249, allocations: 67.98 kB / 0.4899 GB, free: 10.31 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.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.pi.x:VARIABLE(start = myMTPA.pi.x_start fixed = true ) "State of block" 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.002599/0.4275, allocations: 1.4 MB / 0.4913 GB, free: 8.91 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00159/0.4291, allocations: 1.23 MB / 0.4925 GB, free: 7.484 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01025/0.4394, allocations: 4.04 MB / 0.4964 GB, free: 3.242 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.842e-05/0.4395, allocations: 7.984 kB / 0.4964 GB, free: 3.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.006964/0.4464, allocations: 2.952 MB / 0.4993 GB, free: 272 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.4465, allocations: 12.38 kB / 0.4993 GB, free: 260 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/0.4465, allocations: 24 kB / 0.4993 GB, free: 236 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002864/0.4494, allocations: 0.7 MB / 0.5 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001506/0.4509, allocations: 399.4 kB / 0.5004 GB, free: 15.13 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.4628, allocations: 8.178 MB / 0.5084 GB, free: 6.535 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001757/0.4645, allocations: 115.8 kB / 0.5085 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001433/0.4647, allocations: 75.98 kB / 0.5086 GB, free: 6.348 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.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.pi.x:VARIABLE(start = myMTPA.pi.x_start fixed = true ) "State of block" 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: 65 * Number of states: 0 () * Number of discrete variables: 2 (myMTPA.limiting.y,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (184): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0005216/0.4652, allocations: 292.3 kB / 0.5089 GB, free: 6.059 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003294/0.4656, allocations: 162 kB / 0.509 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006301/0.4719, allocations: 2.654 MB / 0.5116 GB, free: 3.223 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.4719, allocations: 23.94 kB / 0.5116 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/0.4719, allocations: 0 / 0.5116 GB, free: 3.199 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/0.4719, allocations: 7.969 kB / 0.5116 GB, free: 3.191 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01071/0.4827, allocations: 5.37 MB / 0.5169 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.568e-06/0.4827, allocations: 4 kB / 0.5169 GB, free: 13.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/0.4838, allocations: 247.6 kB / 0.5171 GB, free: 13.51 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002605/0.4864, allocations: 0.7059 MB / 0.5178 GB, free: 12.79 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000105/0.4865, allocations: 35.98 kB / 0.5178 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01311/0.4996, allocations: 8.522 MB / 0.5262 GB, free: 3.809 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4997, allocations: 4 kB / 0.5262 GB, free: 3.805 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008232/0.5079, allocations: 3.74 MB / 0.5298 GB, free: 4 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.509, allocations: 398.9 kB / 0.5302 GB, free: 15.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002486/0.5092, allocations: 24 kB / 0.5302 GB, free: 15.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009913/0.5102, allocations: 107.8 kB / 0.5303 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003691/0.5106, allocations: 117.1 kB / 0.5304 GB, free: 15.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-05/0.5107, allocations: 40 kB / 0.5305 GB, free: 15.31 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001554/0.5123, allocations: 0.9659 MB / 0.5314 GB, free: 14.35 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5123, allocations: 0 / 0.5314 GB, free: 14.35 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00291/0.5152, allocations: 0.9102 MB / 0.5323 GB, free: 13.44 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 8 (smpm1.i_0_s,smpm1.idq_sr[1],smpm1.idq_sr[2],integrator.y,myMTPA.firstOrder1.y,myMTPA.pi.x,speed.phi,speed.w) * Number of discrete variables: 1 (myMTPA.limiting.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 2 systems {(2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(8,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.008469/0.5237, allocations: 4.374 MB / 0.5366 GB, free: 8.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.009976/0.5337, allocations: 5.06 MB / 0.5415 GB, free: 3.824 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.5337, allocations: 0 / 0.5415 GB, free: 3.824 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003251/0.537, allocations: 1.759 MB / 0.5432 GB, free: 2.012 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002267/0.5393, allocations: 451.3 kB / 0.5437 GB, free: 1.594 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03462/0.5739, allocations: 20.02 MB / 0.5632 GB, free: 12.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001673/0.5756, allocations: 1.921 MB / 0.5651 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001594/0.5773, allocations: 0.4902 MB / 0.5656 GB, free: 9.82 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/0.5785, allocations: 0.9561 MB / 0.5665 GB, free: 8.863 MB / 446.1 MB Notification: Performance of SimCode: time 8.42e-07/0.5785, allocations: 4 kB / 0.5665 GB, free: 8.859 MB / 446.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: 6.283185307179586 * smpm1.fsNominal / /*Real*/(smpm1.p).