Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|I.re|I.im",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 270 MB / 283.6 MB, free: 1.895 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.295e-05, allocations: 8 kB / 348.4 MB, free: 2.781 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3295, allocations: 61.86 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1571/0.4866, allocations: 102.4 MB / 0.5007 GB, free: 4.168 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.4869, allocations: 83.95 kB / 0.5007 GB, free: 4.086 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4174/0.9043, allocations: 38.67 MB / 0.5385 GB, free: 99.3 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.9044, allocations: 0 / 0.5385 GB, free: 99.3 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.889e-05/0.9044, allocations: 22.03 kB / 0.5385 GB, free: 99.3 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 339 * Number of variables: 339 Notification: Performance of Generate backend data structure: time 0.006899/0.9114, allocations: 1.685 MB / 0.5402 GB, free: 98.44 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.9114, allocations: 11.81 kB / 0.5402 GB, free: 98.44 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009124/0.9206, allocations: 0.9814 MB / 0.5411 GB, free: 98.26 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.9219, allocations: 0.5956 MB / 0.5417 GB, free: 97.81 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.953e-05/0.922, allocations: 96.89 kB / 0.5418 GB, free: 97.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002703/0.9223, allocations: 138.5 kB / 0.5419 GB, free: 97.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002913/0.9252, allocations: 1.4 MB / 0.5433 GB, free: 97.06 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.089e-05/0.9253, allocations: 7.922 kB / 0.5433 GB, free: 97.05 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000171/0.9255, allocations: 55.34 kB / 0.5434 GB, free: 97.01 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.018e-05/0.9255, allocations: 35.62 kB / 0.5434 GB, free: 97.01 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003456/0.929, allocations: 1.419 MB / 0.5448 GB, free: 96.37 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009206/0.9382, allocations: 5.46 MB / 0.5501 GB, free: 91.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/0.9405, allocations: 2.136 MB / 0.5522 GB, free: 89.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.9416, allocations: 0.6154 MB / 0.5528 GB, free: 88.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001572/0.9418, allocations: 105.1 kB / 0.5529 GB, free: 88.35 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.569e-05/0.9418, allocations: 55.55 kB / 0.553 GB, free: 88.28 MB / 442.7 MB Notification: Performance of pre-optimization done (n=127): time 5.207e-06/0.9419, allocations: 0 / 0.553 GB, free: 88.28 MB / 442.7 MB Notification: Performance of matching and sorting (n=127): time 0.002703/0.9446, allocations: 1.233 MB / 0.5542 GB, free: 87.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.803e-05/0.9446, allocations: 90.11 kB / 0.5543 GB, free: 86.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006022/0.9453, allocations: 399.8 kB / 0.5546 GB, free: 86.53 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.719e-05/0.9454, allocations: 45.7 kB / 0.5547 GB, free: 86.48 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.9456, allocations: 454.2 kB / 0.5551 GB, free: 86.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003062/0.9459, allocations: 421 kB / 0.5555 GB, free: 85.62 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.902e-05/0.946, allocations: 28.03 kB / 0.5555 GB, free: 85.6 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001155/0.9462, allocations: 382.8 kB / 0.5559 GB, free: 85.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008793/0.947, allocations: 414.6 kB / 0.5563 GB, free: 84.81 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.9481, allocations: 0.6204 MB / 0.5569 GB, free: 84.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.9491, allocations: 488.5 kB / 0.5574 GB, free: 83.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.198e-06/0.9491, allocations: 3.938 kB / 0.5574 GB, free: 83.63 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003094/0.9522, allocations: 1.445 MB / 0.5588 GB, free: 82.18 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/0.9523, allocations: 8 kB / 0.5588 GB, free: 82.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.9523, allocations: 4 kB / 0.5588 GB, free: 82.17 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001828/0.9541, allocations: 0.5126 MB / 0.5593 GB, free: 81.65 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009475/0.9551, allocations: 187.7 kB / 0.5595 GB, free: 81.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007381/0.9625, allocations: 4.26 MB / 0.5636 GB, free: 77.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009961/0.9635, allocations: 126.8 kB / 0.5638 GB, free: 76.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.9637, allocations: 44 kB / 0.5638 GB, free: 76.91 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of prepare postOptimizeDAE: time 0.0002705/0.964, allocations: 174.8 kB / 0.564 GB, free: 76.74 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.9642, allocations: 90.97 kB / 0.5641 GB, free: 76.65 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003321/0.9675, allocations: 1.559 MB / 0.5656 GB, free: 75.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.9676, allocations: 12 kB / 0.5656 GB, free: 75.06 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.9676, allocations: 0 / 0.5656 GB, free: 75.06 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.9676, allocations: 7.969 kB / 0.5656 GB, free: 75.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005414/0.9731, allocations: 2.787 MB / 0.5683 GB, free: 72.22 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.9731, allocations: 0 / 0.5683 GB, free: 72.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008727/0.974, allocations: 147.8 kB / 0.5685 GB, free: 72.07 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001867/0.9759, allocations: 0.5028 MB / 0.569 GB, free: 71.57 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/0.976, allocations: 31.94 kB / 0.569 GB, free: 71.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007413/0.9835, allocations: 4.236 MB / 0.5731 GB, free: 67.18 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.236e-06/0.9835, allocations: 3.984 kB / 0.5731 GB, free: 67.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004293/0.9878, allocations: 2.183 MB / 0.5753 GB, free: 64.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006012/0.9885, allocations: 295.8 kB / 0.5755 GB, free: 64.65 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001632/0.9886, allocations: 27.94 kB / 0.5756 GB, free: 64.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007891/0.9894, allocations: 55.97 kB / 0.5756 GB, free: 64.57 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000279/0.9897, allocations: 101.1 kB / 0.5757 GB, free: 64.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.9899, allocations: 39.95 kB / 0.5758 GB, free: 64.43 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004209/0.9903, allocations: 301.6 kB / 0.576 GB, free: 64.13 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.44e-07/0.9903, allocations: 0 / 0.576 GB, free: 64.13 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00158/0.9919, allocations: 415.1 kB / 0.5764 GB, free: 63.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (idealClosingSwitch.pin_p.reference.gamma) * Number of discrete variables: 4 (booleanStep1.y,booleanStep2.y,booleanStep3.y,booleanStep4.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 83 * 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: 0 * Non-linear torn systems: 1 {20 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004087/0.9923, allocations: 194.8 kB / 0.5766 GB, free: 63.54 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003585/0.9959, allocations: 1.63 MB / 0.5782 GB, free: 61.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.618e-06/0.996, allocations: 0 / 0.5782 GB, free: 61.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002408/0.9984, allocations: 1.075 MB / 0.5793 GB, free: 60.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.9994, allocations: 94.7 kB / 0.5794 GB, free: 60.73 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005941/1.005, allocations: 2.053 MB / 0.5814 GB, free: 58.68 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/1.006, allocations: 1.095 MB / 0.5824 GB, free: 57.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007665/1.007, allocations: 110.7 kB / 0.5825 GB, free: 57.44 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002537/1.007, allocations: 63.42 kB / 0.5826 GB, free: 57.38 MB / 442.7 MB Notification: Performance of SimCode: time 1.832e-06/1.007, allocations: 0 / 0.5826 GB, free: 57.38 MB / 442.7 MB Notification: Performance of Templates: time 0.03619/1.043, allocations: 16.05 MB / 0.5983 GB, free: 41.42 MB / 442.7 MB