Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.353/2.353, allocations: 251.5 MB / 266 MB, free: 0.6758 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.1018/0.1018, allocations: 12.61 MB / 336.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.543e-05/3.522e-05, allocations: 4 kB / 399.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4216, allocations: 59.42 MB / 459.2 MB, free: 28.61 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001596/0.4232, allocations: 1.145 MB / 460.3 MB, free: 27.46 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001681/0.4234, allocations: 27.91 kB / 460.4 MB, free: 27.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.173e-05/0.4235, allocations: 8 kB / 460.4 MB, free: 27.42 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.4235, allocations: 3.938 kB / 460.4 MB, free: 27.42 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 3.04e-05/0.4236, allocations: 3.984 kB / 460.4 MB, free: 27.41 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.4238, allocations: 15.98 kB / 460.4 MB, free: 27.4 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.4e-05/0.4239, allocations: 15.97 kB / 460.4 MB, free: 27.38 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.287e-05/0.424, allocations: 4 kB / 460.4 MB, free: 27.38 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.277e-05/0.424, allocations: 8 kB / 460.4 MB, free: 27.37 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.351e-05/0.4241, allocations: 11.92 kB / 460.4 MB, free: 27.36 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.4241, allocations: 0 / 460.4 MB, free: 27.36 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.32e-05/0.4241, allocations: 4 kB / 460.4 MB, free: 27.36 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.4241, allocations: 8 kB / 460.4 MB, free: 27.35 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.453e-05/0.4242, allocations: 3.938 kB / 460.4 MB, free: 27.34 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 5.623e-05/0.4242, allocations: 15.97 kB / 460.5 MB, free: 27.33 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.4242, allocations: 7.938 kB / 460.5 MB, free: 27.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.4242, allocations: 0 / 460.5 MB, free: 27.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.4243, allocations: 0 / 460.5 MB, free: 27.32 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.0003527/0.4246, allocations: 334.1 kB / 460.8 MB, free: 26.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.4247, allocations: 8.031 kB / 460.8 MB, free: 26.94 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.84e-05/0.4247, allocations: 7.906 kB / 460.8 MB, free: 26.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/0.4249, allocations: 175 kB / 461 MB, free: 26.72 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.37e-05/0.4249, allocations: 8 kB / 461 MB, free: 26.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.4249, allocations: 4 kB / 461 MB, free: 26.71 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.4254, allocations: 123.3 kB / 461.1 MB, free: 26.58 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.4254, allocations: 0 / 461.1 MB, free: 26.58 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.4254, allocations: 0 / 461.1 MB, free: 26.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.4255, allocations: 3.938 kB / 461.1 MB, free: 26.57 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.4256, allocations: 31.91 kB / 461.1 MB, free: 26.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001199/0.4258, allocations: 169.5 kB / 461.3 MB, free: 26.33 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/0.426, allocations: 58.53 kB / 461.4 MB, free: 26.26 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.426, allocations: 4.031 kB / 461.4 MB, free: 26.26 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.917e-05/0.4261, allocations: 30.56 kB / 461.4 MB, free: 26.22 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/0.4261, allocations: 0 / 461.4 MB, free: 26.22 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003708/0.4265, allocations: 81.73 kB / 461.5 MB, free: 26.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.4265, allocations: 63.39 kB / 461.5 MB, free: 26.06 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.179e-05/0.4266, allocations: 93 kB / 461.6 MB, free: 25.96 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.4266, allocations: 29.7 kB / 461.7 MB, free: 25.93 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.724e-05/0.4267, allocations: 84.14 kB / 461.7 MB, free: 25.84 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.202e-05/0.4267, allocations: 7.922 kB / 461.8 MB, free: 25.83 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-06/0.4267, allocations: 4 kB / 461.8 MB, free: 25.83 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.459e-05/0.4268, allocations: 310.8 kB / 462.1 MB, free: 25.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.4268, allocations: 4 kB / 462.1 MB, free: 25.51 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.034e-05/0.4268, allocations: 35.42 kB / 462.1 MB, free: 25.46 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.4269, allocations: 19.89 kB / 462.1 MB, free: 25.45 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.4269, allocations: 0 / 462.1 MB, free: 25.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.612e-05/0.427, allocations: 57.53 kB / 462.2 MB, free: 25.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.427, allocations: 13.22 kB / 462.2 MB, free: 25.37 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.427, allocations: 0 / 462.2 MB, free: 25.37 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.427, allocations: 0 / 462.2 MB, free: 25.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.761e-05/0.4271, allocations: 8 kB / 462.2 MB, free: 25.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.4271, allocations: 4 kB / 462.2 MB, free: 25.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/0.4272, allocations: 4 kB / 462.2 MB, free: 25.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.4272, allocations: 4 kB / 462.2 MB, free: 25.35 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.373e-05/0.4273, allocations: 117.7 kB / 462.3 MB, free: 25.23 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002069/0.4275, allocations: 65.67 kB / 462.4 MB, free: 25.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.4275, allocations: 15.89 kB / 462.4 MB, free: 25.14 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.4275, allocations: 4 kB / 462.4 MB, free: 25.13 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.4276, allocations: 0 / 462.4 MB, free: 25.13 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.4276, allocations: 0 / 462.4 MB, free: 25.13 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.126e-05/0.4276, allocations: 157.6 kB / 462.6 MB, free: 24.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.4277, allocations: 3.953 kB / 462.6 MB, free: 24.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.988e-05/0.4278, allocations: 11.98 kB / 462.6 MB, free: 24.91 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.4278, allocations: 0 / 462.6 MB, free: 24.91 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.846e-06/0.4278, allocations: 0 / 462.6 MB, free: 24.91 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.923e-06/0.4278, allocations: 3.938 kB / 462.6 MB, free: 24.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.4278, allocations: 384 / 462.6 MB, free: 24.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/0.4281, allocations: 101 kB / 462.7 MB, free: 24.79 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.522e-05/0.4281, allocations: 81.06 kB / 462.8 MB, free: 24.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.051e-05/0.4281, allocations: 3.938 kB / 462.8 MB, free: 24.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.278e-05/0.4282, allocations: 8 kB / 462.8 MB, free: 24.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.437e-06/0.4282, allocations: 0 / 462.8 MB, free: 24.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-06/0.4282, allocations: 4 kB / 462.8 MB, free: 24.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.3e-05/0.4283, allocations: 87.27 kB / 462.9 MB, free: 24.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4283, allocations: 0 / 462.9 MB, free: 24.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002333/0.4285, allocations: 8 kB / 462.9 MB, free: 24.59 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: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * 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.14e-05/0.4286, allocations: 95.25 kB / 463 MB, free: 24.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001705/0.4288, allocations: 32.2 kB / 463 MB, free: 24.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4288, allocations: 4 kB / 463 MB, free: 24.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.71e-07/0.4288, allocations: 0 / 463 MB, free: 24.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003102/0.4291, allocations: 32 kB / 463 MB, free: 24.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003417/0.4295, allocations: 125 kB / 463.2 MB, free: 24.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001225/0.4296, allocations: 0.6809 MB / 463.8 MB, free: 23.56 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.787e-05/0.4297, allocations: 8.219 kB / 463.8 MB, free: 23.55 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.701e-05/0.4297, allocations: 11.44 kB / 463.9 MB, free: 23.54 MB / 346.7 MB Notification: Performance of SimCode: time 6.42e-07/0.4297, allocations: 0 / 463.9 MB, free: 23.54 MB / 346.7 MB Notification: Performance of Templates: time 0.002972/0.4327, allocations: 392.3 kB / 464.2 MB, free: 23.16 MB / 346.7 MB