Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadModel(Modelica_Synchronous): time 1.952/1.952, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.996e-05/4.008e-05, allocations: 4 kB / 284.3 MB, free: 8.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08651/0.08657, allocations: 50.37 MB / 334.7 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3507/0.4373, allocations: 77.57 MB / 412.2 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.4376, allocations: 70.77 kB / 412.3 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002086/0.4397, allocations: 0.6967 MB / 413 MB, free: 15.98 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.223e-06/0.4398, allocations: 0 / 413 MB, free: 15.98 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1e-05/0.4398, allocations: 0 / 413 MB, free: 15.98 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003482/0.4401, allocations: 335.7 kB / 413.3 MB, free: 15.61 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4402, allocations: 8.031 kB / 413.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.4402, allocations: 4 kB / 413.4 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.4405, allocations: 186.1 kB / 413.5 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.4405, allocations: 3.953 kB / 413.5 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.707e-06/0.4405, allocations: 4 kB / 413.5 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.4408, allocations: 88.91 kB / 413.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.218e-06/0.4408, allocations: 0 / 413.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.447e-06/0.4408, allocations: 0.5625 kB / 413.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.332e-06/0.4408, allocations: 0 / 413.6 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.85e-05/0.4409, allocations: 11.31 kB / 413.6 MB, free: 15.28 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.441, allocations: 157.1 kB / 413.8 MB, free: 15.08 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/0.4412, allocations: 40.36 kB / 413.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.4412, allocations: 24.31 kB / 413.9 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.4413, allocations: 4 kB / 413.9 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.4413, allocations: 42.62 kB / 413.9 MB, free: 14.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.106e-06/0.4413, allocations: 0 / 413.9 MB, free: 14.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001475/0.4415, allocations: 42.89 kB / 413.9 MB, free: 14.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.4416, allocations: 55.41 kB / 414 MB, free: 14.85 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.827e-05/0.4417, allocations: 100.2 kB / 414.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.4417, allocations: 29.08 kB / 414.1 MB, free: 14.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.4418, allocations: 154.6 kB / 414.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.52e-06/0.4418, allocations: 0 / 414.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-06/0.4418, allocations: 0 / 414.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.442, allocations: 314.2 kB / 414.6 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.442, allocations: 4 kB / 414.6 MB, free: 14.25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.946e-05/0.442, allocations: 34.55 kB / 414.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.501e-05/0.4421, allocations: 8 kB / 414.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.36e-06/0.4421, allocations: 0 / 414.6 MB, free: 14.2 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001082/0.4422, allocations: 55.97 kB / 414.7 MB, free: 14.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.4422, allocations: 7.953 kB / 414.7 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.865e-06/0.4423, allocations: 0 / 414.7 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.4423, allocations: 4.141 kB / 414.7 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.839e-05/0.4423, allocations: 7.938 kB / 414.7 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.215e-06/0.4424, allocations: 8.125 kB / 414.7 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.748e-05/0.4424, allocations: 0 / 414.7 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.596e-06/0.4424, allocations: 7.984 kB / 414.7 MB, free: 14.11 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: 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 9.049e-05/0.4425, allocations: 112.2 kB / 414.8 MB, free: 13.99 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.647e-05/0.4426, allocations: 45.06 kB / 414.9 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.799e-05/0.4427, allocations: 15.73 kB / 414.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.024e-06/0.4427, allocations: 0 / 414.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.729e-06/0.4427, allocations: 0 / 414.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.509e-06/0.4427, allocations: 0 / 414.9 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.4428, allocations: 160.8 kB / 415 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-06/0.4429, allocations: 4 kB / 415 MB, free: 13.72 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.622e-05/0.443, allocations: 8 kB / 415.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.149e-06/0.443, allocations: 0 / 415.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.776e-06/0.443, allocations: 0 / 415.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.135e-06/0.443, allocations: 3.953 kB / 415.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.157e-06/0.443, allocations: 0 / 415.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.4431, allocations: 80.22 kB / 415.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.4432, allocations: 89.09 kB / 415.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.4432, allocations: 0 / 415.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.074e-05/0.4433, allocations: 2.75 kB / 415.2 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.373e-06/0.4433, allocations: 7.953 kB / 415.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.25e-06/0.4433, allocations: 256 / 415.2 MB, free: 13.51 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.779e-05/0.4434, allocations: 86.59 kB / 415.3 MB, free: 13.43 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.83e-07/0.4434, allocations: 3.938 kB / 415.3 MB, free: 13.42 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002645/0.4437, allocations: 4 kB / 415.3 MB, free: 13.42 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: 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.0001216/0.4438, allocations: 99.95 kB / 415.4 MB, free: 13.31 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.385e-05/0.4439, allocations: 27.11 kB / 415.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.542e-06/0.4439, allocations: 0 / 415.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.406e-06/0.4439, allocations: 0 / 415.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001727/0.4441, allocations: 11.06 kB / 415.5 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002162/0.4444, allocations: 98.09 kB / 415.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.4447, allocations: 0.6809 MB / 416.2 MB, free: 12.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.4447, allocations: 7.688 kB / 416.2 MB, free: 12.45 MB / 346.7 MB Notification: Performance of SimCode: time 1.6e-06/0.4448, allocations: 4 kB / 416.3 MB, free: 12.45 MB / 346.7 MB Notification: Performance of Templates: time 0.002018/0.4468, allocations: 0.5313 MB / 416.8 MB, free: 11.92 MB / 346.7 MB