Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm1.la.i|loadInertia1.phi|loadInertia1.w|loadInertia2.phi|loadInertia2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_QuasiStationary") Notification: Performance of loadModel(Modelica): time 1.906/1.906, allocations: 205.8 MB / 218.9 MB, free: 9.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.893e-05/2.897e-05, allocations: 4 kB / 269.4 MB, free: 6.41 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08691/0.08697, allocations: 47.58 MB / 316.9 MB, free: 6.75 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3458/0.4328, allocations: 94.47 MB / 411.4 MB, free: 9.922 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.4331, allocations: 85.7 kB / 411.5 MB, free: 9.879 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.158/0.5911, allocations: 40.76 MB / 452.2 MB, free: 7.566 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.64e-06/0.5912, allocations: 0 / 452.2 MB, free: 7.566 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000119/0.5913, allocations: 39.94 kB / 452.3 MB, free: 7.527 MB / 362.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.003381/0.5947, allocations: 1.54 MB / 453.8 MB, free: 6.031 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.5948, allocations: 23.89 kB / 453.8 MB, free: 6.008 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001046/0.5958, allocations: 257.6 kB / 454.1 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00257/0.5984, allocations: 1.099 MB / 455.2 MB, free: 4.879 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.5985, allocations: 115.8 kB / 455.3 MB, free: 4.812 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002794/0.5988, allocations: 157 kB / 455.5 MB, free: 4.711 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003313/0.6022, allocations: 1.412 MB / 456.9 MB, free: 3.277 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.756e-05/0.6022, allocations: 11.89 kB / 456.9 MB, free: 3.266 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001834/0.6024, allocations: 60 kB / 456.9 MB, free: 3.207 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.772e-05/0.6025, allocations: 40 kB / 457 MB, free: 3.168 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/0.605, allocations: 0.8878 MB / 457.9 MB, free: 2.277 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01174/0.6167, allocations: 6.656 MB / 464.5 MB, free: 11.26 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008961/0.6177, allocations: 359.4 kB / 464.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004989/0.6182, allocations: 202 kB / 465.1 MB, free: 10.7 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.549e-05/0.6182, allocations: 12.36 kB / 465.1 MB, free: 10.69 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005653/0.6188, allocations: 260.7 kB / 465.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=50): time 4.231e-06/0.6188, allocations: 0 / 465.3 MB, free: 10.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=56): time 0.003617/0.6225, allocations: 1.608 MB / 467 MB, free: 8.742 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.6226, allocations: 188.5 kB / 467.1 MB, free: 8.516 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002158/0.6248, allocations: 1.073 MB / 468.2 MB, free: 7.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.311e-05/0.6249, allocations: 33.7 kB / 468.2 MB, free: 7.391 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009405/0.6258, allocations: 0.8711 MB / 469.1 MB, free: 6.508 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/0.6261, allocations: 201.2 kB / 469.3 MB, free: 6.309 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.414e-05/0.6262, allocations: 24 kB / 469.3 MB, free: 6.285 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.6264, allocations: 353.9 kB / 469.7 MB, free: 5.934 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005472/0.627, allocations: 210.6 kB / 469.9 MB, free: 5.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/0.628, allocations: 0.7775 MB / 470.7 MB, free: 4.668 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008425/0.6289, allocations: 380.7 kB / 471 MB, free: 4.289 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/0.6289, allocations: 8 kB / 471 MB, free: 4.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002639/0.6316, allocations: 1.084 MB / 472.1 MB, free: 3.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.658e-05/0.6317, allocations: 45.69 kB / 472.2 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.144e-05/0.6317, allocations: 23.98 kB / 472.2 MB, free: 3.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000282/0.632, allocations: 65.64 kB / 472.3 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.6331, allocations: 271.8 kB / 472.5 MB, free: 2.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/0.6358, allocations: 2.568 MB / 475.1 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001389/0.6372, allocations: 71.95 kB / 475.2 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/0.6373, allocations: 60 kB / 475.2 MB, free: 15.8 MB / 394.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.0002863/0.6376, allocations: 206.2 kB / 475.4 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.6379, allocations: 130.4 kB / 475.5 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.6393, allocations: 0.5097 MB / 476.1 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.6393, allocations: 7.953 kB / 476.1 MB, free: 14.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.6393, allocations: 7.984 kB / 476.1 MB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.6393, allocations: 0 / 476.1 MB, free: 14.92 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004133/0.6435, allocations: 1.888 MB / 478 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-05/0.6435, allocations: 8 kB / 478 MB, free: 12.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006053/0.6442, allocations: 111.8 kB / 478.1 MB, free: 12.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002168/0.6444, allocations: 54.12 kB / 478.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.6445, allocations: 16 kB / 478.1 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002514/0.647, allocations: 2.529 MB / 480.7 MB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.715e-06/0.647, allocations: 12.19 kB / 480.7 MB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001963/0.649, allocations: 1.075 MB / 481.8 MB, free: 8.652 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005977/0.6496, allocations: 255.4 kB / 482 MB, free: 8.383 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/0.6498, allocations: 19.98 kB / 482 MB, free: 8.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007385/0.6506, allocations: 31.98 kB / 482.1 MB, free: 8.332 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/0.6508, allocations: 59.81 kB / 482.1 MB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/0.6508, allocations: 20 kB / 482.1 MB, free: 8.254 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001666/0.6525, allocations: 0.7858 MB / 482.9 MB, free: 7.465 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.58e-07/0.6525, allocations: 0 / 482.9 MB, free: 7.465 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001665/0.6542, allocations: 344 kB / 483.3 MB, free: 7.129 MB / 394.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.0005695/0.6548, allocations: 325.4 kB / 483.6 MB, free: 6.812 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001762/0.6566, allocations: 0.8484 MB / 484.4 MB, free: 5.938 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.6566, allocations: 4.375 kB / 484.4 MB, free: 5.934 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008314/0.6574, allocations: 431.3 kB / 484.9 MB, free: 5.492 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/0.6592, allocations: 301.8 kB / 485.1 MB, free: 5.199 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004491/0.6637, allocations: 1.893 MB / 487 MB, free: 3.227 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001185/0.665, allocations: 1.213 MB / 488.3 MB, free: 1.984 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001022/0.666, allocations: 175.3 kB / 488.4 MB, free: 1.809 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002747/0.6663, allocations: 87.44 kB / 488.5 MB, free: 1.723 MB / 394.7 MB Notification: Performance of SimCode: time 1.815e-06/0.6663, allocations: 0 / 488.5 MB, free: 1.723 MB / 394.7 MB Notification: Performance of Templates: time 0.04584/0.7121, allocations: 16.12 MB / 0.4928 GB, free: 1.656 MB / 410.7 MB