Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadModel(Modelica): time 1.882/1.882, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.809e-05/2.82e-05, allocations: 4 kB / 255.4 MB, free: 2.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07672/0.07676, allocations: 44.49 MB / 299.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3895/0.4663, allocations: 88.61 MB / 388.5 MB, free: 20.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.4666, allocations: 78.92 kB / 388.6 MB, free: 20.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08284/0.5495, allocations: 22.95 MB / 411.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.958e-06/0.5495, allocations: 0 / 411.5 MB, free: 13.8 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.509e-05/0.5496, allocations: 19.56 kB / 411.5 MB, free: 13.8 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: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001532/0.5511, allocations: 0.9728 MB / 412.5 MB, free: 13.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.5512, allocations: 7.812 kB / 412.5 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005844/0.5518, allocations: 149 kB / 412.7 MB, free: 13.03 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/0.5531, allocations: 0.6769 MB / 413.3 MB, free: 12.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.039e-05/0.5532, allocations: 62.62 kB / 413.4 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/0.5533, allocations: 76.16 kB / 413.5 MB, free: 12.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001398/0.5548, allocations: 0.735 MB / 414.2 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.77e-05/0.5548, allocations: 3.906 kB / 414.2 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.399e-05/0.5549, allocations: 32.94 kB / 414.2 MB, free: 12.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.849e-05/0.5549, allocations: 27.39 kB / 414.3 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.556, allocations: 468 kB / 414.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004993/0.5611, allocations: 3.444 MB / 418.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004498/0.5616, allocations: 213 kB / 418.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.5618, allocations: 97.17 kB / 418.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.343e-05/0.5618, allocations: 3.906 kB / 418.5 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.935e-05/0.5618, allocations: 34.44 kB / 418.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of pre-optimization done (n=25): time 3.677e-06/0.5619, allocations: 0 / 418.5 MB, free: 10.03 MB / 314.7 MB Notification: Performance of matching and sorting (n=28): time 0.001587/0.5634, allocations: 0.8085 MB / 419.3 MB, free: 9.551 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.5635, allocations: 89.19 kB / 419.4 MB, free: 9.449 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009323/0.5644, allocations: 0.6156 MB / 420 MB, free: 9.262 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.5645, allocations: 33.11 kB / 420.1 MB, free: 9.23 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002846/0.5648, allocations: 499.4 kB / 420.5 MB, free: 8.926 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.393e-05/0.5649, allocations: 109 kB / 420.7 MB, free: 8.848 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.87e-05/0.5649, allocations: 10.94 kB / 420.7 MB, free: 8.848 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.565, allocations: 379.1 kB / 421 MB, free: 8.512 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002639/0.5653, allocations: 107.4 kB / 421.1 MB, free: 8.508 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003578/0.5657, allocations: 392.8 kB / 421.5 MB, free: 8.125 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.5661, allocations: 180.9 kB / 421.7 MB, free: 8.086 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.698e-06/0.5661, allocations: 7.875 kB / 421.7 MB, free: 8.082 MB / 314.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001082/0.5672, allocations: 0.5478 MB / 422.3 MB, free: 7.902 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.147e-05/0.5672, allocations: 7.812 kB / 422.3 MB, free: 7.902 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.5673, allocations: 15.81 kB / 422.3 MB, free: 7.898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/0.5674, allocations: 35.91 kB / 422.3 MB, free: 7.887 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006028/0.5681, allocations: 139.9 kB / 422.4 MB, free: 7.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008662/0.5689, allocations: 1.296 MB / 423.7 MB, free: 6.559 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006654/0.5696, allocations: 34.52 kB / 423.8 MB, free: 6.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.945e-05/0.5697, allocations: 31.09 kB / 423.8 MB, free: 6.551 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 73 * 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.0001212/0.5698, allocations: 149.6 kB / 424 MB, free: 6.426 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.57, allocations: 74.3 kB / 424 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006226/0.5706, allocations: 284.1 kB / 424.3 MB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.394e-06/0.5706, allocations: 3.906 kB / 424.3 MB, free: 6.289 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.033e-06/0.5706, allocations: 3.984 kB / 424.3 MB, free: 6.285 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.914e-06/0.5707, allocations: 7.969 kB / 424.3 MB, free: 6.281 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001768/0.5724, allocations: 1.047 MB / 425.4 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.245e-06/0.5725, allocations: 0 / 425.4 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/0.5729, allocations: 66.31 kB / 425.4 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001161/0.573, allocations: 24.25 kB / 425.5 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.573, allocations: 6.906 kB / 425.5 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009848/0.574, allocations: 1.268 MB / 426.7 MB, free: 20.39 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.064e-06/0.5741, allocations: 7.859 kB / 426.7 MB, free: 20.39 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007904/0.5749, allocations: 0.5777 MB / 427.3 MB, free: 20.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002883/0.5752, allocations: 172.3 kB / 427.5 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.5753, allocations: 7.531 kB / 427.5 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004723/0.5758, allocations: 26.27 kB / 427.5 MB, free: 19.86 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.295e-05/0.5759, allocations: 31.34 kB / 427.5 MB, free: 19.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.203e-05/0.5759, allocations: 7.812 kB / 427.6 MB, free: 19.84 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007518/0.5767, allocations: 479.8 kB / 428 MB, free: 19.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.68e-07/0.5767, allocations: 0 / 428 MB, free: 19.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009774/0.5777, allocations: 194.9 kB / 428.2 MB, free: 19.71 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * 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.0004357/0.5781, allocations: 283.4 kB / 428.5 MB, free: 19.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007729/0.5789, allocations: 406.1 kB / 428.9 MB, free: 19.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.696e-06/0.579, allocations: 3.938 kB / 428.9 MB, free: 19.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003408/0.5793, allocations: 215 kB / 429.1 MB, free: 19.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000931/0.5803, allocations: 175.7 kB / 429.3 MB, free: 19.21 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.5823, allocations: 1.015 MB / 430.3 MB, free: 18.63 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/0.583, allocations: 0.9558 MB / 431.2 MB, free: 17.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004889/0.5835, allocations: 91.89 kB / 431.3 MB, free: 17.75 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.5836, allocations: 52.8 kB / 431.4 MB, free: 17.74 MB / 330.7 MB Notification: Performance of SimCode: time 2.358e-06/0.5836, allocations: 0 / 431.4 MB, free: 17.74 MB / 330.7 MB Notification: Performance of Templates: time 0.02505/0.6087, allocations: 9.76 MB / 441.1 MB, free: 11.39 MB / 330.7 MB