Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.332/2.332, allocations: 251.5 MB / 266 MB, free: 0.6797 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09695/0.09695, allocations: 12.61 MB / 336.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.394e-05/4.399e-05, allocations: 7.984 kB / 399.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3702, allocations: 59.42 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2): time 0.001776/0.372, allocations: 1.252 MB / 460.4 MB, free: 27.36 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003552/0.3724, allocations: 135.6 kB / 460.6 MB, free: 27.22 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.3725, allocations: 4 kB / 460.6 MB, free: 27.22 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 2.611e-05/0.3726, allocations: 3.938 kB / 460.6 MB, free: 27.21 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.3727, allocations: 7.984 kB / 460.6 MB, free: 27.21 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002409/0.3729, allocations: 35.84 kB / 460.6 MB, free: 27.17 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.891e-05/0.373, allocations: 19.97 kB / 460.6 MB, free: 27.15 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.638e-05/0.3731, allocations: 8 kB / 460.7 MB, free: 27.14 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.638e-05/0.3731, allocations: 11.92 kB / 460.7 MB, free: 27.13 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.055e-05/0.3732, allocations: 8 kB / 460.7 MB, free: 27.12 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.331e-05/0.3732, allocations: 4 kB / 460.7 MB, free: 27.12 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.3732, allocations: 0 / 460.7 MB, free: 27.12 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.348e-05/0.3733, allocations: 15.91 kB / 460.7 MB, free: 27.11 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.576e-05/0.3733, allocations: 4 kB / 460.7 MB, free: 27.1 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 6.618e-05/0.3734, allocations: 27.95 kB / 460.7 MB, free: 27.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.905e-06/0.3734, allocations: 0 / 460.7 MB, free: 27.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3734, allocations: 0 / 460.7 MB, free: 27.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.3734, allocations: 0 / 460.7 MB, free: 27.07 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.0003754/0.3738, allocations: 346 kB / 461.1 MB, free: 26.69 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.3738, allocations: 16.03 kB / 461.1 MB, free: 26.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.3739, allocations: 7.906 kB / 461.1 MB, free: 26.67 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.3741, allocations: 190.8 kB / 461.3 MB, free: 26.44 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.3741, allocations: 0 / 461.3 MB, free: 26.44 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.3741, allocations: 4 kB / 461.3 MB, free: 26.44 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.3744, allocations: 117 kB / 461.4 MB, free: 26.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3744, allocations: 0 / 461.4 MB, free: 26.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.3745, allocations: 3.938 kB / 461.4 MB, free: 26.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3745, allocations: 4 kB / 461.4 MB, free: 26.3 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.3746, allocations: 23.92 kB / 461.4 MB, free: 26.27 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002707/0.3749, allocations: 265.8 kB / 461.7 MB, free: 25.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.3751, allocations: 146.2 kB / 461.8 MB, free: 25.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.698e-05/0.3752, allocations: 0 / 461.8 MB, free: 25.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.3752, allocations: 38.64 kB / 461.9 MB, free: 25.73 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.392e-06/0.3752, allocations: 0 / 461.9 MB, free: 25.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003026/0.3755, allocations: 81.58 kB / 461.9 MB, free: 25.65 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.3755, allocations: 81.11 kB / 462 MB, free: 25.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.3757, allocations: 127.2 kB / 462.1 MB, free: 25.42 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.3757, allocations: 33.7 kB / 462.2 MB, free: 25.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.288e-05/0.3757, allocations: 84.27 kB / 462.3 MB, free: 25.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.539e-05/0.3758, allocations: 7.906 kB / 462.3 MB, free: 25.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.276e-06/0.3758, allocations: 0 / 462.3 MB, free: 25.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.644e-05/0.3758, allocations: 318.8 kB / 462.6 MB, free: 24.96 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.02e-05/0.3759, allocations: 8 kB / 462.6 MB, free: 24.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.57e-05/0.376, allocations: 43.36 kB / 462.6 MB, free: 24.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.547e-05/0.3761, allocations: 12 kB / 462.6 MB, free: 24.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.3761, allocations: 0 / 462.6 MB, free: 24.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000176/0.3763, allocations: 69.67 kB / 462.7 MB, free: 24.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3763, allocations: 9.094 kB / 462.7 MB, free: 24.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3763, allocations: 0 / 462.7 MB, free: 24.81 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3763, allocations: 288 / 462.7 MB, free: 24.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.868e-05/0.3764, allocations: 11.94 kB / 462.7 MB, free: 24.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3764, allocations: 7.984 kB / 462.7 MB, free: 24.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.831e-05/0.3765, allocations: 4 kB / 462.7 MB, free: 24.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.3765, allocations: 3.953 kB / 462.7 MB, free: 24.78 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 6.878e-05/0.3766, allocations: 117.9 kB / 462.9 MB, free: 24.66 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-05/0.3767, allocations: 53.58 kB / 462.9 MB, free: 24.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.447e-05/0.3767, allocations: 12.25 kB / 462.9 MB, free: 24.58 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.584e-06/0.3767, allocations: 0 / 462.9 MB, free: 24.58 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.3767, allocations: 0 / 462.9 MB, free: 24.58 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.3768, allocations: 3.984 kB / 462.9 MB, free: 24.58 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001503/0.3769, allocations: 169.6 kB / 463.1 MB, free: 24.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.825e-06/0.3769, allocations: 0 / 463.1 MB, free: 24.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.407e-05/0.377, allocations: 19.86 kB / 463.1 MB, free: 24.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.377, allocations: 0 / 463.1 MB, free: 24.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.874e-06/0.377, allocations: 0 / 463.1 MB, free: 24.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.377, allocations: 8 kB / 463.1 MB, free: 24.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.3771, allocations: 0 / 463.1 MB, free: 24.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.3773, allocations: 182 kB / 463.3 MB, free: 24.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.032e-05/0.3773, allocations: 89 kB / 463.4 MB, free: 24.03 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3774, allocations: 12 kB / 463.4 MB, free: 24.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.814e-05/0.3775, allocations: 0 / 463.4 MB, free: 24.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.3775, allocations: 11.98 kB / 463.4 MB, free: 24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.3775, allocations: 3.938 kB / 463.4 MB, free: 24 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.426e-05/0.3776, allocations: 101.1 kB / 463.5 MB, free: 23.9 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3776, allocations: 3.938 kB / 463.5 MB, free: 23.9 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002699/0.3779, allocations: 8 kB / 463.5 MB, free: 23.89 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 8.506e-05/0.378, allocations: 107.1 kB / 463.6 MB, free: 23.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001686/0.3781, allocations: 31.97 kB / 463.7 MB, free: 23.74 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3782, allocations: 3.938 kB / 463.7 MB, free: 23.74 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.445e-05/0.3782, allocations: 8 kB / 463.7 MB, free: 23.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.3785, allocations: 21.89 kB / 463.7 MB, free: 23.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.3788, allocations: 162.1 kB / 463.8 MB, free: 23.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001611/0.379, allocations: 0.6926 MB / 464.5 MB, free: 22.8 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.924e-05/0.3791, allocations: 4 kB / 464.5 MB, free: 22.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.385e-05/0.3791, allocations: 7.438 kB / 464.6 MB, free: 22.79 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3791, allocations: 4 kB / 464.6 MB, free: 22.79 MB / 346.7 MB Notification: Performance of Templates: time 0.0029/0.382, allocations: 453.3 kB / 465 MB, free: 22.35 MB / 346.7 MB