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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadModel(Modelica): time 1.917/1.917, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.916e-05/2.916e-05, allocations: 11.8 kB / 292.1 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0897/0.08975, allocations: 50.41 MB / 342.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3798/0.4696, allocations: 94.58 MB / 437.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003733/0.47, allocations: 78.27 kB / 437.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1199/0.5899, allocations: 23.06 MB / 460.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.156e-06/0.59, allocations: 0 / 460.3 MB, free: 12.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.601e-05/0.59, allocations: 16 kB / 460.3 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.001802/0.5918, allocations: 0.9632 MB / 461.2 MB, free: 11.44 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.5919, allocations: 12.02 kB / 461.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006196/0.5925, allocations: 142.7 kB / 461.4 MB, free: 11.29 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00167/0.5942, allocations: 0.69 MB / 462.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.595e-05/0.5943, allocations: 61.81 kB / 462.1 MB, free: 10.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.5945, allocations: 79.94 kB / 462.2 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001564/0.596, allocations: 0.7363 MB / 463 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.392e-05/0.5961, allocations: 7.906 kB / 463 MB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.814e-05/0.5962, allocations: 34.56 kB / 463 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.5962, allocations: 20 kB / 463 MB, free: 10.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001225/0.5975, allocations: 466.6 kB / 463.5 MB, free: 9.609 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005974/0.6035, allocations: 3.453 MB / 466.9 MB, free: 5.945 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005295/0.604, allocations: 198.6 kB / 467.1 MB, free: 5.742 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.6043, allocations: 100.8 kB / 467.2 MB, free: 5.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.6043, allocations: 4.438 kB / 467.2 MB, free: 5.637 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.6044, allocations: 42.56 kB / 467.3 MB, free: 5.586 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 3.192e-06/0.6044, allocations: 0 / 467.3 MB, free: 5.586 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.001837/0.6062, allocations: 0.8166 MB / 468.1 MB, free: 4.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.861e-05/0.6063, allocations: 77.34 kB / 468.2 MB, free: 4.625 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/0.6075, allocations: 0.6131 MB / 468.8 MB, free: 4.008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.6075, allocations: 37.7 kB / 468.8 MB, free: 3.965 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004741/0.608, allocations: 0.4943 MB / 469.3 MB, free: 3.465 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.6081, allocations: 106.5 kB / 469.4 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.6082, allocations: 12 kB / 469.4 MB, free: 3.348 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.6084, allocations: 382.8 kB / 469.8 MB, free: 2.965 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.6087, allocations: 101.6 kB / 469.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005352/0.6093, allocations: 398 kB / 470.3 MB, free: 2.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000419/0.6097, allocations: 175.8 kB / 470.5 MB, free: 2.168 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.829e-06/0.6097, allocations: 4 kB / 470.5 MB, free: 2.164 MB / 378.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001266/0.611, allocations: 0.5521 MB / 471 MB, free: 1.602 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.611, allocations: 12 kB / 471 MB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.6111, allocations: 8 kB / 471 MB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001884/0.6113, allocations: 33.48 kB / 471.1 MB, free: 1.547 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/0.6119, allocations: 151.7 kB / 471.2 MB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.6133, allocations: 1.288 MB / 472.5 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006582/0.614, allocations: 39.89 kB / 472.5 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.038e-05/0.614, allocations: 28 kB / 472.6 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.0001715/0.6142, allocations: 144.8 kB / 472.7 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001447/0.6144, allocations: 75.19 kB / 472.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007182/0.6151, allocations: 285.5 kB / 473.1 MB, free: 15.39 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.6151, allocations: 4 kB / 473.1 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.729e-06/0.6152, allocations: 0 / 473.1 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.982e-06/0.6152, allocations: 3.984 kB / 473.1 MB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0021/0.6173, allocations: 1.047 MB / 474.1 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.311e-06/0.6173, allocations: 0 / 474.1 MB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004119/0.6177, allocations: 63.86 kB / 474.2 MB, free: 14.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000125/0.6179, allocations: 29.06 kB / 474.2 MB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.917e-05/0.6179, allocations: 8 kB / 474.2 MB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.6192, allocations: 1.272 MB / 475.5 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.225e-06/0.6192, allocations: 0 / 475.5 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009886/0.6202, allocations: 0.5928 MB / 476.1 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003174/0.6206, allocations: 172.2 kB / 476.2 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/0.6207, allocations: 8 kB / 476.3 MB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004848/0.6212, allocations: 23.98 kB / 476.3 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.198e-05/0.6213, allocations: 27.86 kB / 476.3 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.6214, allocations: 12 kB / 476.3 MB, free: 11.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0008996/0.6223, allocations: 475.2 kB / 476.8 MB, free: 11.36 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.056e-06/0.6223, allocations: 4 kB / 476.8 MB, free: 11.36 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001019/0.6233, allocations: 192 kB / 477 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.00051/0.6238, allocations: 293.4 kB / 477.3 MB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009041/0.6248, allocations: 406 kB / 477.7 MB, free: 10.48 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.6248, allocations: 0 / 477.7 MB, free: 10.48 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003947/0.6252, allocations: 203.7 kB / 477.9 MB, free: 10.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.6262, allocations: 171.3 kB / 478 MB, free: 10.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.6287, allocations: 1.018 MB / 479 MB, free: 9.039 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008164/0.6295, allocations: 0.9609 MB / 480 MB, free: 8.047 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005262/0.6301, allocations: 90.02 kB / 480.1 MB, free: 7.957 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.6302, allocations: 51.44 kB / 480.1 MB, free: 7.906 MB / 394.7 MB Notification: Performance of SimCode: time 1.566e-06/0.6302, allocations: 0 / 480.1 MB, free: 7.906 MB / 394.7 MB Notification: Performance of Templates: time 0.02736/0.6576, allocations: 9.769 MB / 489.9 MB, free: 14.25 MB / 410.7 MB