Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Sample1") Notification: Performance of loadModel(Modelica_Synchronous): time 2.034/2.034, allocations: 218.4 MB / 231.5 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.49e-05/3.51e-05, allocations: 4 kB / 284.3 MB, free: 8.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09462/0.09468, allocations: 50.36 MB / 334.7 MB, free: 6.223 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3566/0.4513, allocations: 77.95 MB / 412.6 MB, free: 248 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.4516, allocations: 74.89 kB / 412.7 MB, free: 208 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00371/0.4553, allocations: 1.064 MB / 413.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.657e-06/0.4554, allocations: 0 / 413.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.031e-05/0.4554, allocations: 7.938 kB / 413.8 MB, free: 15.25 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003866/0.4558, allocations: 330 kB / 414.1 MB, free: 14.88 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.4558, allocations: 12.03 kB / 414.1 MB, free: 14.87 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.4559, allocations: 11.91 kB / 414.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000227/0.4561, allocations: 190.2 kB / 414.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.4562, allocations: 3.312 kB / 414.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.4562, allocations: 7.953 kB / 414.3 MB, free: 14.63 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.4565, allocations: 98.86 kB / 414.4 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.587e-06/0.4565, allocations: 4 kB / 414.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.4565, allocations: 7.125 kB / 414.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.937e-06/0.4565, allocations: 0 / 414.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.86e-05/0.4566, allocations: 4 kB / 414.4 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003926/0.457, allocations: 271.2 kB / 414.7 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002062/0.4572, allocations: 129.6 kB / 414.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.517e-05/0.4573, allocations: 25.41 kB / 414.8 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.4573, allocations: 0 / 414.8 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/0.4574, allocations: 38.5 kB / 414.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.24e-06/0.4574, allocations: 0 / 414.9 MB, free: 13.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.00021/0.4576, allocations: 49.56 kB / 414.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.68e-05/0.4577, allocations: 88.7 kB / 415 MB, free: 13.83 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.4579, allocations: 118.1 kB / 415.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.4579, allocations: 29.58 kB / 415.2 MB, free: 13.68 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.484e-05/0.458, allocations: 154.5 kB / 415.3 MB, free: 13.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.361e-05/0.458, allocations: 7.922 kB / 415.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-06/0.458, allocations: 0 / 415.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.4582, allocations: 313.7 kB / 415.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.866e-05/0.4582, allocations: 7.938 kB / 415.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/0.4583, allocations: 31.31 kB / 415.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.62e-05/0.4583, allocations: 4 kB / 415.7 MB, free: 13.16 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.705e-06/0.4583, allocations: 7.953 kB / 415.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000128/0.4585, allocations: 57.31 kB / 415.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.4585, allocations: 8 kB / 415.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.047e-06/0.4585, allocations: 0 / 415.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.4585, allocations: 0 / 415.7 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.865e-05/0.4586, allocations: 4 kB / 415.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.306e-06/0.4586, allocations: 3.938 kB / 415.7 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.4586, allocations: 7.984 kB / 415.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.603e-06/0.4587, allocations: 3.312 kB / 415.8 MB, free: 13.07 MB / 346.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: 4 (sample.u,sample.y,assignClock.y,assignClock.u) * 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 8.933e-05/0.4588, allocations: 108.9 kB / 415.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.973e-05/0.4589, allocations: 53.47 kB / 415.9 MB, free: 12.9 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.239e-05/0.4589, allocations: 11.89 kB / 415.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.025e-06/0.459, allocations: 4.188 kB / 415.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.494e-06/0.459, allocations: 0 / 415.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.459, allocations: 3.984 kB / 415.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002306/0.4592, allocations: 167.8 kB / 416.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.238e-06/0.4592, allocations: 0 / 416.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.623e-05/0.4593, allocations: 7.953 kB / 416.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.493e-06/0.4593, allocations: 0 / 416.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.442e-06/0.4593, allocations: 0 / 416.1 MB, free: 12.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.768e-06/0.4593, allocations: 4 kB / 416.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.4593, allocations: 3.938 kB / 416.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001806/0.4595, allocations: 172.9 kB / 416.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.547e-05/0.4596, allocations: 89 kB / 416.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.678e-05/0.4596, allocations: 0 / 416.4 MB, free: 12.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.762e-05/0.4598, allocations: 7.984 kB / 416.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.756e-05/0.4598, allocations: 7.812 kB / 416.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.935e-06/0.4598, allocations: 0 / 416.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.12e-05/0.4599, allocations: 98.95 kB / 416.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.4599, allocations: 0 / 416.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003107/0.4602, allocations: 6.812 kB / 416.5 MB, free: 12.26 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 (sample.u,assignClock.u,assignClock.y,sample.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.0001095/0.4604, allocations: 95.25 kB / 416.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.964e-05/0.4605, allocations: 18.88 kB / 416.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.335e-06/0.4605, allocations: 4.25 kB / 416.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.934e-05/0.4605, allocations: 7.188 kB / 416.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.4608, allocations: 23.08 kB / 416.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000299/0.4611, allocations: 130.2 kB / 416.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003612/0.4615, allocations: 0.6926 MB / 417.5 MB, free: 11.25 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.73e-05/0.4616, allocations: 11.44 kB / 417.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of SimCode: time 1.602e-06/0.4616, allocations: 0 / 417.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of Templates: time 0.002269/0.4638, allocations: 0.6679 MB / 418.1 MB, free: 10.57 MB / 346.7 MB