Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.284/2.284, allocations: 251.5 MB / 266 MB, free: 0.6758 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09901/0.09901, allocations: 12.6 MB / 336.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.624e-05/4.64e-05, allocations: 4 kB / 399.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4095/0.4096, allocations: 59.43 MB / 459.2 MB, free: 28.64 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1): time 0.00169/0.4113, allocations: 1.22 MB / 460.4 MB, free: 27.41 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003517/0.4117, allocations: 135.6 kB / 460.5 MB, free: 27.28 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.838e-05/0.4118, allocations: 3.938 kB / 460.5 MB, free: 27.27 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 3.083e-05/0.4118, allocations: 3.938 kB / 460.5 MB, free: 27.27 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.678e-05/0.4119, allocations: 3.984 kB / 460.6 MB, free: 27.27 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.4122, allocations: 39.89 kB / 460.6 MB, free: 27.23 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.808e-05/0.4123, allocations: 23.91 kB / 460.6 MB, free: 27.2 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.531e-05/0.4124, allocations: 12 kB / 460.6 MB, free: 27.19 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.645e-05/0.4124, allocations: 7.984 kB / 460.6 MB, free: 27.18 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.308e-05/0.4125, allocations: 11.94 kB / 460.6 MB, free: 27.17 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.282e-05/0.4125, allocations: 0 / 460.6 MB, free: 27.17 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.4125, allocations: 4 kB / 460.6 MB, free: 27.17 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.176e-05/0.4125, allocations: 11.92 kB / 460.7 MB, free: 27.16 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.377e-05/0.4126, allocations: 0 / 460.7 MB, free: 27.16 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 6.898e-05/0.4126, allocations: 31.94 kB / 460.7 MB, free: 27.12 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.4127, allocations: 0 / 460.7 MB, free: 27.12 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.4127, allocations: 0 / 460.7 MB, free: 27.12 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.4127, allocations: 8 kB / 460.7 MB, free: 27.12 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.0003632/0.4131, allocations: 346 kB / 461 MB, free: 26.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.4131, allocations: 8.031 kB / 461 MB, free: 26.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/0.4132, allocations: 7.906 kB / 461.1 MB, free: 26.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/0.4133, allocations: 190.8 kB / 461.2 MB, free: 26.49 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.4133, allocations: 0 / 461.2 MB, free: 26.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.4134, allocations: 7.938 kB / 461.2 MB, free: 26.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002878/0.4137, allocations: 117 kB / 461.4 MB, free: 26.35 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.4137, allocations: 4 kB / 461.4 MB, free: 26.35 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.4137, allocations: 0 / 461.4 MB, free: 26.35 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.4137, allocations: 0 / 461.4 MB, free: 26.35 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.4139, allocations: 31.92 kB / 461.4 MB, free: 26.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002601/0.4141, allocations: 257.8 kB / 461.6 MB, free: 26.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002071/0.4143, allocations: 142.2 kB / 461.8 MB, free: 25.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.4144, allocations: 4 kB / 461.8 MB, free: 25.83 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.64e-05/0.4144, allocations: 34.64 kB / 461.8 MB, free: 25.79 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.4144, allocations: 4.062 kB / 461.8 MB, free: 25.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002995/0.4147, allocations: 81.52 kB / 461.9 MB, free: 25.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.125e-05/0.4148, allocations: 81.23 kB / 462 MB, free: 25.6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.4149, allocations: 135.1 kB / 462.1 MB, free: 25.46 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.177e-06/0.4149, allocations: 25.7 kB / 462.1 MB, free: 25.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.593e-05/0.415, allocations: 88.08 kB / 462.2 MB, free: 25.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.415, allocations: 3.906 kB / 462.2 MB, free: 25.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-06/0.415, allocations: 4 kB / 462.2 MB, free: 25.33 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.573e-05/0.4151, allocations: 314.8 kB / 462.5 MB, free: 25.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.058e-05/0.4152, allocations: 16 kB / 462.6 MB, free: 25 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.367e-05/0.4152, allocations: 35.36 kB / 462.6 MB, free: 24.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.384e-05/0.4153, allocations: 12 kB / 462.6 MB, free: 24.94 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.4153, allocations: 4 kB / 462.6 MB, free: 24.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001754/0.4155, allocations: 69.61 kB / 462.7 MB, free: 24.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.4155, allocations: 5.094 kB / 462.7 MB, free: 24.86 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4156, allocations: 0 / 462.7 MB, free: 24.86 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4156, allocations: 4 kB / 462.7 MB, free: 24.86 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.274e-05/0.4157, allocations: 8 kB / 462.7 MB, free: 24.85 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.4157, allocations: 7.922 kB / 462.7 MB, free: 24.84 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.181e-05/0.4158, allocations: 8.125 kB / 462.7 MB, free: 24.83 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.105e-06/0.4158, allocations: 3.953 kB / 462.7 MB, free: 24.83 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: 4 (step.y,sample.y,assignClock.y,assignClock.u) * 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 7.222e-05/0.4159, allocations: 117.8 kB / 462.8 MB, free: 24.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.5e-05/0.4159, allocations: 53.59 kB / 462.9 MB, free: 24.64 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.166e-05/0.416, allocations: 4.25 kB / 462.9 MB, free: 24.64 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.416, allocations: 4.266 kB / 462.9 MB, free: 24.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.416, allocations: 4 kB / 462.9 MB, free: 24.63 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.416, allocations: 0 / 462.9 MB, free: 24.63 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001569/0.4162, allocations: 177.6 kB / 463.1 MB, free: 24.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.4162, allocations: 0 / 463.1 MB, free: 24.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.971e-05/0.4163, allocations: 15.97 kB / 463.1 MB, free: 24.39 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/0.4163, allocations: 4 kB / 463.1 MB, free: 24.39 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.4163, allocations: 3.938 kB / 463.1 MB, free: 24.38 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.4163, allocations: 4 kB / 463.1 MB, free: 24.38 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4164, allocations: 0 / 463.1 MB, free: 24.38 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.4166, allocations: 190 kB / 463.3 MB, free: 24.17 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.154e-05/0.4166, allocations: 89 kB / 463.4 MB, free: 24.06 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.4166, allocations: 0 / 463.4 MB, free: 24.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.598e-05/0.4167, allocations: 8 kB / 463.4 MB, free: 24.05 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.463e-05/0.4168, allocations: 0 / 463.4 MB, free: 24.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.4168, allocations: 7.984 kB / 463.4 MB, free: 24.05 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.64e-05/0.4169, allocations: 105.2 kB / 463.5 MB, free: 23.95 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.4169, allocations: 0 / 463.5 MB, free: 23.95 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00027/0.4172, allocations: 4 kB / 463.5 MB, free: 23.94 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: 4 (step.y,assignClock.u,assignClock.y,sample.y) * 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.4e-05/0.4173, allocations: 103.1 kB / 463.6 MB, free: 23.83 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.4175, allocations: 27.98 kB / 463.6 MB, free: 23.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.4175, allocations: 4.25 kB / 463.6 MB, free: 23.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.096e-05/0.4175, allocations: 15.92 kB / 463.6 MB, free: 23.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.4178, allocations: 27.95 kB / 463.7 MB, free: 23.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.4182, allocations: 157.7 kB / 463.8 MB, free: 23.57 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001645/0.4184, allocations: 0.7005 MB / 464.5 MB, free: 22.84 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.879e-05/0.4184, allocations: 3.938 kB / 464.5 MB, free: 22.84 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.608e-05/0.4184, allocations: 11.44 kB / 464.5 MB, free: 22.83 MB / 346.7 MB Notification: Performance of SimCode: time 6.51e-07/0.4185, allocations: 0 / 464.5 MB, free: 22.83 MB / 346.7 MB Notification: Performance of Templates: time 0.003055/0.4215, allocations: 441.4 kB / 465 MB, free: 22.4 MB / 346.7 MB