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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadModel(Modelica): time 1.932/1.932, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.661e-05/2.671e-05, allocations: 1.562 kB / 292.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08841/0.08846, allocations: 50.42 MB / 343.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3851/0.4736, allocations: 94.56 MB / 437.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.4739, allocations: 81.45 kB / 437.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08801/0.5619, allocations: 23.07 MB / 460.8 MB, free: 12.43 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.579e-06/0.562, allocations: 0 / 460.8 MB, free: 12.43 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.866e-05/0.562, allocations: 23.98 kB / 460.8 MB, free: 12.4 MB / 378.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.00184/0.5639, allocations: 0.9549 MB / 461.8 MB, free: 11.45 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.5639, allocations: 8.031 kB / 461.8 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006377/0.5646, allocations: 154.6 kB / 461.9 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.5662, allocations: 0.6758 MB / 462.6 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.456e-05/0.5663, allocations: 61.38 kB / 462.7 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001584/0.5665, allocations: 81.12 kB / 462.8 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/0.5682, allocations: 0.7316 MB / 463.5 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.362e-05/0.5682, allocations: 11.83 kB / 463.5 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001096/0.5683, allocations: 36.81 kB / 463.5 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.852e-05/0.5684, allocations: 20 kB / 463.6 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.5696, allocations: 463.9 kB / 464 MB, free: 9.613 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006076/0.5757, allocations: 3.457 MB / 467.5 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005433/0.5763, allocations: 206.6 kB / 467.7 MB, free: 5.734 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002265/0.5766, allocations: 96.86 kB / 467.8 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.457e-05/0.5766, allocations: 4.438 kB / 467.8 MB, free: 5.633 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.5767, allocations: 34.55 kB / 467.8 MB, free: 5.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.44e-06/0.5767, allocations: 0 / 467.8 MB, free: 5.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001868/0.5785, allocations: 0.8143 MB / 468.6 MB, free: 4.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.5786, allocations: 81.34 kB / 468.7 MB, free: 4.625 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.5798, allocations: 0.6209 MB / 469.3 MB, free: 4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.703e-05/0.5799, allocations: 29.7 kB / 469.3 MB, free: 3.965 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004777/0.5804, allocations: 0.4943 MB / 469.8 MB, free: 3.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.5805, allocations: 102.5 kB / 469.9 MB, free: 3.363 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.5805, allocations: 16 kB / 469.9 MB, free: 3.348 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002468/0.5808, allocations: 370.8 kB / 470.3 MB, free: 2.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.5811, allocations: 109.6 kB / 470.4 MB, free: 2.871 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005385/0.5816, allocations: 393.9 kB / 470.8 MB, free: 2.344 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004143/0.5821, allocations: 180.4 kB / 471 MB, free: 2.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.5821, allocations: 0 / 471 MB, free: 2.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001301/0.5834, allocations: 0.552 MB / 471.5 MB, free: 1.605 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.64e-05/0.5834, allocations: 8 kB / 471.5 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.002e-05/0.5835, allocations: 16 kB / 471.6 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001982/0.5837, allocations: 41.56 kB / 471.6 MB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/0.5843, allocations: 143.7 kB / 471.7 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.5857, allocations: 1.292 MB / 473 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006987/0.5864, allocations: 39.89 kB / 473.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.333e-05/0.5865, allocations: 28 kB / 473.1 MB, free: 15.91 MB / 394.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.0001751/0.5867, allocations: 148.8 kB / 473.2 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.5869, allocations: 75.16 kB / 473.3 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007443/0.5876, allocations: 285.4 kB / 473.6 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.697e-06/0.5876, allocations: 0 / 473.6 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.799e-06/0.5877, allocations: 0 / 473.6 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.022e-06/0.5877, allocations: 4 kB / 473.6 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002118/0.5898, allocations: 1.043 MB / 474.6 MB, free: 14.26 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.785e-06/0.5898, allocations: 4 kB / 474.6 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004063/0.5903, allocations: 72.06 kB / 474.7 MB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001232/0.5904, allocations: 20.86 kB / 474.7 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.992e-05/0.5904, allocations: 8 kB / 474.7 MB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001289/0.5917, allocations: 1.268 MB / 476 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/0.5918, allocations: 8.031 kB / 476 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001049/0.5928, allocations: 0.5865 MB / 476.6 MB, free: 12.07 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003492/0.5932, allocations: 172.3 kB / 476.8 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.5933, allocations: 11.98 kB / 476.8 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/0.5938, allocations: 19.98 kB / 476.8 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.222e-05/0.5939, allocations: 31.86 kB / 476.8 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.576e-05/0.5939, allocations: 12.09 kB / 476.8 MB, free: 11.81 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009254/0.5949, allocations: 471.2 kB / 477.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.95e-07/0.5949, allocations: 0 / 477.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001076/0.596, allocations: 196 kB / 477.5 MB, free: 11.17 MB / 394.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.0005121/0.5965, allocations: 295.1 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009211/0.5975, allocations: 401.7 kB / 478.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.858e-06/0.5975, allocations: 2.125 kB / 478.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003957/0.5979, allocations: 209.7 kB / 478.4 MB, free: 10.26 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.599, allocations: 163.4 kB / 478.5 MB, free: 10.1 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002492/0.6015, allocations: 1.03 MB / 479.6 MB, free: 9.023 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008159/0.6023, allocations: 0.957 MB / 480.5 MB, free: 8.035 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005545/0.6029, allocations: 94.02 kB / 480.6 MB, free: 7.941 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001492/0.6031, allocations: 47.44 kB / 480.7 MB, free: 7.895 MB / 394.7 MB Notification: Performance of SimCode: time 1.587e-06/0.6031, allocations: 0 / 480.7 MB, free: 7.895 MB / 394.7 MB Notification: Performance of Templates: time 0.02807/0.6312, allocations: 9.762 MB / 490.4 MB, free: 14.24 MB / 410.7 MB