Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadModel(Modelica_Synchronous): time 2.03/2.03, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.774e-05/3.783e-05, allocations: 8 kB / 284.3 MB, free: 8.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08684/0.0869, allocations: 50.35 MB / 334.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3632/0.4502, allocations: 78.69 MB / 413.4 MB, free: 15.56 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002492/0.4505, allocations: 78.39 kB / 413.4 MB, free: 15.52 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005718/0.4562, allocations: 1.412 MB / 414.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.788e-06/0.4563, allocations: 0 / 414.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.4563, allocations: 3.938 kB / 414.8 MB, free: 14.28 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.0004539/0.4568, allocations: 364.1 kB / 415.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.4568, allocations: 8.031 kB / 415.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.4569, allocations: 7.906 kB / 415.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002355/0.4571, allocations: 190.2 kB / 415.4 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.4572, allocations: 7.953 kB / 415.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.53e-05/0.4572, allocations: 4 kB / 415.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.4575, allocations: 110.2 kB / 415.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.112e-06/0.4575, allocations: 0 / 415.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.4575, allocations: 4 kB / 415.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.607e-06/0.4575, allocations: 0 / 415.5 MB, free: 13.53 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5e-05/0.4576, allocations: 15.38 kB / 415.5 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.4581, allocations: 270.5 kB / 415.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002165/0.4583, allocations: 132.7 kB / 415.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.323e-05/0.4584, allocations: 27.53 kB / 416 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.4584, allocations: 96 / 416 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.4585, allocations: 38.55 kB / 416 MB, free: 12.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.146e-06/0.4585, allocations: 0 / 416 MB, free: 12.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002188/0.4587, allocations: 63.58 kB / 416.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.534e-05/0.4588, allocations: 81.11 kB / 416.1 MB, free: 12.82 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.4589, allocations: 121.6 kB / 416.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.126e-05/0.459, allocations: 25.7 kB / 416.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.26e-05/0.4591, allocations: 157.8 kB / 416.4 MB, free: 12.52 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.371e-05/0.4591, allocations: 4 kB / 416.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.056e-06/0.4591, allocations: 3.125 kB / 416.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4593, allocations: 314.8 kB / 416.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.4593, allocations: 4 kB / 416.8 MB, free: 12.19 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.211e-05/0.4594, allocations: 26.5 kB / 416.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.931e-05/0.4594, allocations: 19.08 kB / 416.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.516e-06/0.4594, allocations: 0 / 416.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001345/0.4596, allocations: 61.41 kB / 416.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/0.4596, allocations: 4 kB / 416.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.003e-06/0.4596, allocations: 0 / 416.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.4597, allocations: 7.938 kB / 416.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.4598, allocations: 11.98 kB / 416.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.537e-06/0.4598, allocations: 4.125 kB / 416.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.175e-05/0.4599, allocations: 4 kB / 416.9 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.4599, allocations: 6.812 kB / 416.9 MB, free: 12.04 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: 0 () * 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.13e-05/0.46, allocations: 112.7 kB / 417 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.4601, allocations: 52.41 kB / 417.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.4602, allocations: 11.03 kB / 417.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.56e-06/0.4602, allocations: 3.938 kB / 417.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.507e-06/0.4602, allocations: 0 / 417.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.575e-06/0.4602, allocations: 3.984 kB / 417.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002432/0.4605, allocations: 175.4 kB / 417.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.235e-06/0.4605, allocations: 3.953 kB / 417.3 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.135e-05/0.4606, allocations: 8 kB / 417.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4606, allocations: 0 / 417.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8e-06/0.4606, allocations: 0 / 417.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.499e-06/0.4606, allocations: 11.98 kB / 417.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4606, allocations: 0 / 417.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.4609, allocations: 175.2 kB / 417.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.8e-05/0.461, allocations: 92.19 kB / 417.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.461, allocations: 0 / 417.5 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000103/0.4611, allocations: 4 kB / 417.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.974e-05/0.4611, allocations: 3.938 kB / 417.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.4612, allocations: 3.984 kB / 417.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001014/0.4613, allocations: 111.3 kB / 417.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.66e-07/0.4613, allocations: 4 kB / 417.7 MB, free: 11.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003099/0.4616, allocations: 4 kB / 417.7 MB, free: 11.21 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: 0 () * 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.0001176/0.4617, allocations: 95.25 kB / 417.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.4619, allocations: 18.38 kB / 417.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.711e-06/0.4619, allocations: 4 kB / 417.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.416e-05/0.4619, allocations: 3.938 kB / 417.8 MB, free: 11.09 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.4622, allocations: 29.84 kB / 417.8 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003328/0.4626, allocations: 139 kB / 417.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.463, allocations: 0.6956 MB / 418.6 MB, free: 10.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.395e-05/0.463, allocations: 7.438 kB / 418.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.406e-06/0.463, allocations: 0 / 418.7 MB, free: 10.18 MB / 346.7 MB Notification: Performance of Templates: time 0.002422/0.4655, allocations: 0.7279 MB / 419.4 MB, free: 9.453 MB / 346.7 MB