Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.365/2.365, allocations: 251.5 MB / 266 MB, free: 0.6875 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09948/0.09948, allocations: 12.6 MB / 336.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.235e-05/4.232e-05, allocations: 12 kB / 399.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3903, allocations: 59.42 MB / 459.2 MB, free: 28.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleClocked): time 0.001728/0.3921, allocations: 1.256 MB / 460.4 MB, free: 27.37 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008138/0.3929, allocations: 460.1 kB / 460.9 MB, free: 26.91 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.105e-05/0.393, allocations: 7.938 kB / 460.9 MB, free: 26.9 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.3931, allocations: 4 kB / 460.9 MB, free: 26.9 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.3932, allocations: 7.969 kB / 460.9 MB, free: 26.89 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.3934, allocations: 39.84 kB / 461 MB, free: 26.85 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 7.51e-05/0.3935, allocations: 23.91 kB / 461 MB, free: 26.83 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.635e-05/0.3936, allocations: 8 kB / 461 MB, free: 26.82 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.999e-05/0.3937, allocations: 7.984 kB / 461 MB, free: 26.81 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.658e-05/0.3937, allocations: 15.92 kB / 461 MB, free: 26.8 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.408e-05/0.3938, allocations: 4 kB / 461 MB, free: 26.79 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.3938, allocations: 0 / 461 MB, free: 26.79 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.975e-05/0.3938, allocations: 11.94 kB / 461 MB, free: 26.78 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.468e-05/0.3939, allocations: 4 kB / 461 MB, free: 26.78 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 6.712e-05/0.3939, allocations: 31.94 kB / 461.1 MB, free: 26.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.394, allocations: 0 / 461.1 MB, free: 26.75 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.394, allocations: 0 / 461.1 MB, free: 26.75 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.394, allocations: 0 / 461.1 MB, free: 26.75 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003882/0.3944, allocations: 353.9 kB / 461.4 MB, free: 26.36 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3944, allocations: 8.031 kB / 461.4 MB, free: 26.35 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.48e-05/0.3945, allocations: 11.86 kB / 461.4 MB, free: 26.34 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/0.3947, allocations: 188 kB / 461.6 MB, free: 26.11 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.3947, allocations: 4 kB / 461.6 MB, free: 26.11 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.3947, allocations: 0 / 461.6 MB, free: 26.11 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.395, allocations: 93.05 kB / 461.7 MB, free: 26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.395, allocations: 0 / 461.7 MB, free: 26 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.398e-06/0.395, allocations: 0 / 461.7 MB, free: 26 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.395, allocations: 7.938 kB / 461.7 MB, free: 25.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001216/0.3952, allocations: 27.92 kB / 461.7 MB, free: 25.96 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000271/0.3954, allocations: 257.8 kB / 462 MB, free: 25.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.406e-05/0.3955, allocations: 49.16 kB / 462 MB, free: 25.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.952e-05/0.3956, allocations: 7.969 kB / 462 MB, free: 25.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.534e-05/0.3956, allocations: 34.55 kB / 462.1 MB, free: 25.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.563e-06/0.3956, allocations: 0 / 462.1 MB, free: 25.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003082/0.3959, allocations: 81.67 kB / 462.2 MB, free: 25.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/0.396, allocations: 81.06 kB / 462.2 MB, free: 25.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001142/0.3961, allocations: 127 kB / 462.4 MB, free: 25.23 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.06e-05/0.3961, allocations: 25.7 kB / 462.4 MB, free: 25.2 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.3962, allocations: 88.08 kB / 462.5 MB, free: 25.11 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.385e-05/0.3962, allocations: 3.906 kB / 462.5 MB, free: 25.11 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/0.3962, allocations: 4.156 kB / 462.5 MB, free: 25.1 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.537e-05/0.3963, allocations: 318.8 kB / 462.8 MB, free: 24.78 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.227e-05/0.3964, allocations: 7.984 kB / 462.8 MB, free: 24.77 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.483e-05/0.3964, allocations: 29.64 kB / 462.8 MB, free: 24.74 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.493e-05/0.3965, allocations: 8.062 kB / 462.8 MB, free: 24.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3965, allocations: 4 kB / 462.8 MB, free: 24.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001708/0.3967, allocations: 53.69 kB / 462.9 MB, free: 24.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3967, allocations: 8 kB / 462.9 MB, free: 24.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.3968, allocations: 0 / 462.9 MB, free: 24.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3968, allocations: 7.922 kB / 462.9 MB, free: 24.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.334e-05/0.3969, allocations: 7.938 kB / 462.9 MB, free: 24.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3969, allocations: 4 kB / 462.9 MB, free: 24.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.719e-05/0.397, allocations: 8.016 kB / 462.9 MB, free: 24.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.397, allocations: 7.984 kB / 462.9 MB, free: 24.62 MB / 346.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 7.07e-05/0.3971, allocations: 117.8 kB / 463.1 MB, free: 24.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.69e-05/0.3971, allocations: 33.61 kB / 463.1 MB, free: 24.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.067e-05/0.3972, allocations: 11.88 kB / 463.1 MB, free: 24.45 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.3972, allocations: 3.984 kB / 463.1 MB, free: 24.45 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3972, allocations: 8 kB / 463.1 MB, free: 24.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3972, allocations: 0 / 463.1 MB, free: 24.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001559/0.3974, allocations: 173.6 kB / 463.3 MB, free: 24.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3974, allocations: 0 / 463.3 MB, free: 24.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.897e-05/0.3975, allocations: 8 kB / 463.3 MB, free: 24.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.3975, allocations: 0 / 463.3 MB, free: 24.21 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.116e-06/0.3975, allocations: 0 / 463.3 MB, free: 24.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.3975, allocations: 3.938 kB / 463.3 MB, free: 24.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3975, allocations: 0 / 463.3 MB, free: 24.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001924/0.3977, allocations: 182 kB / 463.5 MB, free: 24 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.456e-05/0.3978, allocations: 89 kB / 463.6 MB, free: 23.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.883e-05/0.3978, allocations: 3.938 kB / 463.6 MB, free: 23.89 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.3979, allocations: 8 kB / 463.6 MB, free: 23.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.398, allocations: 0 / 463.6 MB, free: 23.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.398, allocations: 7.984 kB / 463.6 MB, free: 23.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.133e-05/0.3981, allocations: 113.1 kB / 463.7 MB, free: 23.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3981, allocations: 0 / 463.7 MB, free: 23.77 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002666/0.3984, allocations: 4 kB / 463.7 MB, free: 23.77 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 (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 8.693e-05/0.3985, allocations: 95.25 kB / 463.8 MB, free: 23.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.3987, allocations: 27.92 kB / 463.8 MB, free: 23.63 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.3987, allocations: 4.125 kB / 463.8 MB, free: 23.63 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.385e-05/0.3987, allocations: 11.98 kB / 463.8 MB, free: 23.62 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.399, allocations: 8.031 kB / 463.8 MB, free: 23.61 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.3994, allocations: 181.7 kB / 464 MB, free: 23.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001406/0.3995, allocations: 0.6965 MB / 464.7 MB, free: 22.68 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.605e-05/0.3996, allocations: 0 / 464.7 MB, free: 22.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.786e-05/0.3996, allocations: 11.44 kB / 464.7 MB, free: 22.67 MB / 346.7 MB Notification: Performance of SimCode: time 6.71e-07/0.3996, allocations: 0 / 464.7 MB, free: 22.67 MB / 346.7 MB Notification: Performance of Templates: time 0.00304/0.4027, allocations: 422.3 kB / 465.1 MB, free: 22.27 MB / 346.7 MB