Running command: translateModel(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches") Notification: Performance of loadModel(ModelicaTest): time 2.415/2.415, allocations: 270 MB / 282.7 MB, free: 1.91 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.279e-05/3.292e-05, allocations: 4 kB / 347 MB, free: 3.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3289/0.3289, allocations: 61.87 MB / 408.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1392/0.4681, allocations: 88.62 MB / 497.5 MB, free: 2.074 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000283/0.4685, allocations: 75.95 kB / 497.5 MB, free: 2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01873/0.4872, allocations: 4.737 MB / 0.4905 GB, free: 13.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.049e-06/0.4873, allocations: 0 / 0.4905 GB, free: 13.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.284e-05/0.4873, allocations: 8 kB / 0.4905 GB, free: 13.23 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001017/0.4884, allocations: 0.5568 MB / 0.4911 GB, free: 12.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4884, allocations: 12.03 kB / 0.4911 GB, free: 12.62 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.736e-05/0.4885, allocations: 35.53 kB / 0.4911 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004225/0.489, allocations: 254.8 kB / 0.4913 GB, free: 12.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.489, allocations: 20.56 kB / 0.4914 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.066e-05/0.4891, allocations: 31.89 kB / 0.4914 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000679/0.4898, allocations: 295.4 kB / 0.4917 GB, free: 11.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.4898, allocations: 4 kB / 0.4917 GB, free: 11.94 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.4899, allocations: 12 kB / 0.4917 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.4899, allocations: 8 kB / 0.4917 GB, free: 11.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/0.4904, allocations: 197.1 kB / 0.4919 GB, free: 11.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002877/0.4933, allocations: 1.3 MB / 0.4932 GB, free: 10.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008299/0.4942, allocations: 432 kB / 0.4936 GB, free: 9.883 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.4946, allocations: 141.3 kB / 0.4937 GB, free: 9.742 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.546e-05/0.4946, allocations: 8.172 kB / 0.4937 GB, free: 9.734 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.016e-05/0.4946, allocations: 38.8 kB / 0.4937 GB, free: 9.688 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 4.064e-06/0.4947, allocations: 3.938 kB / 0.4937 GB, free: 9.684 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.001263/0.4959, allocations: 394.3 kB / 0.4941 GB, free: 9.289 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.781e-05/0.496, allocations: 63.36 kB / 0.4942 GB, free: 9.215 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.4964, allocations: 213.1 kB / 0.4944 GB, free: 8.996 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.015e-05/0.4964, allocations: 29.7 kB / 0.4944 GB, free: 8.961 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001681/0.4966, allocations: 234.5 kB / 0.4946 GB, free: 8.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.893e-05/0.4967, allocations: 82.75 kB / 0.4947 GB, free: 8.648 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.4967, allocations: 8 kB / 0.4947 GB, free: 8.641 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001663/0.4969, allocations: 318.8 kB / 0.495 GB, free: 8.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002198/0.4972, allocations: 76.56 kB / 0.4951 GB, free: 8.242 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.4974, allocations: 115.3 kB / 0.4952 GB, free: 8.121 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.4977, allocations: 83.97 kB / 0.4953 GB, free: 8.039 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.84e-06/0.4977, allocations: 0 / 0.4953 GB, free: 8.039 MB / 426.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001258/0.499, allocations: 431.3 kB / 0.4957 GB, free: 7.605 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.499, allocations: 8 kB / 0.4957 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.142e-06/0.499, allocations: 0 / 0.4957 GB, free: 7.598 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.5002, allocations: 233.5 kB / 0.4959 GB, free: 7.363 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.5004, allocations: 35.92 kB / 0.496 GB, free: 7.328 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004713/0.5051, allocations: 3.257 MB / 0.4991 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003088/0.5055, allocations: 39.83 kB / 0.4992 GB, free: 3.762 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.025e-05/0.5055, allocations: 4.469 kB / 0.4992 GB, free: 3.758 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 17 * 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 {(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.5057, allocations: 128.9 kB / 0.4993 GB, free: 3.625 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.703e-05/0.5058, allocations: 23.72 kB / 0.4993 GB, free: 3.602 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.172e-05/0.5059, allocations: 30.88 kB / 0.4994 GB, free: 3.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.791e-06/0.5059, allocations: 4 kB / 0.4994 GB, free: 3.566 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.212e-05/0.5059, allocations: 4 kB / 0.4994 GB, free: 3.562 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.462e-06/0.506, allocations: 7.984 kB / 0.4994 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.508, allocations: 0.8506 MB / 0.5002 GB, free: 2.645 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.009e-06/0.508, allocations: 7.953 kB / 0.5002 GB, free: 2.637 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.5081, allocations: 23.94 kB / 0.5002 GB, free: 2.613 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001062/0.5092, allocations: 237.5 kB / 0.5005 GB, free: 2.375 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.311e-05/0.5093, allocations: 4 kB / 0.5005 GB, free: 2.371 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004639/0.5139, allocations: 3.261 MB / 0.5037 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.014e-06/0.514, allocations: 0 / 0.5037 GB, free: 14.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.5153, allocations: 0.4967 MB / 0.5041 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002345/0.5155, allocations: 124.7 kB / 0.5043 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.958e-05/0.5156, allocations: 4 kB / 0.5043 GB, free: 14.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003213/0.5159, allocations: 39.97 kB / 0.5043 GB, free: 14.14 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/0.5161, allocations: 31.91 kB / 0.5043 GB, free: 14.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.5161, allocations: 7.938 kB / 0.5043 GB, free: 14.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002532/0.5164, allocations: 165.4 kB / 0.5045 GB, free: 13.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.5164, allocations: 0 / 0.5045 GB, free: 13.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005891/0.517, allocations: 107.8 kB / 0.5046 GB, free: 13.84 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (booleanStep.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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 {(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000173/0.5172, allocations: 111.2 kB / 0.5047 GB, free: 13.72 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001117/0.5183, allocations: 0.491 MB / 0.5052 GB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.211e-06/0.5183, allocations: 128 / 0.5052 GB, free: 13.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007347/0.5191, allocations: 403.1 kB / 0.5056 GB, free: 12.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004352/0.5195, allocations: 40.89 kB / 0.5056 GB, free: 12.76 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008675/0.5204, allocations: 370.8 kB / 0.506 GB, free: 12.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004939/0.5209, allocations: 0.7718 MB / 0.5067 GB, free: 11.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.882e-05/0.521, allocations: 15.44 kB / 0.5067 GB, free: 11.55 MB / 442.7 MB Notification: Performance of SimCode: time 1.761e-06/0.521, allocations: 0 / 0.5067 GB, free: 11.55 MB / 442.7 MB Notification: Performance of Templates: time 0.009929/0.531, allocations: 5.352 MB / 0.512 GB, free: 6.207 MB / 442.7 MB