Running command: translateModel(ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.QuasiStatic.SinglePhase.Ideal") Notification: Performance of loadModel(ModelicaTest): time 2.278/2.278, allocations: 270 MB / 282.7 MB, free: 1.867 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.978e-05/2.992e-05, allocations: 3.938 kB / 347 MB, free: 3.273 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3856/0.3856, allocations: 61.87 MB / 408.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1539/0.5396, allocations: 102.4 MB / 0.4993 GB, free: 4.273 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/0.5399, allocations: 83.95 kB / 0.4993 GB, free: 4.191 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4041/0.944, allocations: 38.68 MB / 0.5371 GB, free: 99.44 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.944, allocations: 0 / 0.5371 GB, free: 99.44 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.207e-05/0.9441, allocations: 18.62 kB / 0.5371 GB, free: 99.44 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.006542/0.9506, allocations: 1.682 MB / 0.5388 GB, free: 98.59 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.9507, allocations: 9.75 kB / 0.5388 GB, free: 98.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009676/0.9604, allocations: 0.9812 MB / 0.5397 GB, free: 98.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00128/0.9617, allocations: 0.5947 MB / 0.5403 GB, free: 97.95 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.869e-05/0.9618, allocations: 94.92 kB / 0.5404 GB, free: 97.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002494/0.9621, allocations: 136.7 kB / 0.5405 GB, free: 97.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003017/0.9651, allocations: 1.406 MB / 0.5419 GB, free: 97.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.947e-05/0.9652, allocations: 4 kB / 0.5419 GB, free: 97.2 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001688/0.9654, allocations: 53.62 kB / 0.542 GB, free: 97.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.24e-05/0.9654, allocations: 36.8 kB / 0.542 GB, free: 97.16 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00295/0.9684, allocations: 1.417 MB / 0.5434 GB, free: 96.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00917/0.9776, allocations: 5.456 MB / 0.5487 GB, free: 91.57 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.9799, allocations: 2.14 MB / 0.5508 GB, free: 89.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001092/0.981, allocations: 0.6117 MB / 0.5514 GB, free: 88.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001611/0.9812, allocations: 107.2 kB / 0.5515 GB, free: 88.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.9812, allocations: 43.56 kB / 0.5515 GB, free: 88.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=127): time 4.559e-06/0.9812, allocations: 7.938 kB / 0.5516 GB, free: 88.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=127): time 0.002716/0.984, allocations: 1.229 MB / 0.5528 GB, free: 87.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.984, allocations: 90.11 kB / 0.5528 GB, free: 87.05 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000558/0.9846, allocations: 403.8 kB / 0.5532 GB, free: 86.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.761e-05/0.9847, allocations: 49.7 kB / 0.5533 GB, free: 86.59 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.9849, allocations: 0.4926 MB / 0.5538 GB, free: 86.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003035/0.9852, allocations: 425.6 kB / 0.5542 GB, free: 85.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.739e-05/0.9853, allocations: 24.03 kB / 0.5542 GB, free: 85.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.791e-05/0.9854, allocations: 358.8 kB / 0.5545 GB, free: 85.3 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000882/0.9863, allocations: 414.6 kB / 0.5549 GB, free: 84.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.9874, allocations: 0.6204 MB / 0.5555 GB, free: 84.2 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.9884, allocations: 488.5 kB / 0.556 GB, free: 83.72 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.022e-06/0.9884, allocations: 0 / 0.556 GB, free: 83.72 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003039/0.9915, allocations: 1.415 MB / 0.5574 GB, free: 82.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.9915, allocations: 11.94 kB / 0.5574 GB, free: 82.29 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.9915, allocations: 4 kB / 0.5574 GB, free: 82.29 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001859/0.9934, allocations: 0.5087 MB / 0.5579 GB, free: 81.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.9944, allocations: 191.7 kB / 0.5581 GB, free: 81.59 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007467/1.002, allocations: 4.273 MB / 0.5622 GB, free: 77.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/1.003, allocations: 122.8 kB / 0.5624 GB, free: 77.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/1.003, allocations: 51.97 kB / 0.5624 GB, free: 77.01 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.0002605/1.003, allocations: 166.8 kB / 0.5626 GB, free: 76.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002049/1.004, allocations: 83.06 kB / 0.5626 GB, free: 76.76 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003405/1.007, allocations: 1.562 MB / 0.5642 GB, free: 75.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/1.007, allocations: 16 kB / 0.5642 GB, free: 75.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.602e-06/1.007, allocations: 0 / 0.5642 GB, free: 75.17 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-05/1.007, allocations: 3.984 kB / 0.5642 GB, free: 75.17 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005232/1.012, allocations: 2.792 MB / 0.5669 GB, free: 72.33 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/1.012, allocations: 3.984 kB / 0.5669 GB, free: 72.33 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008224/1.013, allocations: 147.8 kB / 0.5671 GB, free: 72.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001796/1.015, allocations: 0.4989 MB / 0.5675 GB, free: 71.68 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.791e-05/1.015, allocations: 27.95 kB / 0.5676 GB, free: 71.66 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007258/1.022, allocations: 4.238 MB / 0.5717 GB, free: 67.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.951e-06/1.022, allocations: 3.938 kB / 0.5717 GB, free: 67.29 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004315/1.027, allocations: 2.19 MB / 0.5739 GB, free: 65.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006521/1.028, allocations: 295.6 kB / 0.5741 GB, free: 64.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001548/1.028, allocations: 24.06 kB / 0.5742 GB, free: 64.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008062/1.029, allocations: 51.97 kB / 0.5742 GB, free: 64.68 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002833/1.029, allocations: 101.1 kB / 0.5743 GB, free: 64.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/1.029, allocations: 47.94 kB / 0.5744 GB, free: 64.54 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004359/1.029, allocations: 301.6 kB / 0.5746 GB, free: 64.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.41e-07/1.029, allocations: 0 / 0.5746 GB, free: 64.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001582/1.031, allocations: 411.1 kB / 0.575 GB, free: 63.84 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.0003458/1.031, allocations: 193.2 kB / 0.5752 GB, free: 63.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003557/1.035, allocations: 1.618 MB / 0.5768 GB, free: 62.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.253e-06/1.035, allocations: 0 / 0.5768 GB, free: 62.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002365/1.037, allocations: 1.079 MB / 0.5779 GB, free: 60.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007483/1.038, allocations: 87.66 kB / 0.5779 GB, free: 60.85 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005714/1.044, allocations: 2.099 MB / 0.58 GB, free: 58.74 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/1.045, allocations: 1.095 MB / 0.5811 GB, free: 57.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/1.045, allocations: 71.42 kB / 0.5811 GB, free: 57.55 MB / 442.7 MB Notification: Performance of SimCode: time 1.62e-06/1.045, allocations: 4 kB / 0.5811 GB, free: 57.54 MB / 442.7 MB Notification: Performance of Templates: time 0.02438/1.069, allocations: 16.95 MB / 0.5977 GB, free: 40.57 MB / 442.7 MB