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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadModel(Modelica): time 2.098/2.098, allocations: 194.9 MB / 211.2 MB, free: 9.035 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.104e-05, allocations: 4 kB / 258.8 MB, free: 9.379 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.338, allocations: 44.51 MB / 303.3 MB, free: 12.65 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.01711/0.3552, allocations: 7.593 MB / 310.9 MB, free: 6.156 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007741/0.363, allocations: 2.76 MB / 313.7 MB, free: 3.387 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.3649, allocations: 59.81 kB / 313.7 MB, free: 3.328 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002191/0.3671, allocations: 493.2 kB / 314.2 MB, free: 2.844 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003319/0.3705, allocations: 0.5957 MB / 314.8 MB, free: 2.246 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001446/0.372, allocations: 251.5 kB / 315 MB, free: 2 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.00386/0.3758, allocations: 1.229 MB / 316.3 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002767/0.3787, allocations: 1.174 MB / 317.4 MB, free: 15.58 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.3803, allocations: 0.6506 MB / 318.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002249/0.3826, allocations: 0.9384 MB / 319 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001076/0.3837, allocations: 159.9 kB / 319.2 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005676/0.3843, allocations: 87.94 kB / 319.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001098/0.3854, allocations: 0.5841 MB / 319.9 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009073/0.3863, allocations: 204 kB / 320.1 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005479/0.3919, allocations: 3.265 MB / 323.3 MB, free: 9.684 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.3919, allocations: 4 kB / 323.3 MB, free: 9.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.11e-06/0.3919, allocations: 0 / 323.3 MB, free: 9.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001346/0.3921, allocations: 3.938 kB / 323.3 MB, free: 9.676 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.007619/0.3997, allocations: 2.24 MB / 325.6 MB, free: 7.375 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/0.3998, allocations: 12.03 kB / 325.6 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.4013, allocations: 288.7 kB / 325.9 MB, free: 7.078 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004176/0.4055, allocations: 1.401 MB / 327.3 MB, free: 5.617 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002305/0.4058, allocations: 152.2 kB / 327.4 MB, free: 5.465 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008387/0.4066, allocations: 211.8 kB / 327.6 MB, free: 5.258 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008847/0.4155, allocations: 2.752 MB / 330.4 MB, free: 2.418 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.645e-05/0.4157, allocations: 11.92 kB / 330.4 MB, free: 2.406 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003418/0.416, allocations: 88 kB / 330.5 MB, free: 2.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001949/0.4162, allocations: 108.1 kB / 330.6 MB, free: 2.211 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008133/0.4244, allocations: 2.323 MB / 332.9 MB, free: 15.87 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02437/0.4488, allocations: 8.549 MB / 341.4 MB, free: 7.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004351/0.4532, allocations: 1.687 MB / 343.1 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000469/0.4537, allocations: 204.2 kB / 343.3 MB, free: 5.031 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/0.4538, allocations: 47.48 kB / 343.4 MB, free: 4.977 MB / 282.7 MB Notification: Performance of pre-optimization done (n=100): time 3.837e-06/0.4538, allocations: 0 / 343.4 MB, free: 4.977 MB / 282.7 MB Notification: Performance of matching and sorting (n=118): time 0.02703/0.4808, allocations: 6.796 MB / 350.2 MB, free: 14.07 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.179e-05/0.481, allocations: 68.41 kB / 350.2 MB, free: 13.99 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002989/0.484, allocations: 1.214 MB / 351.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002659/0.4843, allocations: 45.7 kB / 351.5 MB, free: 12.72 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001034/0.4853, allocations: 0.9874 MB / 352.5 MB, free: 11.72 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006754/0.486, allocations: 414.1 kB / 352.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.4862, allocations: 24 kB / 352.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002426/0.4865, allocations: 366.8 kB / 353.3 MB, free: 10.92 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/0.4887, allocations: 0.7261 MB / 354 MB, free: 10.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002591/0.4914, allocations: 1.096 MB / 355.1 MB, free: 8.941 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003469/0.4949, allocations: 0.9042 MB / 356 MB, free: 8.035 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.33e-05/0.495, allocations: 0 / 356 MB, free: 8.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=180) (initialization): time 0.01176/0.5067, allocations: 2.427 MB / 358.4 MB, free: 5.59 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.4e-05/0.5068, allocations: 12 kB / 358.4 MB, free: 5.578 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.486e-05/0.5069, allocations: 12 kB / 358.5 MB, free: 5.566 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003761/0.5107, allocations: 0.5372 MB / 359 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003683/0.5144, allocations: 323.5 kB / 359.3 MB, free: 4.703 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01981/0.5343, allocations: 6.417 MB / 365.7 MB, free: 14.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003299/0.5377, allocations: 108 kB / 365.8 MB, free: 13.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004264/0.5382, allocations: 55.98 kB / 365.9 MB, free: 13.86 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.002969/0.5412, allocations: 0.6895 MB / 366.6 MB, free: 13.16 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007881/0.542, allocations: 158 kB / 366.7 MB, free: 13 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01098/0.553, allocations: 2.253 MB / 369 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.312e-05/0.5531, allocations: 12 kB / 369 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/0.5531, allocations: 4 kB / 369 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.235e-05/0.5531, allocations: 11.98 kB / 369 MB, free: 10.7 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/0.5673, allocations: 4.61 MB / 373.6 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.126e-05/0.5674, allocations: 8.031 kB / 373.6 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001927/0.5693, allocations: 203.7 kB / 373.8 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002861/0.5722, allocations: 0.5766 MB / 374.4 MB, free: 5.199 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002352/0.5725, allocations: 35.94 kB / 374.4 MB, free: 5.164 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02274/0.5952, allocations: 7.936 MB / 382.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.01e-05/0.5953, allocations: 4 kB / 382.4 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01418/0.6095, allocations: 3.336 MB / 385.7 MB, free: 9.379 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001743/0.6113, allocations: 379.1 kB / 386.1 MB, free: 8.988 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000563/0.6119, allocations: 35.98 kB / 386.1 MB, free: 8.953 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002105/0.614, allocations: 87.91 kB / 386.2 MB, free: 8.867 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00046/0.6145, allocations: 96.75 kB / 386.3 MB, free: 8.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001761/0.6147, allocations: 32 kB / 386.3 MB, free: 8.738 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003158/0.6179, allocations: 0.9414 MB / 387.3 MB, free: 7.797 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.22e-07/0.6179, allocations: 4 kB / 387.3 MB, free: 7.793 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003643/0.6216, allocations: 476 kB / 387.7 MB, free: 7.328 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.0007303/0.6224, allocations: 155 kB / 387.9 MB, free: 7.168 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00949/0.6319, allocations: 2.276 MB / 390.2 MB, free: 4.848 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/0.632, allocations: 0 / 390.2 MB, free: 4.848 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00627/0.6383, allocations: 1.446 MB / 391.6 MB, free: 3.367 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004357/0.6427, allocations: 380.5 kB / 392 MB, free: 3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/0.6596, allocations: 5.326 MB / 397.3 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003502/0.6631, allocations: 1.827 MB / 399.1 MB, free: 11.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0011/0.6643, allocations: 115.4 kB / 399.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of SimCode: time 1.733e-06/0.6643, allocations: 0 / 399.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of Templates: time 0.3876/1.052, allocations: 55.22 MB / 454.5 MB, free: 87.54 MB / 362.7 MB