Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.388/2.388, allocations: 251.5 MB / 266 MB, free: 0.6641 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.0966/0.0966, allocations: 12.61 MB / 336.6 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.713e-05/3.727e-05, allocations: 4 kB / 399.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3792/0.3793, allocations: 59.42 MB / 459.2 MB, free: 28.61 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001692/0.3811, allocations: 1.156 MB / 460.3 MB, free: 27.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002619/0.3813, allocations: 92.77 kB / 460.4 MB, free: 27.36 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.47e-05/0.3814, allocations: 4 kB / 460.4 MB, free: 27.35 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.3814, allocations: 3.938 kB / 460.4 MB, free: 27.35 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.086e-05/0.3815, allocations: 0 / 460.4 MB, free: 27.35 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002479/0.3817, allocations: 19.97 kB / 460.5 MB, free: 27.33 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.224e-05/0.3818, allocations: 7.984 kB / 460.5 MB, free: 27.32 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.752e-05/0.3819, allocations: 15.92 kB / 460.5 MB, free: 27.3 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.927e-05/0.382, allocations: 7.938 kB / 460.5 MB, free: 27.3 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.565e-05/0.382, allocations: 8 kB / 460.5 MB, free: 27.29 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.44e-05/0.3821, allocations: 4 kB / 460.5 MB, free: 27.29 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.3821, allocations: 0 / 460.5 MB, free: 27.29 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.3821, allocations: 7.922 kB / 460.5 MB, free: 27.28 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.585e-05/0.3821, allocations: 4 kB / 460.5 MB, free: 27.27 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 5.524e-05/0.3822, allocations: 15.97 kB / 460.5 MB, free: 27.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.3822, allocations: 0 / 460.5 MB, free: 27.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3822, allocations: 0 / 460.5 MB, free: 27.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.033e-05/0.3822, allocations: 0 / 460.5 MB, free: 27.26 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003602/0.3826, allocations: 330.1 kB / 460.9 MB, free: 26.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.3827, allocations: 12.03 kB / 460.9 MB, free: 26.88 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.424e-05/0.3827, allocations: 7.906 kB / 460.9 MB, free: 26.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001537/0.3829, allocations: 182.9 kB / 461.1 MB, free: 26.65 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.3829, allocations: 4 kB / 461.1 MB, free: 26.65 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.3829, allocations: 0 / 461.1 MB, free: 26.65 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003671/0.3833, allocations: 115.3 kB / 461.2 MB, free: 26.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.3833, allocations: 0 / 461.2 MB, free: 26.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3833, allocations: 3.938 kB / 461.2 MB, free: 26.52 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.909e-06/0.3833, allocations: 0 / 461.2 MB, free: 26.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.3835, allocations: 23.92 kB / 461.2 MB, free: 26.5 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001173/0.3836, allocations: 161.5 kB / 461.4 MB, free: 26.29 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00022/0.3838, allocations: 66.55 kB / 461.4 MB, free: 26.21 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.231e-05/0.3839, allocations: 0 / 461.4 MB, free: 26.21 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.3839, allocations: 34.56 kB / 461.5 MB, free: 26.17 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.3839, allocations: 0 / 461.5 MB, free: 26.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002899/0.3842, allocations: 85.91 kB / 461.5 MB, free: 26.08 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.748e-05/0.3843, allocations: 51.41 kB / 461.6 MB, free: 26.02 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.57e-05/0.3843, allocations: 101 kB / 461.7 MB, free: 25.91 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.458e-06/0.3844, allocations: 25.7 kB / 461.7 MB, free: 25.88 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.787e-05/0.3844, allocations: 84.14 kB / 461.8 MB, free: 25.8 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.423e-06/0.3844, allocations: 4 kB / 461.8 MB, free: 25.79 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/0.3844, allocations: 0 / 461.8 MB, free: 25.79 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.966e-05/0.3845, allocations: 318.8 kB / 462.1 MB, free: 25.47 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.508e-05/0.3845, allocations: 4 kB / 462.1 MB, free: 25.47 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.47e-05/0.3845, allocations: 27.38 kB / 462.1 MB, free: 25.43 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.723e-05/0.3846, allocations: 19.89 kB / 462.2 MB, free: 25.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.3846, allocations: 4 kB / 462.2 MB, free: 25.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.295e-05/0.3847, allocations: 57.53 kB / 462.2 MB, free: 25.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/0.3847, allocations: 4 kB / 462.2 MB, free: 25.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3847, allocations: 0 / 462.2 MB, free: 25.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.3848, allocations: 4 kB / 462.2 MB, free: 25.34 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.731e-05/0.3848, allocations: 7.984 kB / 462.2 MB, free: 25.33 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3849, allocations: 0 / 462.2 MB, free: 25.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.731e-05/0.3849, allocations: 4 kB / 462.2 MB, free: 25.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.3849, allocations: 0 / 462.2 MB, free: 25.32 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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.599e-05/0.385, allocations: 125.9 kB / 462.4 MB, free: 25.19 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.3851, allocations: 53.69 kB / 462.4 MB, free: 25.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.3852, allocations: 11.89 kB / 462.4 MB, free: 25.12 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3852, allocations: 4.25 kB / 462.4 MB, free: 25.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.3852, allocations: 0 / 462.4 MB, free: 25.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3852, allocations: 4 kB / 462.4 MB, free: 25.11 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.15e-05/0.3853, allocations: 153.7 kB / 462.6 MB, free: 24.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.3853, allocations: 7.953 kB / 462.6 MB, free: 24.9 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.03e-05/0.3854, allocations: 11.98 kB / 462.6 MB, free: 24.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.3854, allocations: 0 / 462.6 MB, free: 24.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.184e-06/0.3854, allocations: 0 / 462.6 MB, free: 24.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.3855, allocations: 0 / 462.6 MB, free: 24.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3855, allocations: 0 / 462.6 MB, free: 24.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.3856, allocations: 96.95 kB / 462.7 MB, free: 24.78 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.727e-05/0.3857, allocations: 89 kB / 462.8 MB, free: 24.67 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.3857, allocations: 0 / 462.8 MB, free: 24.67 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.085e-05/0.3858, allocations: 4 kB / 462.8 MB, free: 24.67 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-06/0.3858, allocations: 0 / 462.8 MB, free: 24.67 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.57e-06/0.3858, allocations: 0 / 462.8 MB, free: 24.67 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.368e-05/0.3858, allocations: 87.27 kB / 462.9 MB, free: 24.58 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3858, allocations: 0 / 462.9 MB, free: 24.58 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002538/0.3861, allocations: 4 kB / 462.9 MB, free: 24.58 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (step.y,assignClock1.u,assignClock1.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.455e-05/0.3862, allocations: 99.25 kB / 463 MB, free: 24.47 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001468/0.3864, allocations: 27.92 kB / 463 MB, free: 24.44 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3864, allocations: 0 / 463 MB, free: 24.44 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.72e-07/0.3864, allocations: 3.938 kB / 463 MB, free: 24.44 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.3866, allocations: 33.83 kB / 463 MB, free: 24.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002815/0.3869, allocations: 124.9 kB / 463.2 MB, free: 24.26 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.3871, allocations: 0.6809 MB / 463.8 MB, free: 23.55 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.899e-05/0.3871, allocations: 4 kB / 463.8 MB, free: 23.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.226e-05/0.3871, allocations: 7.438 kB / 463.9 MB, free: 23.54 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.3871, allocations: 0 / 463.9 MB, free: 23.54 MB / 346.7 MB Notification: Performance of Templates: time 0.002749/0.3899, allocations: 298.3 kB / 464.1 MB, free: 23.25 MB / 346.7 MB