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.427/2.427, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.725e-05/2.719e-05, allocations: 0 / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1485, allocations: 61.9 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.Analog.Ideal.IdealTwoWaySwitches): time 0.003847/0.1524, allocations: 2.281 MB / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001469/0.1539, allocations: 0.5612 MB / 413.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001874/0.1541, allocations: 8 kB / 413.8 MB, free: 10 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 9.444e-05/0.1542, allocations: 35.69 kB / 413.8 MB, free: 9.965 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000296/0.1545, allocations: 111.7 kB / 413.9 MB, free: 9.855 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002053/0.1548, allocations: 71.91 kB / 414 MB, free: 9.785 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003845/0.1552, allocations: 203.5 kB / 414.2 MB, free: 9.586 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002085/0.1554, allocations: 69.45 kB / 414.3 MB, free: 9.516 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001725/0.1556, allocations: 115.7 kB / 414.4 MB, free: 9.402 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002393/0.1558, allocations: 127.6 kB / 414.5 MB, free: 9.277 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.915e-05/0.1559, allocations: 16 kB / 414.5 MB, free: 9.262 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 5.045e-05/0.156, allocations: 12 kB / 414.5 MB, free: 9.25 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.724e-05/0.156, allocations: 51.77 kB / 414.6 MB, free: 9.199 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.462e-05/0.1561, allocations: 32 kB / 414.6 MB, free: 9.168 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003786/0.1565, allocations: 279.4 kB / 414.9 MB, free: 8.895 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1565, allocations: 0 / 414.9 MB, free: 8.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1566, allocations: 4 kB / 414.9 MB, free: 8.891 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.1566, allocations: 0 / 414.9 MB, free: 8.891 MB / 346.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.001313/0.1579, allocations: 0.5733 MB / 415.5 MB, free: 8.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.158, allocations: 12.03 kB / 415.5 MB, free: 8.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001024/0.1581, allocations: 31.62 kB / 415.5 MB, free: 8.227 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.1585, allocations: 263 kB / 415.8 MB, free: 7.93 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/0.1586, allocations: 24.56 kB / 415.8 MB, free: 7.906 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.265e-05/0.1586, allocations: 31.95 kB / 415.8 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009346/0.1596, allocations: 324.5 kB / 416.1 MB, free: 7.547 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/0.1596, allocations: 8 kB / 416.1 MB, free: 7.539 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.1597, allocations: 12 kB / 416.1 MB, free: 7.527 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.1597, allocations: 8 kB / 416.2 MB, free: 7.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008844/0.1606, allocations: 254.1 kB / 416.4 MB, free: 7.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003186/0.1638, allocations: 1.285 MB / 417.7 MB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.1651, allocations: 499.3 kB / 418.2 MB, free: 5.375 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.1652, allocations: 240 / 418.2 MB, free: 5.375 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.1652, allocations: 38.8 kB / 418.2 MB, free: 5.328 MB / 346.7 MB Notification: Performance of pre-optimization done (n=27): time 1.774e-06/0.1653, allocations: 0 / 418.2 MB, free: 5.328 MB / 346.7 MB Notification: Performance of matching and sorting (n=27): time 0.005464/0.1707, allocations: 1.159 MB / 419.4 MB, free: 4.125 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.883e-05/0.1708, allocations: 59.36 kB / 419.4 MB, free: 4.055 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003533/0.1712, allocations: 220.1 kB / 419.6 MB, free: 3.832 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.722e-05/0.1712, allocations: 29.7 kB / 419.7 MB, free: 3.797 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.1714, allocations: 234.6 kB / 419.9 MB, free: 3.566 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/0.1715, allocations: 90.64 kB / 420 MB, free: 3.477 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.286e-05/0.1716, allocations: 8 kB / 420 MB, free: 3.469 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001273/0.1717, allocations: 318.8 kB / 420.3 MB, free: 3.148 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004307/0.1721, allocations: 115.9 kB / 420.4 MB, free: 3.035 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004576/0.1726, allocations: 157.1 kB / 420.6 MB, free: 2.867 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004402/0.1731, allocations: 116 kB / 420.7 MB, free: 2.754 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.878e-06/0.1731, allocations: 0 / 420.7 MB, free: 2.754 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002087/0.1752, allocations: 0.5144 MB / 421.2 MB, free: 2.227 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.575e-05/0.1752, allocations: 4 kB / 421.2 MB, free: 2.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.1753, allocations: 8.062 kB / 421.2 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001753/0.177, allocations: 277.5 kB / 421.5 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003115/0.1774, allocations: 31.98 kB / 421.5 MB, free: 1.906 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3366/0.514, allocations: 3.576 MB / 425.1 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005249/0.5146, allocations: 37.11 kB / 425.1 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.41e-05/0.5147, allocations: 10.19 kB / 425.1 MB, free: 11.65 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 19 * 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.0002571/0.5149, allocations: 142.3 kB / 425.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001191/0.5151, allocations: 27.45 kB / 425.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.5152, allocations: 36.33 kB / 425.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.5152, allocations: 2 kB / 425.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.715e-05/0.5153, allocations: 3.312 kB / 425.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.5153, allocations: 1.359 kB / 425.3 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003851/0.5191, allocations: 0.9393 MB / 426.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/0.5192, allocations: 0.875 kB / 426.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002117/0.5194, allocations: 15.75 kB / 426.3 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002303/0.5217, allocations: 288.1 kB / 426.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.35e-05/0.5218, allocations: 7.25 kB / 426.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008153/0.53, allocations: 3.575 MB / 430.2 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.596e-06/0.53, allocations: 0.5938 kB / 430.2 MB, free: 8.418 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002646/0.5327, allocations: 0.5841 MB / 430.7 MB, free: 8.137 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/0.5329, allocations: 119 kB / 430.9 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.422e-05/0.533, allocations: 6.5 kB / 430.9 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00059/0.5336, allocations: 43.81 kB / 430.9 MB, free: 8.004 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001782/0.5338, allocations: 28.78 kB / 430.9 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.5339, allocations: 9.094 kB / 431 MB, free: 7.996 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003067/0.5342, allocations: 171.6 kB / 431.1 MB, free: 7.887 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5342, allocations: 1.438 kB / 431.1 MB, free: 7.887 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009194/0.5352, allocations: 105.7 kB / 431.2 MB, free: 7.867 MB / 346.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.0001804/0.5354, allocations: 115.7 kB / 431.3 MB, free: 7.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00202/0.5374, allocations: 0.5817 MB / 431.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.5374, allocations: 0 / 431.9 MB, free: 7.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.5387, allocations: 454.1 kB / 432.4 MB, free: 7.121 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006651/0.5394, allocations: 45.05 kB / 432.4 MB, free: 7.102 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.5413, allocations: 0.6359 MB / 433 MB, free: 6.68 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.5417, allocations: 0.7756 MB / 433.8 MB, free: 5.969 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.5419, allocations: 19.28 kB / 433.8 MB, free: 5.961 MB / 346.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5419, allocations: 0 / 433.8 MB, free: 5.961 MB / 346.7 MB Notification: Performance of Templates: time 0.01672/0.5586, allocations: 5.351 MB / 439.2 MB, free: 5.711 MB / 346.7 MB