Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr EHPTlib_latest_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_latest_EHPTlib_ElectricDrives_TestingModels_SmaDriveLim",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim,fileNamePrefix="EHPTlib_latest_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.001213/0.001213, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001546/0.001546, allocations: 195.5 kB / 16.14 MB, free: 6.656 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.314/1.314, allocations: 222.9 MB / 239.8 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/EHPTlib 2.1.4-main/package.mo): time 0.1678/0.1678, allocations: 8.021 MB / 298 MB, free: 2.445 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 63.91 kB / 360.1 MB, free: 14.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09486/0.0961, allocations: 51.19 MB / 411.2 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(EHPTlib.ElectricDrives.TestingModels.SmaDriveLim): time 0.01115/0.1073, allocations: 9.81 MB / 421.1 MB, free: 1.613 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1781/0.2854, allocations: 2.832 MB / 423.9 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001598/0.287, allocations: 48.31 kB / 423.9 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.2887, allocations: 436.5 kB / 424.4 MB, free: 37.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.291, allocations: 0.6692 MB / 425 MB, free: 37.13 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001166/0.2922, allocations: 450.8 kB / 425.5 MB, free: 37.12 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002641/0.2949, allocations: 2.843 MB / 428.3 MB, free: 36.78 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.2962, allocations: 1.401 MB / 429.7 MB, free: 36.33 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001032/0.2972, allocations: 0.9464 MB / 430.7 MB, free: 35.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.2983, allocations: 1.3 MB / 432 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000259/0.2986, allocations: 168.4 kB / 432.1 MB, free: 35.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005596/0.2991, allocations: 271.1 kB / 432.4 MB, free: 35.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005172/0.2997, allocations: 0.6862 MB / 433.1 MB, free: 35.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000876/0.3005, allocations: 1.169 MB / 434.2 MB, free: 34.36 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.3025, allocations: 3.559 MB / 437.8 MB, free: 33.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3025, allocations: 0 / 437.8 MB, free: 33.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3025, allocations: 0 / 437.8 MB, free: 33.17 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.747e-05/0.3026, allocations: 3.25 kB / 437.8 MB, free: 33.17 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.004794/0.3074, allocations: 2.744 MB / 440.6 MB, free: 31.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.3074, allocations: 9.562 kB / 440.6 MB, free: 31.63 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000295/0.3077, allocations: 287.7 kB / 440.8 MB, free: 31.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000632/0.3084, allocations: 271.5 kB / 441.1 MB, free: 31.33 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001737/0.3101, allocations: 1.331 MB / 442.4 MB, free: 30.54 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.3102, allocations: 185.9 kB / 442.6 MB, free: 30.44 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002414/0.3105, allocations: 197.6 kB / 442.8 MB, free: 30.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003548/0.314, allocations: 2.599 MB / 445.4 MB, free: 29.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.912e-05/0.3141, allocations: 15.09 kB / 445.4 MB, free: 29.33 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/0.3143, allocations: 85.64 kB / 445.5 MB, free: 29.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.006e-05/0.3144, allocations: 100.7 kB / 445.6 MB, free: 29.25 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003152/0.3175, allocations: 2.199 MB / 447.8 MB, free: 28.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009631/0.3272, allocations: 8.313 MB / 456.1 MB, free: 23.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002436/0.3296, allocations: 1.624 MB / 457.7 MB, free: 23.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001224/0.3309, allocations: 0.8275 MB / 458.6 MB, free: 22.89 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/0.3311, allocations: 124.8 kB / 458.7 MB, free: 22.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001139/0.3322, allocations: 0.8012 MB / 459.5 MB, free: 22.47 MB / 350.1 MB Notification: Performance of pre-optimization done (n=104): time 2.384e-06/0.3323, allocations: 0 / 459.5 MB, free: 22.47 MB / 350.1 MB Notification: Performance of matching and sorting (n=121): time 0.01549/0.3478, allocations: 6.626 MB / 466.1 MB, free: 19.9 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.3479, allocations: 170.1 kB / 466.3 MB, free: 19.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=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.002222/0.3501, allocations: 1.393 MB / 467.7 MB, free: 19.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001276/0.3502, allocations: 50.39 kB / 467.7 MB, free: 19.11 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007001/0.3509, allocations: 0.9626 MB / 468.7 MB, free: 18.37 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/0.3512, allocations: 429.1 kB / 469.1 MB, free: 18.05 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004145/0.3517, allocations: 270.2 kB / 469.4 MB, free: 17.92 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.934e-05/0.3517, allocations: 301.6 kB / 469.7 MB, free: 17.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.353, allocations: 0.7604 MB / 470.4 MB, free: 17.35 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001561/0.3546, allocations: 1.186 MB / 471.6 MB, free: 16.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01014/0.3647, allocations: 3.981 MB / 475.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.862e-05/0.3648, allocations: 4.344 kB / 475.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of matching and sorting (n=189) (initialization): time 0.006218/0.371, allocations: 2.72 MB / 478.3 MB, free: 13.88 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/0.3711, allocations: 39.02 kB / 478.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.886e-05/0.3711, allocations: 12.25 kB / 478.4 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002302/0.3734, allocations: 0.6095 MB / 479 MB, free: 13.68 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.3749, allocations: 412.8 kB / 479.4 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008481/0.3834, allocations: 8.828 MB / 488.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.3851, allocations: 141.2 kB / 488.4 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/0.3854, allocations: 64.92 kB / 488.4 MB, free: 5.719 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.002183/0.3876, allocations: 1.265 MB / 489.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001294/0.3889, allocations: 1.174 MB / 490.9 MB, free: 3.773 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.008872/0.3978, allocations: 3.952 MB / 494.8 MB, free: 15.63 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.162e-05/0.3978, allocations: 11.92 kB / 494.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=189) (initialization_lambda0): time 0.005904/0.4037, allocations: 2.694 MB / 497.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.4037, allocations: 38.08 kB / 497.5 MB, free: 12.85 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.837e-05/0.4038, allocations: 19.94 kB / 497.6 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002325/0.4061, allocations: 0.6048 MB / 498.2 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001431/0.4075, allocations: 407.3 kB / 498.6 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.4179, allocations: 8.832 MB / 0.4955 GB, free: 2.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/0.4196, allocations: 143.8 kB / 0.4956 GB, free: 2.18 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002872/0.4199, allocations: 60 kB / 0.4957 GB, free: 2.121 MB / 366.1 MB Warning: Assuming fixed start value for the following 5 variables: smpm1.i_0_s:VARIABLE(start = 0.0 unit = "A" fixed = true stateSelect=StateSelect.prefer ) "Stator zero-sequence current" type: Real myMTPA.firstOrder.y:VARIABLE(flow=false start = myMTPA.firstOrder.y_start fixed = true ) "Connector of Real output signal" type: Real myMTPA.firstOrder1.y:VARIABLE(flow=false start = myMTPA.firstOrder1.y_start fixed = true ) "Connector of Real output signal" type: Real smpm1.idq_sr[2]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] smpm1.idq_sr[1]:VARIABLE(unit = "A" fixed = true stateSelect=StateSelect.prefer final = true ) "Stator space phasor current / rotor fixed frame" type: Real [2] Notification: 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.0008021/0.4207, allocations: 300 kB / 0.496 GB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005273/0.4212, allocations: 154.1 kB / 0.4961 GB, free: 1.668 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005651/0.4269, allocations: 2.385 MB / 0.4985 GB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.4269, allocations: 15.94 kB / 0.4985 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.427, allocations: 0 / 0.4985 GB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.427, allocations: 12.05 kB / 0.4985 GB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009423/0.4364, allocations: 4.709 MB / 0.5031 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.4364, allocations: 4 kB / 0.5031 GB, free: 10.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001228/0.4377, allocations: 283.6 kB / 0.5034 GB, free: 10.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002347/0.44, allocations: 0.6276 MB / 0.504 GB, free: 9.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.4402, allocations: 35.98 kB / 0.504 GB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009557/0.4497, allocations: 8.962 MB / 0.5128 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4497, allocations: 7.938 kB / 0.5128 GB, free: 15.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0065/0.4563, allocations: 3.437 MB / 0.5161 GB, free: 12.34 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007437/0.457, allocations: 379.1 kB / 0.5165 GB, free: 11.95 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/0.4573, allocations: 28 kB / 0.5165 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.4583, allocations: 103.9 kB / 0.5166 GB, free: 11.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/0.4586, allocations: 120.7 kB / 0.5167 GB, free: 11.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.569e-05/0.4587, allocations: 40.11 kB / 0.5168 GB, free: 11.66 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001257/0.46, allocations: 0.9165 MB / 0.5177 GB, free: 10.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.46, allocations: 0 / 0.5177 GB, free: 10.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002407/0.4624, allocations: 0.7968 MB / 0.5184 GB, free: 9.945 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.006931/0.4693, allocations: 4.071 MB / 0.5224 GB, free: 5.809 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007959/0.4773, allocations: 4.816 MB / 0.5271 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/0.4773, allocations: 2 kB / 0.5271 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003091/0.4804, allocations: 1.831 MB / 0.5289 GB, free: 14.88 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002226/0.4827, allocations: 398.8 kB / 0.5293 GB, free: 14.5 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02998/0.5127, allocations: 18.93 MB / 0.5478 GB, free: 10.58 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/0.5139, allocations: 1.684 MB / 0.5494 GB, free: 8.863 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.001312/0.5153, allocations: 480.8 kB / 0.5499 GB, free: 8.387 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009576/0.5162, allocations: 0.7687 MB / 0.5506 GB, free: 7.617 MB / 430.1 MB Notification: Performance of SimCode: time 4.1e-07/0.5162, allocations: 0 / 0.5506 GB, free: 7.617 MB / 430.1 MB [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 0.05 / (6.283185307179586 * smpm1.fsNominal). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 0.1 / (6.283185307179586 * smpm1.fsNominal). [CodegenUtil.tpl:198:14-198:14:writable] Error: Template error: initial value of unknown type: 6.283185307179586 * smpm1.fsNominal / /*Real*/(smpm1.p).