Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|feedback.y|hold.y|sample1.y|sample2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadModel(Modelica_Synchronous): time 2.392/2.392, allocations: 218.4 MB / 234.2 MB, free: 4.629 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.848e-05/3.862e-05, allocations: 4 kB / 287.6 MB, free: 15.09 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3544, allocations: 50.36 MB / 338 MB, free: 15.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3): time 0.00264/0.3571, allocations: 1.378 MB / 339.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005215/0.3577, allocations: 155.5 kB / 339.5 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000101/0.3578, allocations: 0 / 339.5 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.077e-05/0.3579, allocations: 11.92 kB / 339.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001267/0.358, allocations: 7.984 kB / 339.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.3583, allocations: 43.83 kB / 339.6 MB, free: 14.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.752e-05/0.3585, allocations: 31.91 kB / 339.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.896e-05/0.3586, allocations: 15.98 kB / 339.6 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.424e-05/0.3586, allocations: 8 kB / 339.6 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.204e-05/0.3587, allocations: 19.86 kB / 339.6 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.874e-05/0.3587, allocations: 4 kB / 339.6 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.569e-05/0.3587, allocations: 0 / 339.6 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.806e-05/0.3588, allocations: 15.92 kB / 339.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.3588, allocations: 4 kB / 339.7 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001043/0.3589, allocations: 43.91 kB / 339.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.3589, allocations: 0 / 339.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.359, allocations: 0 / 339.7 MB, free: 14.12 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.027e-06/0.359, allocations: 0 / 339.7 MB, free: 14.12 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005501/0.3595, allocations: 372.2 kB / 340.1 MB, free: 13.72 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3596, allocations: 8.031 kB / 340.1 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.395e-05/0.3596, allocations: 7.906 kB / 340.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.3599, allocations: 196.6 kB / 340.3 MB, free: 13.47 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.709e-05/0.3599, allocations: 7.953 kB / 340.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.786e-05/0.36, allocations: 8 kB / 340.3 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004862/0.3605, allocations: 181.7 kB / 340.5 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3605, allocations: 3.984 kB / 340.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3605, allocations: 3.938 kB / 340.5 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.3605, allocations: 8 kB / 340.5 MB, free: 13.24 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.3607, allocations: 39.92 kB / 340.5 MB, free: 13.2 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.3613, allocations: 373.8 kB / 340.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003527/0.3617, allocations: 119.8 kB / 341 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.072e-05/0.3617, allocations: 0 / 341 MB, free: 12.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.3618, allocations: 34.69 kB / 341 MB, free: 12.59 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.603e-06/0.3618, allocations: 0 / 341 MB, free: 12.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=10): time 0.0004994/0.3623, allocations: 125.8 kB / 341.2 MB, free: 12.46 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.975e-05/0.3624, allocations: 118.7 kB / 341.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.3626, allocations: 127.3 kB / 341.4 MB, free: 12.19 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.994e-05/0.3626, allocations: 25.7 kB / 341.4 MB, free: 12.16 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.505e-05/0.3627, allocations: 158.6 kB / 341.6 MB, free: 12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.3628, allocations: 7.891 kB / 341.6 MB, free: 12 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.605e-06/0.3628, allocations: 4 kB / 341.6 MB, free: 11.99 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.363, allocations: 318.8 kB / 341.9 MB, free: 11.67 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.482e-05/0.363, allocations: 20.05 kB / 341.9 MB, free: 11.65 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.3632, allocations: 67.72 kB / 342 MB, free: 11.56 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.3633, allocations: 31.92 kB / 342 MB, free: 11.53 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.3633, allocations: 4 kB / 342 MB, free: 11.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003056/0.3636, allocations: 105.5 kB / 342.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.3637, allocations: 4 kB / 342.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.3637, allocations: 4 kB / 342.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3637, allocations: 0 / 342.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.3639, allocations: 23.98 kB / 342.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.3639, allocations: 3.938 kB / 342.2 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.465e-05/0.364, allocations: 20.12 kB / 342.2 MB, free: 11.36 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.364, allocations: 4 kB / 342.2 MB, free: 11.36 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001329/0.3642, allocations: 125.8 kB / 342.3 MB, free: 11.22 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/0.3644, allocations: 77.53 kB / 342.4 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.45e-05/0.3644, allocations: 16.66 kB / 342.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3645, allocations: 0 / 342.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.3645, allocations: 0 / 342.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.3645, allocations: 4 kB / 342.4 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003326/0.3648, allocations: 181.6 kB / 342.6 MB, free: 10.89 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3649, allocations: 4.188 kB / 342.6 MB, free: 10.88 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.365, allocations: 19.98 kB / 342.6 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/0.365, allocations: 7.938 kB / 342.6 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.365, allocations: 4 kB / 342.6 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.3651, allocations: 0 / 342.6 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/0.3651, allocations: 4 kB / 342.6 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005897/0.3657, allocations: 343.6 kB / 343 MB, free: 10.48 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.3658, allocations: 104.9 kB / 343.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.261e-05/0.3659, allocations: 0 / 343.1 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001485/0.366, allocations: 7.984 kB / 343.1 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-05/0.3661, allocations: 4 kB / 343.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.3661, allocations: 8 kB / 343.1 MB, free: 10.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001044/0.3662, allocations: 99.27 kB / 343.2 MB, free: 10.24 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3662, allocations: 0 / 343.2 MB, free: 10.24 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003584/0.3666, allocations: 12 kB / 343.2 MB, free: 10.23 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0001476/0.3667, allocations: 107.2 kB / 343.3 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002757/0.367, allocations: 63.91 kB / 343.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.367, allocations: 0 / 343.4 MB, free: 10.05 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.259e-05/0.3671, allocations: 11.94 kB / 343.4 MB, free: 10.04 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004366/0.3676, allocations: 44.52 kB / 343.4 MB, free: 9.996 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005821/0.3682, allocations: 263.2 kB / 343.7 MB, free: 9.699 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003722/0.3686, allocations: 0.7043 MB / 344.4 MB, free: 8.969 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.097e-05/0.3686, allocations: 11.44 kB / 344.4 MB, free: 8.961 MB / 282.7 MB Notification: Performance of SimCode: time 1.032e-06/0.3686, allocations: 0 / 344.4 MB, free: 8.961 MB / 282.7 MB Notification: Performance of Templates: time 0.003223/0.3719, allocations: 0.9062 MB / 345.3 MB, free: 8.055 MB / 282.7 MB