Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadModel(Modelica_Synchronous): time 2.459/2.459, allocations: 218.4 MB / 234.2 MB, free: 4.617 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.185e-05/4.218e-05, allocations: 4 kB / 287.6 MB, free: 15.08 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3606, allocations: 50.37 MB / 338 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked): time 0.002234/0.3629, allocations: 1.247 MB / 339.2 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001034/0.3639, allocations: 464.1 kB / 339.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.155e-05/0.3641, allocations: 7.938 kB / 339.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.817e-05/0.3641, allocations: 0 / 339.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.3642, allocations: 7.984 kB / 339.7 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.3645, allocations: 35.84 kB / 339.7 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.401e-05/0.3646, allocations: 19.97 kB / 339.7 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.56e-05/0.3647, allocations: 7.984 kB / 339.8 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.378e-05/0.3648, allocations: 15.92 kB / 339.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.309e-05/0.3649, allocations: 15.92 kB / 339.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.54e-05/0.3649, allocations: 4 kB / 339.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.405e-05/0.3649, allocations: 0 / 339.8 MB, free: 14.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.598e-05/0.365, allocations: 8 kB / 339.8 MB, free: 14.01 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.365, allocations: 7.938 kB / 339.8 MB, free: 14 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.283e-05/0.3651, allocations: 31.94 kB / 339.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.015e-06/0.3651, allocations: 0 / 339.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.275e-06/0.3651, allocations: 0 / 339.8 MB, free: 13.97 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.3651, allocations: 0 / 339.8 MB, free: 13.97 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004805/0.3656, allocations: 349.1 kB / 340.2 MB, free: 13.58 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3657, allocations: 16.03 kB / 340.2 MB, free: 13.57 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.3657, allocations: 3.906 kB / 340.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000233/0.366, allocations: 190.8 kB / 340.4 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.366, allocations: 4 kB / 340.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.366, allocations: 3.938 kB / 340.4 MB, free: 13.33 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/0.3664, allocations: 93.05 kB / 340.5 MB, free: 13.22 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.3664, allocations: 3.984 kB / 340.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.3664, allocations: 0 / 340.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3664, allocations: 0 / 340.5 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.3666, allocations: 27.92 kB / 340.5 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.367, allocations: 265.8 kB / 340.8 MB, free: 12.88 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.3671, allocations: 49.14 kB / 340.8 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.3671, allocations: 0 / 340.8 MB, free: 12.81 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.873e-05/0.3672, allocations: 30.56 kB / 340.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.3672, allocations: 4.062 kB / 340.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003432/0.3676, allocations: 73.52 kB / 340.9 MB, free: 12.69 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.89e-05/0.3676, allocations: 81.11 kB / 341 MB, free: 12.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.3678, allocations: 126.9 kB / 341.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.3678, allocations: 25.7 kB / 341.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.107e-05/0.3679, allocations: 162.8 kB / 341.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.647e-05/0.3679, allocations: 3.906 kB / 341.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-06/0.3679, allocations: 0 / 341.3 MB, free: 12.27 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.3681, allocations: 318.8 kB / 341.6 MB, free: 11.95 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.555e-05/0.3682, allocations: 7.984 kB / 341.6 MB, free: 11.94 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.3e-05/0.3682, allocations: 21.72 kB / 341.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.571e-05/0.3683, allocations: 19.98 kB / 341.7 MB, free: 11.89 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3684, allocations: 0 / 341.7 MB, free: 11.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000185/0.3685, allocations: 53.69 kB / 341.7 MB, free: 11.83 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.3686, allocations: 4 kB / 341.7 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.3686, allocations: 0 / 341.7 MB, free: 11.83 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3686, allocations: 4 kB / 341.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.3687, allocations: 12.05 kB / 341.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.517e-06/0.3688, allocations: 0 / 341.8 MB, free: 11.81 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.025e-05/0.3688, allocations: 7.938 kB / 341.8 MB, free: 11.8 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.3688, allocations: 0 / 341.8 MB, free: 11.8 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001036/0.369, allocations: 117.8 kB / 341.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.944e-05/0.369, allocations: 41.59 kB / 341.9 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.214e-05/0.3691, allocations: 19.77 kB / 341.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3691, allocations: 0 / 341.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3691, allocations: 4.031 kB / 341.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.3691, allocations: 0 / 341.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002202/0.3694, allocations: 177.6 kB / 342.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3694, allocations: 0 / 342.1 MB, free: 11.39 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.976e-05/0.3695, allocations: 7.984 kB / 342.1 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.3695, allocations: 0 / 342.1 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.3695, allocations: 4 kB / 342.1 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3695, allocations: 3.938 kB / 342.1 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.3695, allocations: 0 / 342.1 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000258/0.3698, allocations: 177.9 kB / 342.3 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.736e-05/0.3699, allocations: 89.09 kB / 342.4 MB, free: 11.07 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.3699, allocations: 3.984 kB / 342.4 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001052/0.3701, allocations: 8 kB / 342.4 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.3701, allocations: 4.031 kB / 342.4 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.972e-06/0.3701, allocations: 0 / 342.4 MB, free: 11.05 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000143/0.3703, allocations: 113.3 kB / 342.5 MB, free: 10.94 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.3703, allocations: 0 / 342.5 MB, free: 10.94 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002741/0.3706, allocations: 4 kB / 342.5 MB, free: 10.94 MB / 282.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 (2): * Single equations (assignments): 2 * 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.0001311/0.3707, allocations: 95.25 kB / 342.6 MB, free: 10.83 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002098/0.3709, allocations: 31.98 kB / 342.6 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3709, allocations: 0 / 342.6 MB, free: 10.8 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.075e-05/0.371, allocations: 8 kB / 342.6 MB, free: 10.79 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003116/0.3714, allocations: 23.06 kB / 342.7 MB, free: 10.77 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004599/0.3718, allocations: 215.2 kB / 342.9 MB, free: 10.53 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.3722, allocations: 0.6887 MB / 343.6 MB, free: 9.812 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.3722, allocations: 11.42 kB / 343.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of SimCode: time 6.91e-07/0.3722, allocations: 0 / 343.6 MB, free: 9.801 MB / 282.7 MB Notification: Performance of Templates: time 0.0026/0.3748, allocations: 0.6758 MB / 344.3 MB, free: 9.125 MB / 282.7 MB