Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadModel(Modelica): time 2.1/2.1, allocations: 224.7 MB / 241.1 MB, free: 1.656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 7.015e-05/7.027e-05, allocations: 8 kB / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1482/0.1483, allocations: 50.42 MB / 345 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002663/0.1511, allocations: 1.136 MB / 346.1 MB, free: 7.766 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004097/0.1515, allocations: 91.92 kB / 346.2 MB, free: 7.676 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.028e-05/0.1516, allocations: 4 kB / 346.2 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.191e-05/0.1517, allocations: 0 / 346.2 MB, free: 7.672 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.94e-05/0.1517, allocations: 11.92 kB / 346.2 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.1521, allocations: 19.97 kB / 346.3 MB, free: 7.641 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.616e-05/0.1522, allocations: 8 kB / 346.3 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1523, allocations: 11.98 kB / 346.3 MB, free: 7.621 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.485e-05/0.1524, allocations: 11.94 kB / 346.3 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.18e-05/0.1524, allocations: 4 kB / 346.3 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.886e-05/0.1525, allocations: 0 / 346.3 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1525, allocations: 0 / 346.3 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.1525, allocations: 7.969 kB / 346.3 MB, free: 7.598 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.1526, allocations: 4 kB / 346.3 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.863e-05/0.1527, allocations: 15.97 kB / 346.3 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.1527, allocations: 0 / 346.3 MB, free: 7.578 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1527, allocations: 3.938 kB / 346.3 MB, free: 7.574 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.063e-05/0.1527, allocations: 4 kB / 346.3 MB, free: 7.57 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005541/0.1533, allocations: 330.4 kB / 346.6 MB, free: 7.203 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.1534, allocations: 8.031 kB / 346.7 MB, free: 7.195 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.118e-05/0.1534, allocations: 11.86 kB / 346.7 MB, free: 7.184 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002379/0.1537, allocations: 167.1 kB / 346.8 MB, free: 6.98 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.1537, allocations: 4 kB / 346.8 MB, free: 6.977 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.1538, allocations: 4 kB / 346.8 MB, free: 6.973 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003825/0.1542, allocations: 99.31 kB / 346.9 MB, free: 6.863 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1542, allocations: 3.938 kB / 346.9 MB, free: 6.859 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.1542, allocations: 4 kB / 346.9 MB, free: 6.855 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.1542, allocations: 0 / 346.9 MB, free: 6.855 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1543, allocations: 19.94 kB / 347 MB, free: 6.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001638/0.1545, allocations: 161.6 kB / 347.1 MB, free: 6.629 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.1547, allocations: 46.56 kB / 347.2 MB, free: 6.574 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.483e-05/0.1548, allocations: 4.031 kB / 347.2 MB, free: 6.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.1548, allocations: 30.56 kB / 347.2 MB, free: 6.531 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.734e-06/0.1548, allocations: 0 / 347.2 MB, free: 6.531 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002784/0.1551, allocations: 77.66 kB / 347.3 MB, free: 6.449 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1552, allocations: 51.41 kB / 347.3 MB, free: 6.387 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.834e-05/0.1553, allocations: 96.98 kB / 347.4 MB, free: 6.285 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1553, allocations: 33.64 kB / 347.4 MB, free: 6.246 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.318e-05/0.1554, allocations: 154.6 kB / 347.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.493e-06/0.1554, allocations: 0 / 347.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/0.1554, allocations: 0 / 347.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.1555, allocations: 314.8 kB / 347.9 MB, free: 5.777 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.641e-05/0.1555, allocations: 8 kB / 347.9 MB, free: 5.77 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.846e-05/0.1556, allocations: 31.42 kB / 347.9 MB, free: 5.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.867e-05/0.1556, allocations: 4 kB / 347.9 MB, free: 5.723 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.1556, allocations: 0 / 347.9 MB, free: 5.723 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001125/0.1558, allocations: 65.56 kB / 348 MB, free: 5.652 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.1558, allocations: 4 kB / 348 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1558, allocations: 0 / 348 MB, free: 5.648 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.1558, allocations: 4 kB / 348 MB, free: 5.645 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.108e-05/0.1559, allocations: 0 / 348 MB, free: 5.645 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.1559, allocations: 4 kB / 348 MB, free: 5.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.757e-05/0.1559, allocations: 0 / 348 MB, free: 5.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.156, allocations: 0 / 348 MB, free: 5.641 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.1561, allocations: 117.9 kB / 348.1 MB, free: 5.516 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.1562, allocations: 61.81 kB / 348.2 MB, free: 5.449 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.27e-05/0.1563, allocations: 11.53 kB / 348.2 MB, free: 5.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.1563, allocations: 3.984 kB / 348.2 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1563, allocations: 0 / 348.2 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.1563, allocations: 0 / 348.2 MB, free: 5.426 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.1564, allocations: 165.5 kB / 348.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1565, allocations: 256 / 348.4 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.491e-05/0.1565, allocations: 4 kB / 348.4 MB, free: 5.211 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.1565, allocations: 4 kB / 348.4 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.1565, allocations: 8 kB / 348.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1566, allocations: 0 / 348.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.1566, allocations: 0 / 348.4 MB, free: 5.199 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001862/0.1568, allocations: 89 kB / 348.5 MB, free: 5.094 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.366e-05/0.1568, allocations: 81.02 kB / 348.6 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.1568, allocations: 0 / 348.6 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.1569, allocations: 4 kB / 348.6 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.396e-06/0.1569, allocations: 4 kB / 348.6 MB, free: 4.988 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.821e-06/0.1569, allocations: 0 / 348.6 MB, free: 4.988 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.98e-05/0.157, allocations: 83.27 kB / 348.6 MB, free: 4.906 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.157, allocations: 0 / 348.6 MB, free: 4.906 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002452/0.1572, allocations: 8 kB / 348.7 MB, free: 4.898 MB / 282.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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001269/0.1574, allocations: 99.25 kB / 348.8 MB, free: 4.793 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001491/0.1575, allocations: 23.92 kB / 348.8 MB, free: 4.77 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.1575, allocations: 4.25 kB / 348.8 MB, free: 4.766 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.046e-06/0.1576, allocations: 7.938 kB / 348.8 MB, free: 4.758 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002276/0.1578, allocations: 15.95 kB / 348.8 MB, free: 4.742 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003224/0.1581, allocations: 142.4 kB / 348.9 MB, free: 4.566 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.1584, allocations: 0.6848 MB / 349.6 MB, free: 3.855 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.1585, allocations: 7.438 kB / 349.6 MB, free: 3.848 MB / 282.7 MB Notification: Performance of SimCode: time 3.156e-06/0.1585, allocations: 4 kB / 349.6 MB, free: 3.844 MB / 282.7 MB Notification: Performance of Templates: time 0.0023/0.1608, allocations: 0.5314 MB / 350.2 MB, free: 3.312 MB / 282.7 MB