Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smpm.idq_dr.1.|smpm.idq_rr.2.|smpm.idq_sr.1.|smpm.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter") Notification: Performance of loadModel(Modelica): time 2.085/2.085, allocations: 194.9 MB / 211.2 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.991e-05/2.992e-05, allocations: 4 kB / 258.8 MB, free: 8.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3129/0.3129, allocations: 44.5 MB / 303.3 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_Inverter): time 0.01462/0.3276, allocations: 8.128 MB / 311.4 MB, free: 5.512 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.008456/0.3361, allocations: 3.05 MB / 314.5 MB, free: 2.453 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002179/0.3384, allocations: 67.75 kB / 314.5 MB, free: 2.387 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002991/0.3414, allocations: 0.5516 MB / 315.1 MB, free: 1.832 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004239/0.3457, allocations: 0.658 MB / 315.7 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001723/0.3475, allocations: 263.6 kB / 316 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005463/0.3529, allocations: 1.338 MB / 317.3 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003889/0.3569, allocations: 1.218 MB / 318.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002168/0.3591, allocations: 0.705 MB / 319.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003182/0.3624, allocations: 0.9812 MB / 320.2 MB, free: 12.65 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001544/0.364, allocations: 159.9 kB / 320.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000751/0.3648, allocations: 95.94 kB / 320.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00166/0.3665, allocations: 0.6113 MB / 321.1 MB, free: 11.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.3679, allocations: 216 kB / 321.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007873/0.3758, allocations: 3.455 MB / 324.8 MB, free: 8.109 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3759, allocations: 0 / 324.8 MB, free: 8.109 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.777e-06/0.3759, allocations: 0 / 324.8 MB, free: 8.109 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001568/0.3761, allocations: 4 kB / 324.8 MB, free: 8.105 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: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.01046/0.3865, allocations: 2.35 MB / 327.1 MB, free: 5.695 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.3866, allocations: 8.031 kB / 327.1 MB, free: 5.688 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002233/0.3889, allocations: 312.5 kB / 327.4 MB, free: 5.379 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006289/0.3952, allocations: 1.461 MB / 328.9 MB, free: 3.859 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/0.3956, allocations: 164.4 kB / 329.1 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001143/0.3968, allocations: 227.8 kB / 329.3 MB, free: 3.473 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.013/0.4098, allocations: 2.87 MB / 332.2 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000136/0.41, allocations: 3.938 kB / 332.2 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005508/0.4106, allocations: 88 kB / 332.2 MB, free: 436 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002843/0.4109, allocations: 128.2 kB / 332.4 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01038/0.4213, allocations: 2.402 MB / 334.8 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02679/0.4481, allocations: 9.05 MB / 343.8 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004224/0.4524, allocations: 1.69 MB / 345.5 MB, free: 2.738 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004892/0.453, allocations: 203.2 kB / 345.7 MB, free: 2.504 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.021e-05/0.453, allocations: 47.56 kB / 345.8 MB, free: 2.449 MB / 282.7 MB Notification: Performance of pre-optimization done (n=104): time 4.479e-06/0.453, allocations: 4 kB / 345.8 MB, free: 2.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=124): time 0.03057/0.4836, allocations: 7.343 MB / 353.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.175e-05/0.4838, allocations: 64.41 kB / 353.2 MB, free: 10.9 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0035/0.4873, allocations: 1.322 MB / 354.5 MB, free: 9.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000306/0.4876, allocations: 45.7 kB / 354.5 MB, free: 9.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001121/0.4888, allocations: 1.038 MB / 355.6 MB, free: 8.469 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007918/0.4896, allocations: 433.7 kB / 356 MB, free: 8.039 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.4898, allocations: 32 kB / 356 MB, free: 8.008 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0003063/0.4901, allocations: 378.8 kB / 356.4 MB, free: 7.629 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002433/0.4925, allocations: 0.7417 MB / 357.1 MB, free: 6.887 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002843/0.4954, allocations: 1.161 MB / 358.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002906/0.4984, allocations: 0.9354 MB / 359.2 MB, free: 4.613 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.999e-05/0.4985, allocations: 4 kB / 359.2 MB, free: 4.609 MB / 298.7 MB Notification: Performance of matching and sorting (n=193) (initialization): time 0.008279/0.5068, allocations: 2.521 MB / 361.8 MB, free: 2.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.972e-05/0.5068, allocations: 9.406 kB / 361.8 MB, free: 2.062 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-05/0.5069, allocations: 16 kB / 361.8 MB, free: 2.047 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002487/0.5094, allocations: 0.5491 MB / 362.3 MB, free: 1.488 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002706/0.5122, allocations: 359.4 kB / 362.7 MB, free: 1.137 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/0.526, allocations: 6.493 MB / 369.2 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/0.5283, allocations: 115.8 kB / 369.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003179/0.5287, allocations: 60 kB / 369.4 MB, free: 10.21 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * 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%) 20,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002482/0.5312, allocations: 0.7197 MB / 370.1 MB, free: 9.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007173/0.5319, allocations: 165.9 kB / 370.2 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007668/0.5396, allocations: 2.336 MB / 372.6 MB, free: 6.957 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.366e-05/0.5397, allocations: 12 kB / 372.6 MB, free: 6.945 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/0.5397, allocations: 4 kB / 372.6 MB, free: 6.941 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.268e-05/0.5398, allocations: 3.984 kB / 372.6 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01458/0.5544, allocations: 4.818 MB / 377.4 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/0.5544, allocations: 4 kB / 377.4 MB, free: 2 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/0.5564, allocations: 216 kB / 377.6 MB, free: 1.789 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002883/0.5593, allocations: 0.58 MB / 378.2 MB, free: 1.199 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002736/0.5596, allocations: 31.98 kB / 378.2 MB, free: 1.168 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01551/0.5751, allocations: 7.986 MB / 386.2 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.5752, allocations: 4 kB / 386.2 MB, free: 8.777 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01012/0.5853, allocations: 3.485 MB / 389.7 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/0.5868, allocations: 398.9 kB / 390.1 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006067/0.5875, allocations: 35.98 kB / 390.1 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001827/0.5893, allocations: 87.89 kB / 390.2 MB, free: 4.645 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004166/0.5898, allocations: 96.83 kB / 390.3 MB, free: 4.551 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.5899, allocations: 35.98 kB / 390.3 MB, free: 4.516 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002547/0.5925, allocations: 1.003 MB / 391.4 MB, free: 3.516 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.042e-06/0.5925, allocations: 4 kB / 391.4 MB, free: 3.512 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002777/0.5953, allocations: 0.496 MB / 391.9 MB, free: 3.016 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (smpm.inertiaRotor.w,smpm.idq_sr[1],smpm.idq_sr[2],smpm.idq_rr[2],smpm.idq_dr[1],vfController.x,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 98 * 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%) 20,(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.0005403/0.5959, allocations: 159 kB / 392 MB, free: 2.852 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007152/0.6031, allocations: 2.342 MB / 394.3 MB, free: 468 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/0.6032, allocations: 4 kB / 394.4 MB, free: 464 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004737/0.6079, allocations: 1.474 MB / 395.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003615/0.6116, allocations: 427.1 kB / 396.2 MB, free: 14.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/0.6257, allocations: 5.598 MB / 401.8 MB, free: 8.852 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002822/0.6285, allocations: 1.886 MB / 403.7 MB, free: 6.934 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008951/0.6295, allocations: 131.4 kB / 403.9 MB, free: 6.805 MB / 346.7 MB Notification: Performance of SimCode: time 1.382e-06/0.6295, allocations: 3.938 kB / 403.9 MB, free: 6.801 MB / 346.7 MB Notification: Performance of Templates: time 0.3611/0.9906, allocations: 58.93 MB / 462.8 MB, free: 78.82 MB / 362.7 MB