Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadModel(Modelica): time 1.899/1.899, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.262e-05/3.259e-05, allocations: 11.89 kB / 258.8 MB, free: 8.043 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3143, allocations: 44.49 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.01054/0.3249, allocations: 6.246 MB / 309.6 MB, free: 7.348 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005582/0.3305, allocations: 2.298 MB / 311.9 MB, free: 5.043 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009339/0.3315, allocations: 31.94 kB / 311.9 MB, free: 5.012 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00132/0.3328, allocations: 389.8 kB / 312.3 MB, free: 4.629 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001547/0.3344, allocations: 430.6 kB / 312.7 MB, free: 4.207 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006196/0.335, allocations: 147.8 kB / 312.9 MB, free: 4.062 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002081/0.3371, allocations: 0.7882 MB / 313.6 MB, free: 3.273 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006851/0.3378, allocations: 304.3 kB / 313.9 MB, free: 2.965 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006656/0.3385, allocations: 362.9 kB / 314.3 MB, free: 2.609 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006927/0.3392, allocations: 402.4 kB / 314.7 MB, free: 2.215 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003877/0.3396, allocations: 83.97 kB / 314.8 MB, free: 2.133 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001514/0.3398, allocations: 47.98 kB / 314.8 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.34, allocations: 155.2 kB / 315 MB, free: 1.934 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002988/0.3403, allocations: 108 kB / 315.1 MB, free: 1.828 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.3422, allocations: 1.289 MB / 316.4 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3422, allocations: 4 kB / 316.4 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.3422, allocations: 0 / 316.4 MB, free: 0.5312 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.721e-05/0.3423, allocations: 0 / 316.4 MB, free: 0.5312 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002669/0.345, allocations: 1.119 MB / 317.5 MB, free: 15.36 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.345, allocations: 12.03 kB / 317.5 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006404/0.3457, allocations: 158.3 kB / 317.6 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001631/0.3473, allocations: 0.6912 MB / 318.3 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.328e-05/0.3474, allocations: 78 kB / 318.4 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.3477, allocations: 99.98 kB / 318.5 MB, free: 14.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002497/0.3502, allocations: 0.9112 MB / 319.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.552e-05/0.3502, allocations: 4 kB / 319.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.3504, allocations: 43.94 kB / 319.5 MB, free: 13.3 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.182e-05/0.3504, allocations: 24 kB / 319.5 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002062/0.3525, allocations: 0.6324 MB / 320.1 MB, free: 12.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007717/0.3602, allocations: 3.878 MB / 324 MB, free: 8.531 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000918/0.3612, allocations: 355.4 kB / 324.4 MB, free: 8.156 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.298e-05/0.3613, allocations: 8 kB / 324.4 MB, free: 8.148 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.3613, allocations: 42.5 kB / 324.4 MB, free: 8.098 MB / 266.7 MB Notification: Performance of pre-optimization done (n=32): time 3.066e-06/0.3613, allocations: 0 / 324.4 MB, free: 8.098 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.003537/0.3649, allocations: 1.217 MB / 325.6 MB, free: 6.805 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.587e-05/0.365, allocations: 81.11 kB / 325.7 MB, free: 6.707 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.3664, allocations: 0.6683 MB / 326.4 MB, free: 6.031 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.932e-05/0.3664, allocations: 33.7 kB / 326.4 MB, free: 5.992 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005791/0.367, allocations: 0.5679 MB / 327 MB, free: 5.414 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001535/0.3672, allocations: 130.2 kB / 327.1 MB, free: 5.285 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.3673, allocations: 16 kB / 327.1 MB, free: 5.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.3674, allocations: 330 kB / 327.4 MB, free: 4.941 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000536/0.368, allocations: 149.9 kB / 327.6 MB, free: 4.797 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007922/0.3688, allocations: 464 kB / 328 MB, free: 4.199 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006835/0.3695, allocations: 227.6 kB / 328.3 MB, free: 3.977 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.3695, allocations: 7.953 kB / 328.3 MB, free: 3.969 MB / 266.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001951/0.3715, allocations: 0.6922 MB / 329 MB, free: 3.266 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.919e-05/0.3715, allocations: 8 kB / 329 MB, free: 3.258 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.037e-05/0.3715, allocations: 12 kB / 329 MB, free: 3.246 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002143/0.3718, allocations: 45.25 kB / 329 MB, free: 3.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009904/0.3728, allocations: 159.7 kB / 329.2 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001339/0.3741, allocations: 1.292 MB / 330.5 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000862/0.375, allocations: 39.98 kB / 330.5 MB, free: 1.578 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.3e-05/0.3751, allocations: 32 kB / 330.5 MB, free: 1.547 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 83 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000565/0.3757, allocations: 257.7 kB / 330.8 MB, free: 1.285 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001616/0.3758, allocations: 82.97 kB / 330.9 MB, free: 1.203 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.377, allocations: 386.4 kB / 331.2 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.377, allocations: 4 kB / 331.2 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.3771, allocations: 4 kB / 331.3 MB, free: 0.8086 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.3771, allocations: 3.984 kB / 331.3 MB, free: 0.8047 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002818/0.3799, allocations: 1.249 MB / 332.5 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.647e-06/0.3799, allocations: 4 kB / 332.5 MB, free: 15.47 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006319/0.3806, allocations: 79.89 kB / 332.6 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001311/0.3807, allocations: 16.86 kB / 332.6 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.767e-05/0.3808, allocations: 15.98 kB / 332.6 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.382, allocations: 1.28 MB / 333.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.382, allocations: 7.969 kB / 333.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.3839, allocations: 0.7327 MB / 334.6 MB, free: 13.12 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004201/0.3844, allocations: 180.1 kB / 334.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/0.3846, allocations: 8 kB / 334.8 MB, free: 12.92 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000607/0.3852, allocations: 27.98 kB / 334.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.3853, allocations: 31.91 kB / 334.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.3854, allocations: 16 kB / 334.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001091/0.3865, allocations: 0.5068 MB / 335.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.3865, allocations: 0 / 335.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00106/0.3876, allocations: 188 kB / 335.6 MB, free: 12.16 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002905/0.3879, allocations: 123.2 kB / 335.7 MB, free: 12.03 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.3895, allocations: 0.5156 MB / 336.2 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.3895, allocations: 4 kB / 336.2 MB, free: 11.5 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006958/0.3903, allocations: 271.6 kB / 336.5 MB, free: 11.22 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001655/0.3919, allocations: 196.6 kB / 336.7 MB, free: 11.03 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004577/0.3965, allocations: 2.071 MB / 338.8 MB, free: 8.91 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007649/0.3973, allocations: 1.016 MB / 339.8 MB, free: 7.867 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0006816/0.398, allocations: 98.75 kB / 339.9 MB, free: 7.766 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.3982, allocations: 55.44 kB / 339.9 MB, free: 7.711 MB / 282.7 MB Notification: Performance of SimCode: time 1.082e-06/0.3982, allocations: 0 / 339.9 MB, free: 7.711 MB / 282.7 MB Notification: Performance of Templates: time 0.02693/0.4252, allocations: 8.116 MB / 348 MB, free: 15.63 MB / 298.7 MB