Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 1.888/1.888, allocations: 194.9 MB / 210.6 MB, free: 9.312 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.923e-05/2.927e-05, allocations: 4 kB / 258.8 MB, free: 9.016 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3007/0.3007, allocations: 44.51 MB / 303.3 MB, free: 12.86 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01272/0.3135, allocations: 7.593 MB / 310.9 MB, free: 6.121 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007547/0.3211, allocations: 2.76 MB / 313.7 MB, free: 3.352 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001256/0.3224, allocations: 59.81 kB / 313.7 MB, free: 3.293 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001488/0.3239, allocations: 497.2 kB / 314.2 MB, free: 2.805 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002453/0.3264, allocations: 0.5918 MB / 314.8 MB, free: 2.211 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009319/0.3273, allocations: 247.6 kB / 315.1 MB, free: 1.969 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002924/0.3303, allocations: 1.24 MB / 316.3 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002122/0.3324, allocations: 1.17 MB / 317.5 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001233/0.3337, allocations: 0.6584 MB / 318.1 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001802/0.3355, allocations: 0.9345 MB / 319.1 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000743/0.3363, allocations: 159.9 kB / 319.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000362/0.3366, allocations: 84 kB / 319.3 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009018/0.3376, allocations: 0.5919 MB / 319.9 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006407/0.3382, allocations: 204 kB / 320.1 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004579/0.3428, allocations: 3.265 MB / 323.4 MB, free: 9.637 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.133e-06/0.3429, allocations: 3.938 kB / 323.4 MB, free: 9.633 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.3429, allocations: 3.938 kB / 323.4 MB, free: 9.629 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.443e-05/0.343, allocations: 4 kB / 323.4 MB, free: 9.625 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 550 * Number of variables: 550 Notification: Performance of Generate backend data structure: time 0.006873/0.3498, allocations: 2.24 MB / 325.6 MB, free: 7.324 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.3499, allocations: 8.031 kB / 325.6 MB, free: 7.316 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001171/0.3511, allocations: 292.7 kB / 325.9 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003762/0.3549, allocations: 1.386 MB / 327.3 MB, free: 5.582 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001757/0.3551, allocations: 156.1 kB / 327.4 MB, free: 5.426 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004932/0.3556, allocations: 215.9 kB / 327.6 MB, free: 5.215 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007366/0.363, allocations: 2.748 MB / 330.4 MB, free: 2.379 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-05/0.3631, allocations: 7.938 kB / 330.4 MB, free: 2.371 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003036/0.3634, allocations: 84 kB / 330.5 MB, free: 2.289 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00018/0.3636, allocations: 108.1 kB / 330.6 MB, free: 2.18 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006881/0.3705, allocations: 2.323 MB / 332.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02091/0.3914, allocations: 8.561 MB / 341.5 MB, free: 7.027 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003875/0.3954, allocations: 1.675 MB / 343.2 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004143/0.3958, allocations: 208.2 kB / 343.4 MB, free: 4.996 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.839e-05/0.3959, allocations: 43.56 kB / 343.4 MB, free: 4.945 MB / 282.7 MB Notification: Performance of pre-optimization done (n=100): time 4.558e-06/0.3959, allocations: 3.938 kB / 343.4 MB, free: 4.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=118): time 0.02545/0.4214, allocations: 6.799 MB / 350.2 MB, free: 14.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.4215, allocations: 64.41 kB / 350.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002696/0.4242, allocations: 1.214 MB / 351.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001748/0.4244, allocations: 45.7 kB / 351.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001048/0.4254, allocations: 1.025 MB / 352.5 MB, free: 11.65 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005188/0.426, allocations: 410.1 kB / 352.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/0.4261, allocations: 28 kB / 353 MB, free: 11.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.4263, allocations: 365.9 kB / 353.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002072/0.4284, allocations: 0.7222 MB / 354.1 MB, free: 10.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002399/0.4308, allocations: 1.096 MB / 355.2 MB, free: 8.879 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002353/0.4332, allocations: 0.9042 MB / 356.1 MB, free: 7.973 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.4332, allocations: 3.938 kB / 356.1 MB, free: 7.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.007222/0.4404, allocations: 2.524 MB / 358.6 MB, free: 5.426 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.4405, allocations: 8 kB / 358.6 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-05/0.4405, allocations: 12 kB / 358.6 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00233/0.4429, allocations: 0.5374 MB / 359.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002374/0.4453, allocations: 327.5 kB / 359.5 MB, free: 4.539 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01244/0.4577, allocations: 6.414 MB / 365.9 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/0.4598, allocations: 115.8 kB / 366 MB, free: 13.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/0.46, allocations: 60 kB / 366 MB, free: 13.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,72.2%) 19,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001687/0.4617, allocations: 0.6924 MB / 366.7 MB, free: 12.98 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000431/0.4621, allocations: 154.1 kB / 366.9 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006575/0.4687, allocations: 2.249 MB / 369.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.796e-05/0.4688, allocations: 12 kB / 369.2 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.163e-05/0.4688, allocations: 4 kB / 369.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.801e-05/0.4688, allocations: 3.984 kB / 369.2 MB, free: 10.54 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01251/0.4813, allocations: 4.613 MB / 373.8 MB, free: 5.828 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-05/0.4814, allocations: 4 kB / 373.8 MB, free: 5.824 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001713/0.4831, allocations: 203.7 kB / 374 MB, free: 5.625 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002607/0.4857, allocations: 0.5807 MB / 374.6 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001538/0.4859, allocations: 31.94 kB / 374.6 MB, free: 5.004 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01423/0.5002, allocations: 7.941 MB / 382.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.5002, allocations: 4 kB / 382.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008912/0.5091, allocations: 3.332 MB / 385.9 MB, free: 9.215 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/0.5103, allocations: 383 kB / 386.2 MB, free: 8.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003818/0.5107, allocations: 31.98 kB / 386.3 MB, free: 8.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001505/0.5122, allocations: 87.91 kB / 386.4 MB, free: 8.703 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003273/0.5126, allocations: 100.8 kB / 386.5 MB, free: 8.602 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.5127, allocations: 32 kB / 386.5 MB, free: 8.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002054/0.5148, allocations: 0.9375 MB / 387.4 MB, free: 7.633 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.5148, allocations: 0 / 387.4 MB, free: 7.633 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002043/0.5168, allocations: 480 kB / 387.9 MB, free: 7.164 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,72.2%) 19,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004144/0.5173, allocations: 155 kB / 388 MB, free: 7.004 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.006393/0.5237, allocations: 2.272 MB / 390.3 MB, free: 4.688 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.5237, allocations: 4.375 kB / 390.3 MB, free: 4.684 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004148/0.5279, allocations: 1.45 MB / 391.8 MB, free: 3.199 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002791/0.5307, allocations: 381.2 kB / 392.1 MB, free: 2.832 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.542, allocations: 5.271 MB / 397.4 MB, free: 13.5 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002293/0.5443, allocations: 1.842 MB / 399.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001884/0.5462, allocations: 357.5 kB / 399.6 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005302/0.5468, allocations: 111.4 kB / 399.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of SimCode: time 1.223e-06/0.5468, allocations: 0 / 399.7 MB, free: 11.16 MB / 346.7 MB Notification: Performance of Templates: time 0.06689/0.6137, allocations: 23.26 MB / 423 MB, free: 3.906 MB / 362.7 MB