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.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadModel(Modelica): time 1.838/1.838, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.799e-05/2.811e-05, allocations: 4 kB / 269.4 MB, free: 6.391 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08256/0.08261, allocations: 47.57 MB / 316.9 MB, free: 6.73 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3487/0.4314, allocations: 93.17 MB / 410.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.4317, allocations: 81.39 kB / 410.2 MB, free: 11.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09126/0.523, allocations: 23.05 MB / 433.2 MB, free: 7.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.523, allocations: 0 / 433.2 MB, free: 7.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.113e-05/0.5231, allocations: 20 kB / 433.3 MB, free: 7.66 MB / 346.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.001828/0.5249, allocations: 0.9689 MB / 434.2 MB, free: 6.699 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.525, allocations: 8.031 kB / 434.2 MB, free: 6.691 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006391/0.5256, allocations: 146.7 kB / 434.4 MB, free: 6.547 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/0.5272, allocations: 0.6835 MB / 435.1 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.314e-05/0.5273, allocations: 61.5 kB / 435.1 MB, free: 5.93 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.5275, allocations: 75.81 kB / 435.2 MB, free: 5.879 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00162/0.5291, allocations: 0.7342 MB / 435.9 MB, free: 5.363 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.84e-05/0.5292, allocations: 3.906 kB / 435.9 MB, free: 5.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.082e-05/0.5293, allocations: 32.75 kB / 436 MB, free: 5.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.452e-05/0.5293, allocations: 20 kB / 436 MB, free: 5.332 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001172/0.5305, allocations: 468.7 kB / 436.4 MB, free: 5.047 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005812/0.5363, allocations: 3.454 MB / 439.9 MB, free: 2.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005098/0.5369, allocations: 209.6 kB / 440.1 MB, free: 1.926 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002155/0.5371, allocations: 99.42 kB / 440.2 MB, free: 1.859 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.133e-05/0.5372, allocations: 8 kB / 440.2 MB, free: 1.852 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.5372, allocations: 34.31 kB / 440.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 3.426e-06/0.5372, allocations: 0 / 440.2 MB, free: 1.812 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001826/0.5391, allocations: 0.8082 MB / 441 MB, free: 1.066 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.337e-05/0.5391, allocations: 81.34 kB / 441.1 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.5402, allocations: 0.6171 MB / 441.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.432e-05/0.5403, allocations: 32.95 kB / 441.8 MB, free: 480 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004399/0.5407, allocations: 0.491 MB / 442.3 MB, free: 108 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.5409, allocations: 110.2 kB / 442.4 MB, free: 12 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.768e-05/0.5409, allocations: 15.56 kB / 442.4 MB, free: 8 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002657/0.5412, allocations: 379.5 kB / 442.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002608/0.5415, allocations: 107.8 kB / 442.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/0.542, allocations: 391.5 kB / 443.2 MB, free: 15.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.5424, allocations: 179.2 kB / 443.4 MB, free: 15 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.885e-06/0.5424, allocations: 0 / 443.4 MB, free: 15 MB / 362.7 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001192/0.5436, allocations: 0.5533 MB / 444 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.719e-05/0.5436, allocations: 8 kB / 444 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/0.5437, allocations: 12 kB / 444 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001627/0.5439, allocations: 33.44 kB / 444 MB, free: 14.49 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006096/0.5445, allocations: 147.4 kB / 444.2 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001318/0.5458, allocations: 1.282 MB / 445.4 MB, free: 12.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005808/0.5464, allocations: 39.08 kB / 445.5 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.294e-05/0.5465, allocations: 35.45 kB / 445.5 MB, free: 12.91 MB / 362.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.0001537/0.5467, allocations: 138.6 kB / 445.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.5468, allocations: 79.23 kB / 445.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006584/0.5475, allocations: 281.4 kB / 446 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.442e-06/0.5475, allocations: 4 kB / 446 MB, free: 12.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.451e-06/0.5475, allocations: 3.984 kB / 446 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.627e-06/0.5476, allocations: 7.953 kB / 446 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001957/0.5495, allocations: 1.045 MB / 447.1 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.726e-06/0.5496, allocations: 4 kB / 447.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/0.55, allocations: 63.34 kB / 447.1 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001187/0.5501, allocations: 27.88 kB / 447.2 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.4e-05/0.5501, allocations: 6.312 kB / 447.2 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001205/0.5514, allocations: 1.268 MB / 448.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.778e-06/0.5514, allocations: 4.031 kB / 448.4 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009565/0.5524, allocations: 0.5962 MB / 449 MB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.5527, allocations: 171 kB / 449.2 MB, free: 9.418 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.5528, allocations: 5.938 kB / 449.2 MB, free: 9.414 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004224/0.5532, allocations: 19.17 kB / 449.2 MB, free: 9.398 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.01e-05/0.5533, allocations: 33.8 kB / 449.3 MB, free: 9.371 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.487e-05/0.5533, allocations: 12 kB / 449.3 MB, free: 9.359 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008091/0.5542, allocations: 478.5 kB / 449.7 MB, free: 9.023 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.76e-07/0.5542, allocations: 0 / 449.7 MB, free: 9.023 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009554/0.5552, allocations: 190.3 kB / 449.9 MB, free: 8.855 MB / 362.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.0004832/0.5557, allocations: 290.1 kB / 450.2 MB, free: 8.574 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008306/0.5565, allocations: 402.3 kB / 450.6 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.744e-06/0.5565, allocations: 0 / 450.6 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003802/0.5569, allocations: 215.3 kB / 450.8 MB, free: 8.059 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000961/0.5579, allocations: 170.8 kB / 451 MB, free: 7.93 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.5602, allocations: 1.025 MB / 452 MB, free: 6.945 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008041/0.5611, allocations: 0.9607 MB / 453 MB, free: 5.953 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005/0.5616, allocations: 93.95 kB / 453.1 MB, free: 5.859 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001485/0.5618, allocations: 51.44 kB / 453.1 MB, free: 5.809 MB / 362.7 MB Notification: Performance of SimCode: time 1.709e-06/0.5618, allocations: 0 / 453.1 MB, free: 5.809 MB / 362.7 MB Notification: Performance of Templates: time 0.02688/0.5887, allocations: 9.774 MB / 462.9 MB, free: 12.09 MB / 378.7 MB