Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|dcpm1.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary") Notification: Performance of loadModel(Modelica): time 1.708/1.708, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.549e-05/2.552e-05, allocations: 0 / 225 MB, free: 2.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2094, allocations: 38.77 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1711/0.3806, allocations: 84.75 MB / 348.5 MB, free: 4.941 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.3809, allocations: 75.95 kB / 348.6 MB, free: 4.867 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3411/0.722, allocations: 40.75 MB / 389.4 MB, free: 81.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.722, allocations: 0 / 389.4 MB, free: 81.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.66e-05/0.7221, allocations: 36.03 kB / 389.4 MB, free: 81.2 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.002747/0.7249, allocations: 1.557 MB / 390.9 MB, free: 80.22 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.725, allocations: 13.41 kB / 391 MB, free: 80.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009591/0.7259, allocations: 258.3 kB / 391.2 MB, free: 80.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002248/0.7282, allocations: 1.098 MB / 392.3 MB, free: 79.44 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.102e-05/0.7283, allocations: 115 kB / 392.4 MB, free: 79.39 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/0.7286, allocations: 159.9 kB / 392.6 MB, free: 79.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002736/0.7313, allocations: 1.412 MB / 394 MB, free: 78.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.222e-05/0.7314, allocations: 11.94 kB / 394 MB, free: 78.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/0.7316, allocations: 60 kB / 394.1 MB, free: 77.96 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.7316, allocations: 40 kB / 394.1 MB, free: 77.92 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002064/0.7337, allocations: 0.8896 MB / 395 MB, free: 77.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008933/0.7426, allocations: 6.66 MB / 401.6 MB, free: 70.13 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007489/0.7434, allocations: 367.3 kB / 402 MB, free: 69.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004128/0.7439, allocations: 198.2 kB / 402.2 MB, free: 69.57 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.676e-05/0.7439, allocations: 8.438 kB / 402.2 MB, free: 69.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004534/0.7444, allocations: 256.1 kB / 402.5 MB, free: 69.29 MB / 314.7 MB Notification: Performance of pre-optimization done (n=50): time 3.69e-06/0.7444, allocations: 0 / 402.5 MB, free: 69.29 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.002911/0.7473, allocations: 1.619 MB / 404.1 MB, free: 67.6 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.7474, allocations: 184.5 kB / 404.3 MB, free: 67.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.7491, allocations: 1.065 MB / 405.3 MB, free: 66.3 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.052e-05/0.7492, allocations: 33.7 kB / 405.4 MB, free: 66.26 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000589/0.7498, allocations: 0.8747 MB / 406.2 MB, free: 65.38 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001468/0.7499, allocations: 203.6 kB / 406.4 MB, free: 65.18 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.032e-05/0.75, allocations: 24 kB / 406.5 MB, free: 65.16 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.782e-05/0.7501, allocations: 349.9 kB / 406.8 MB, free: 64.81 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004623/0.7506, allocations: 210.6 kB / 407 MB, free: 64.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007145/0.7513, allocations: 0.7736 MB / 407.8 MB, free: 63.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006698/0.752, allocations: 388.6 kB / 408.2 MB, free: 63.16 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.16e-05/0.752, allocations: 8 kB / 408.2 MB, free: 63.15 MB / 314.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002068/0.7541, allocations: 1.084 MB / 409.2 MB, free: 62.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.453e-05/0.7542, allocations: 45.7 kB / 409.3 MB, free: 62 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.7542, allocations: 20 kB / 409.3 MB, free: 61.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000251/0.7545, allocations: 65.69 kB / 409.4 MB, free: 61.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.7555, allocations: 267.8 kB / 409.6 MB, free: 61.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001579/0.7571, allocations: 2.582 MB / 412.2 MB, free: 58.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001225/0.7584, allocations: 72.03 kB / 412.3 MB, free: 58.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.737e-05/0.7585, allocations: 60 kB / 412.3 MB, free: 58.68 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 87 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001869/0.7587, allocations: 196.5 kB / 412.5 MB, free: 58.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001724/0.7589, allocations: 130.4 kB / 412.7 MB, free: 58.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/0.7599, allocations: 0.5175 MB / 413.2 MB, free: 57.81 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.397e-06/0.76, allocations: 4 kB / 413.2 MB, free: 57.81 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.784e-06/0.76, allocations: 4 kB / 413.2 MB, free: 57.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.76, allocations: 7.938 kB / 413.2 MB, free: 57.8 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/0.763, allocations: 1.877 MB / 415.1 MB, free: 55.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.616e-06/0.763, allocations: 8 kB / 415.1 MB, free: 55.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005849/0.7636, allocations: 103.9 kB / 415.2 MB, free: 55.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001911/0.7638, allocations: 46.17 kB / 415.2 MB, free: 55.65 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.067e-05/0.7639, allocations: 16 kB / 415.2 MB, free: 55.64 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.7654, allocations: 2.552 MB / 417.8 MB, free: 52.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.7654, allocations: 8.25 kB / 417.8 MB, free: 52.81 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.7668, allocations: 1.074 MB / 418.9 MB, free: 51.55 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004602/0.7673, allocations: 251.4 kB / 419.1 MB, free: 51.28 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.7675, allocations: 23.94 kB / 419.1 MB, free: 51.26 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007092/0.7682, allocations: 35.98 kB / 419.2 MB, free: 51.22 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.7683, allocations: 47.88 kB / 419.2 MB, free: 51.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/0.7684, allocations: 23.98 kB / 419.3 MB, free: 51.15 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001315/0.7697, allocations: 0.7858 MB / 420 MB, free: 50.36 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.96e-07/0.7697, allocations: 0 / 420 MB, free: 50.36 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001483/0.7712, allocations: 355.9 kB / 420.4 MB, free: 50.02 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (dcpm1.inertiaRotor.phi,dcpm1.inertiaRotor.w,dcpm1.la.i,dcpm2.inertiaRotor.phi,dcpm2.inertiaRotor.w) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004371/0.7717, allocations: 319.8 kB / 420.7 MB, free: 49.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.7731, allocations: 0.8449 MB / 421.5 MB, free: 48.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.376e-06/0.7731, allocations: 4 kB / 421.5 MB, free: 48.85 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006731/0.7738, allocations: 439.2 kB / 422 MB, free: 48.4 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.7754, allocations: 305.6 kB / 422.3 MB, free: 48.11 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003605/0.779, allocations: 1.874 MB / 424.1 MB, free: 46.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007303/0.7797, allocations: 1.213 MB / 425.4 MB, free: 44.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009159/0.7807, allocations: 183.2 kB / 425.5 MB, free: 44.73 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002326/0.7809, allocations: 87.44 kB / 425.6 MB, free: 44.64 MB / 314.7 MB Notification: Performance of SimCode: time 1.821e-06/0.7809, allocations: 0 / 425.6 MB, free: 44.64 MB / 314.7 MB Notification: Performance of Templates: time 0.03768/0.8186, allocations: 16.12 MB / 441.7 MB, free: 28.57 MB / 314.7 MB