Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib_ElectricDrives_TestingModels_SmaAllSpeeds",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds,fileNamePrefix="EHPTlib_latest_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.001211/0.001211, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001202/0.001202, allocations: 191.2 kB / 16.25 MB, free: 6.629 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.231/1.231, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1636/0.1636, allocations: 8.025 MB / 298.1 MB, free: 2.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001136/0.001136, allocations: 63.91 kB / 360.3 MB, free: 14.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09025/0.0914, allocations: 51.18 MB / 411.4 MB, free: 11.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaAllSpeeds): time 0.1792/0.2707, allocations: 11.46 MB / 422.9 MB, free: 36.66 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005335/0.2761, allocations: 3.143 MB / 426 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001252/0.2773, allocations: 63.31 kB / 426.1 MB, free: 36.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.2785, allocations: 0.5133 MB / 426.6 MB, free: 36.63 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001735/0.2803, allocations: 0.7073 MB / 427.3 MB, free: 36.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009989/0.2813, allocations: 0.5576 MB / 427.9 MB, free: 36.42 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002263/0.2836, allocations: 3.072 MB / 430.9 MB, free: 35.25 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002045/0.2856, allocations: 2.549 MB / 433.5 MB, free: 34.18 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.2868, allocations: 1.356 MB / 434.9 MB, free: 33.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.2882, allocations: 1.679 MB / 436.5 MB, free: 32.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003545/0.2885, allocations: 383.6 kB / 436.9 MB, free: 32.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006056/0.2892, allocations: 477.7 kB / 437.4 MB, free: 32.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005836/0.2898, allocations: 1 MB / 438.4 MB, free: 32.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.2908, allocations: 1.653 MB / 440 MB, free: 31.08 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002768/0.2936, allocations: 4.731 MB / 444.8 MB, free: 29.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2936, allocations: 0 / 444.8 MB, free: 29.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.2936, allocations: 0 / 444.8 MB, free: 29.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.548e-05/0.2937, allocations: 3.281 kB / 444.8 MB, free: 29.43 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.005209/0.2989, allocations: 3.257 MB / 448 MB, free: 27.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.2989, allocations: 9.625 kB / 448 MB, free: 27.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004057/0.2994, allocations: 383.7 kB / 448.4 MB, free: 27.39 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006918/0.3001, allocations: 337.7 kB / 448.7 MB, free: 27.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002009/0.3021, allocations: 1.601 MB / 450.3 MB, free: 26.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/0.3022, allocations: 241.8 kB / 450.6 MB, free: 26.15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003118/0.3026, allocations: 272.3 kB / 450.8 MB, free: 26.06 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004415/0.307, allocations: 3.327 MB / 454.2 MB, free: 24.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.638e-05/0.3071, allocations: 10.03 kB / 454.2 MB, free: 24.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/0.3073, allocations: 112.2 kB / 454.3 MB, free: 24.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-05/0.3074, allocations: 127.9 kB / 454.4 MB, free: 24.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00367/0.3111, allocations: 2.66 MB / 457.1 MB, free: 23.64 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/0.325, allocations: 10.76 MB / 467.8 MB, free: 17.77 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003002/0.328, allocations: 1.843 MB / 469.7 MB, free: 16.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001559/0.3296, allocations: 0.9377 MB / 470.6 MB, free: 16.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002316/0.3298, allocations: 123 kB / 470.7 MB, free: 16.48 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.3299, allocations: 43.95 kB / 470.8 MB, free: 16.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 3.236e-06/0.3299, allocations: 1.781 kB / 470.8 MB, free: 16.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.0188/0.3487, allocations: 7.299 MB / 478.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.3487, allocations: 97.09 kB / 478.2 MB, free: 13.71 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.002115/0.3509, allocations: 1.458 MB / 479.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.351, allocations: 50.61 kB / 479.7 MB, free: 13.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006424/0.3516, allocations: 1.201 MB / 480.9 MB, free: 12.17 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003212/0.352, allocations: 468.4 kB / 481.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004398/0.3524, allocations: 291.8 kB / 481.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.109e-05/0.3525, allocations: 309.1 kB / 481.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001222/0.3537, allocations: 0.7788 MB / 482.7 MB, free: 11.1 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001433/0.3551, allocations: 1.239 MB / 483.9 MB, free: 10.15 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00928/0.3644, allocations: 4.074 MB / 488 MB, free: 7.707 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.959e-05/0.3645, allocations: 4.688 kB / 488 MB, free: 7.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.006137/0.3706, allocations: 3.039 MB / 491.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.818e-05/0.3707, allocations: 8 kB / 491.1 MB, free: 4.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.3707, allocations: 16 kB / 491.1 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/0.3734, allocations: 0.7229 MB / 491.8 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001253/0.3746, allocations: 387.4 kB / 492.2 MB, free: 3.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01177/0.3864, allocations: 8.389 MB / 0.4888 GB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.3881, allocations: 127.7 kB / 0.489 GB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.3883, allocations: 68 kB / 0.489 GB, free: 10.7 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.002592/0.3909, allocations: 1.407 MB / 0.4904 GB, free: 9.293 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001549/0.3924, allocations: 1.238 MB / 0.4916 GB, free: 7.859 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009949/0.4024, allocations: 4.032 MB / 0.4955 GB, free: 3.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.5e-05/0.4024, allocations: 4 kB / 0.4955 GB, free: 3.621 MB / 366.1 MB Notification: Performance of matching and sorting (n=208) (initialization_lambda0): time 0.006842/0.4093, allocations: 2.957 MB / 0.4984 GB, free: 0.6445 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.646e-05/0.4093, allocations: 14.34 kB / 0.4984 GB, free: 0.6328 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.4094, allocations: 12 kB / 0.4985 GB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002875/0.4122, allocations: 0.7086 MB / 0.4992 GB, free: 15.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.4136, allocations: 395.4 kB / 0.4995 GB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01181/0.4254, allocations: 8.176 MB / 0.5075 GB, free: 6.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001749/0.4272, allocations: 115.8 kB / 0.5076 GB, free: 6.812 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/0.4274, allocations: 75.98 kB / 0.5077 GB, free: 6.738 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.0005651/0.4279, allocations: 299.6 kB / 0.508 GB, free: 6.434 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000302/0.4282, allocations: 158 kB / 0.5081 GB, free: 6.277 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006395/0.4346, allocations: 2.663 MB / 0.5107 GB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.4347, allocations: 19.94 kB / 0.5108 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4347, allocations: 0 / 0.5108 GB, free: 3.574 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.4347, allocations: 7.969 kB / 0.5108 GB, free: 3.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.4455, allocations: 5.364 MB / 0.516 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/0.4455, allocations: 0 / 0.516 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.4466, allocations: 247.6 kB / 0.5162 GB, free: 13.89 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002678/0.4493, allocations: 0.71 MB / 0.5169 GB, free: 13.17 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001086/0.4494, allocations: 35.98 kB / 0.517 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/0.4617, allocations: 8.524 MB / 0.5253 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.198e-05/0.4618, allocations: 3.938 kB / 0.5253 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007921/0.4697, allocations: 3.737 MB / 0.5289 GB, free: 396 kB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009842/0.4707, allocations: 391.8 kB / 0.5293 GB, free: 15.98 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002435/0.4709, allocations: 31.94 kB / 0.5293 GB, free: 15.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009999/0.472, allocations: 107.8 kB / 0.5294 GB, free: 15.85 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003264/0.4723, allocations: 113.3 kB / 0.5296 GB, free: 15.74 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.263e-05/0.4724, allocations: 39.98 kB / 0.5296 GB, free: 15.7 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001386/0.4738, allocations: 0.9659 MB / 0.5305 GB, free: 14.73 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4738, allocations: 3.938 kB / 0.5305 GB, free: 14.73 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002914/0.4767, allocations: 0.9102 MB / 0.5314 GB, free: 13.82 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.008519/0.4852, allocations: 4.381 MB / 0.5357 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.01045/0.4957, allocations: 5.055 MB / 0.5406 GB, free: 4.203 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 7.634e-06/0.4958, allocations: 0 / 0.5406 GB, free: 4.203 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003276/0.4991, allocations: 1.748 MB / 0.5423 GB, free: 2.402 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002609/0.5017, allocations: 468.4 kB / 0.5428 GB, free: 1.973 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03654/0.5382, allocations: 21.1 MB / 0.5634 GB, free: 11.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/0.5399, allocations: 1.921 MB / 0.5653 GB, free: 9.617 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001542/0.5415, allocations: 0.4902 MB / 0.5658 GB, free: 9.121 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001147/0.5426, allocations: 0.9562 MB / 0.5667 GB, free: 8.164 MB / 446.1 MB Notification: Performance of SimCode: time 1.072e-06/0.5426, allocations: 0 / 0.5667 GB, free: 8.164 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).