Running command: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=40000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCSE_SinglePhase") Notification: Performance of loadModel(Modelica): time 1.918/1.918, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.345e-05, allocations: 0 / 292.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08878/0.08883, allocations: 50.41 MB / 342.5 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3785/0.4674, allocations: 99.77 MB / 442.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.4677, allocations: 81.64 kB / 442.4 MB, free: 10.67 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1115/0.5792, allocations: 28.74 MB / 471.1 MB, free: 2.379 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.075e-06/0.5792, allocations: 0 / 471.1 MB, free: 2.379 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.76e-05/0.5793, allocations: 23.94 kB / 471.2 MB, free: 2.355 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002323/0.5817, allocations: 1.133 MB / 472.3 MB, free: 1.176 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.5817, allocations: 12.02 kB / 472.3 MB, free: 1.164 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008838/0.5826, allocations: 190.3 kB / 472.5 MB, free: 0.9766 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.5847, allocations: 0.8011 MB / 473.3 MB, free: 136 kB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.673e-05/0.5848, allocations: 74 kB / 473.4 MB, free: 60 kB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002212/0.585, allocations: 99.95 kB / 473.5 MB, free: 15.96 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002126/0.5872, allocations: 0.8879 MB / 474.4 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.45e-05/0.5872, allocations: 4 kB / 474.4 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001262/0.5874, allocations: 43.95 kB / 474.4 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.288e-05/0.5874, allocations: 27.94 kB / 474.4 MB, free: 14.97 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00162/0.5891, allocations: 0.5819 MB / 475 MB, free: 14.39 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007557/0.5966, allocations: 3.943 MB / 479 MB, free: 10.22 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008962/0.5976, allocations: 433.5 kB / 479.4 MB, free: 9.77 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006605/0.5982, allocations: 260.2 kB / 479.6 MB, free: 9.516 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.958e-05/0.5983, allocations: 7.984 kB / 479.6 MB, free: 9.508 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.466e-05/0.5984, allocations: 42.5 kB / 479.7 MB, free: 9.457 MB / 394.7 MB Notification: Performance of pre-optimization done (n=43): time 3.516e-06/0.5984, allocations: 0 / 479.7 MB, free: 9.457 MB / 394.7 MB Notification: Performance of matching and sorting (n=48): time 0.003058/0.6014, allocations: 1.22 MB / 480.9 MB, free: 8.176 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.6015, allocations: 81.55 kB / 481 MB, free: 8.078 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001369/0.6029, allocations: 0.6997 MB / 481.7 MB, free: 7.375 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.37e-05/0.603, allocations: 37.7 kB / 481.7 MB, free: 7.332 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005078/0.6035, allocations: 0.5706 MB / 482.3 MB, free: 6.754 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.6037, allocations: 169.6 kB / 482.5 MB, free: 6.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.6038, allocations: 16 kB / 482.5 MB, free: 6.57 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001952/0.604, allocations: 342.8 kB / 482.8 MB, free: 6.227 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.6044, allocations: 157.6 kB / 483 MB, free: 6.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006824/0.6051, allocations: 444.4 kB / 483.4 MB, free: 5.504 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005608/0.6057, allocations: 237.5 kB / 483.6 MB, free: 5.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.864e-06/0.6057, allocations: 0 / 483.6 MB, free: 5.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001681/0.6074, allocations: 0.6851 MB / 484.3 MB, free: 4.574 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.6074, allocations: 11.94 kB / 484.3 MB, free: 4.562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.34e-05/0.6075, allocations: 12 kB / 484.3 MB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003952/0.6079, allocations: 93.95 kB / 484.4 MB, free: 4.453 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007534/0.6086, allocations: 163.7 kB / 484.6 MB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/0.6123, allocations: 2.982 MB / 487.6 MB, free: 1.051 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008722/0.6132, allocations: 47.91 kB / 487.6 MB, free: 1.004 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-05/0.6133, allocations: 36 kB / 487.6 MB, free: 0.9688 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002103/0.6135, allocations: 152.7 kB / 487.8 MB, free: 0.8125 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000178/0.6137, allocations: 90.88 kB / 487.9 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.615, allocations: 0.4986 MB / 488.4 MB, free: 208 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.708e-06/0.615, allocations: 4 kB / 488.4 MB, free: 204 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.583e-06/0.615, allocations: 0 / 488.4 MB, free: 204 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.001e-06/0.615, allocations: 3.938 kB / 488.4 MB, free: 200 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003076/0.6181, allocations: 1.455 MB / 489.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.086e-06/0.6182, allocations: 4 kB / 489.8 MB, free: 14.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004944/0.6187, allocations: 79.84 kB / 489.9 MB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003473/0.619, allocations: 85.83 kB / 490 MB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.671e-05/0.6191, allocations: 19.94 kB / 490 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003495/0.6226, allocations: 2.972 MB / 493 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.831e-06/0.6226, allocations: 4.031 kB / 493 MB, free: 11.21 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0018/0.6245, allocations: 0.8716 MB / 493.9 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004475/0.6249, allocations: 196 kB / 494.1 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/0.6251, allocations: 15.98 kB / 494.1 MB, free: 10.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005882/0.6257, allocations: 43.92 kB / 494.1 MB, free: 9.984 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.6258, allocations: 43.62 kB / 494.2 MB, free: 9.941 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.6259, allocations: 12 kB / 494.2 MB, free: 9.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001131/0.627, allocations: 0.5304 MB / 494.7 MB, free: 9.406 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.56e-07/0.6271, allocations: 4 kB / 494.7 MB, free: 9.402 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001412/0.6285, allocations: 251.9 kB / 495 MB, free: 9.156 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcse.inertiaRotor.w,dcse.la.i,quadraticLoadTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 7,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005752/0.6291, allocations: 308.4 kB / 495.3 MB, free: 8.859 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001464/0.6306, allocations: 0.6532 MB / 495.9 MB, free: 8.184 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.714e-06/0.6306, allocations: 0 / 495.9 MB, free: 8.184 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008523/0.6315, allocations: 429.2 kB / 496.3 MB, free: 7.746 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001374/0.6329, allocations: 207.1 kB / 496.5 MB, free: 7.543 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003258/0.6361, allocations: 1.335 MB / 497.9 MB, free: 6.156 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009251/0.6371, allocations: 1.032 MB / 498.9 MB, free: 5.098 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000261/0.6374, allocations: 59.44 kB / 499 MB, free: 5.039 MB / 410.7 MB Notification: Performance of SimCode: time 5.079e-06/0.6374, allocations: 8 kB / 499 MB, free: 5.031 MB / 410.7 MB Notification: Performance of Templates: time 0.03521/0.6726, allocations: 21.2 MB / 0.508 GB, free: 15.88 MB / 442.7 MB