Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|step.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.285/2.285, allocations: 251.5 MB / 266 MB, free: 0.6836 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09952/0.09952, allocations: 12.59 MB / 336.6 MB, free: 14.73 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.284e-05/3.286e-05, allocations: 7.984 kB / 399.8 MB, free: 15.47 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.4276, allocations: 59.43 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.0016/0.4293, allocations: 1.145 MB / 460.3 MB, free: 27.47 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001633/0.4295, allocations: 23.91 kB / 460.4 MB, free: 27.45 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.157e-05/0.4295, allocations: 0 / 460.4 MB, free: 27.45 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 1.313e-05/0.4296, allocations: 0 / 460.4 MB, free: 27.45 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 2.794e-05/0.4296, allocations: 7.938 kB / 460.4 MB, free: 27.44 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.4299, allocations: 11.98 kB / 460.4 MB, free: 27.43 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 6.138e-05/0.4299, allocations: 19.97 kB / 460.4 MB, free: 27.41 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.789e-05/0.43, allocations: 4 kB / 460.4 MB, free: 27.4 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.194e-05/0.4301, allocations: 8 kB / 460.4 MB, free: 27.39 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.225e-05/0.4301, allocations: 7.922 kB / 460.4 MB, free: 27.39 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.396e-05/0.4301, allocations: 8 kB / 460.4 MB, free: 27.38 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.4301, allocations: 0 / 460.4 MB, free: 27.38 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 1.393e-05/0.4302, allocations: 4 kB / 460.4 MB, free: 27.38 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.472e-05/0.4302, allocations: 7.938 kB / 460.4 MB, free: 27.37 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 5.438e-05/0.4303, allocations: 22.62 kB / 460.5 MB, free: 27.35 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.4303, allocations: 0 / 460.5 MB, free: 27.35 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4303, allocations: 3.938 kB / 460.5 MB, free: 27.34 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.4303, allocations: 0 / 460.5 MB, free: 27.34 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.0003184/0.4306, allocations: 331.4 kB / 460.8 MB, free: 26.97 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.4307, allocations: 8.031 kB / 460.8 MB, free: 26.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.221e-05/0.4307, allocations: 7.906 kB / 460.8 MB, free: 26.96 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.4309, allocations: 186.9 kB / 461 MB, free: 26.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.299e-05/0.4309, allocations: 0 / 461 MB, free: 26.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.4309, allocations: 7.984 kB / 461 MB, free: 26.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003924/0.4313, allocations: 111.3 kB / 461.1 MB, free: 26.61 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.4314, allocations: 0 / 461.1 MB, free: 26.61 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.4314, allocations: 0 / 461.1 MB, free: 26.61 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4314, allocations: 4 kB / 461.1 MB, free: 26.6 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.4316, allocations: 23.97 kB / 461.1 MB, free: 26.58 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.4317, allocations: 157.6 kB / 461.3 MB, free: 26.38 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001942/0.4319, allocations: 54.52 kB / 461.3 MB, free: 26.31 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.4319, allocations: 4 kB / 461.3 MB, free: 26.31 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.432, allocations: 30.56 kB / 461.4 MB, free: 26.27 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.553e-06/0.432, allocations: 4 kB / 461.4 MB, free: 26.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003244/0.4323, allocations: 77.66 kB / 461.4 MB, free: 26.18 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.4323, allocations: 59.41 kB / 461.5 MB, free: 26.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.586e-05/0.4324, allocations: 92.98 kB / 461.6 MB, free: 26.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.588e-06/0.4324, allocations: 29.7 kB / 461.6 MB, free: 25.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.118e-05/0.4325, allocations: 80.14 kB / 461.7 MB, free: 25.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.136e-05/0.4325, allocations: 4 kB / 461.7 MB, free: 25.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-06/0.4325, allocations: 3.938 kB / 461.7 MB, free: 25.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.204e-05/0.4326, allocations: 322.8 kB / 462 MB, free: 25.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.4326, allocations: 4 kB / 462 MB, free: 25.56 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.4326, allocations: 27.44 kB / 462.1 MB, free: 25.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.874e-05/0.4327, allocations: 11.95 kB / 462.1 MB, free: 25.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4327, allocations: 0 / 462.1 MB, free: 25.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001011/0.4328, allocations: 69.47 kB / 462.1 MB, free: 25.44 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.4328, allocations: 4 kB / 462.1 MB, free: 25.43 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4328, allocations: 4 kB / 462.1 MB, free: 25.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.4328, allocations: 384 / 462.1 MB, free: 25.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.061e-05/0.4329, allocations: 7.984 kB / 462.2 MB, free: 25.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.4329, allocations: 0 / 462.2 MB, free: 25.42 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.754e-05/0.4329, allocations: 8 kB / 462.2 MB, free: 25.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.433, allocations: 0 / 462.2 MB, free: 25.41 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.112e-05/0.433, allocations: 131.9 kB / 462.3 MB, free: 25.28 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001844/0.4332, allocations: 65.61 kB / 462.4 MB, free: 25.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.38e-05/0.4333, allocations: 3.5 kB / 462.4 MB, free: 25.2 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4333, allocations: 4 kB / 462.4 MB, free: 25.2 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.4333, allocations: 0 / 462.4 MB, free: 25.2 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.4333, allocations: 0 / 462.4 MB, free: 25.2 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.509e-05/0.4334, allocations: 157.7 kB / 462.5 MB, free: 24.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.4334, allocations: 3.953 kB / 462.5 MB, free: 24.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.547e-05/0.4334, allocations: 4 kB / 462.5 MB, free: 24.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4335, allocations: 0 / 462.5 MB, free: 24.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.4335, allocations: 0 / 462.5 MB, free: 24.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4335, allocations: 4 kB / 462.5 MB, free: 24.98 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4335, allocations: 0 / 462.5 MB, free: 24.98 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00021/0.4337, allocations: 97.17 kB / 462.6 MB, free: 24.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.381e-05/0.4337, allocations: 89.05 kB / 462.7 MB, free: 24.76 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.4338, allocations: 4 kB / 462.7 MB, free: 24.76 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.473e-05/0.4338, allocations: 0 / 462.7 MB, free: 24.76 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-06/0.4338, allocations: 0 / 462.7 MB, free: 24.76 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.4339, allocations: 7.938 kB / 462.7 MB, free: 24.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.834e-05/0.4339, allocations: 87.28 kB / 462.8 MB, free: 24.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.4339, allocations: 0 / 462.8 MB, free: 24.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002224/0.4341, allocations: 4 kB / 462.8 MB, free: 24.66 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 7.414e-05/0.4342, allocations: 99.23 kB / 462.9 MB, free: 24.55 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.4344, allocations: 27.92 kB / 462.9 MB, free: 24.53 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.4344, allocations: 0 / 462.9 MB, free: 24.53 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.91e-07/0.4344, allocations: 0 / 462.9 MB, free: 24.53 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002288/0.4346, allocations: 34.33 kB / 463 MB, free: 24.5 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003/0.4349, allocations: 112.7 kB / 463.1 MB, free: 24.36 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001124/0.4351, allocations: 0.6809 MB / 463.8 MB, free: 23.65 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.767e-05/0.4351, allocations: 4 kB / 463.8 MB, free: 23.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.24e-05/0.4351, allocations: 7.438 kB / 463.8 MB, free: 23.64 MB / 346.7 MB Notification: Performance of SimCode: time 5.71e-07/0.4351, allocations: 0 / 463.8 MB, free: 23.64 MB / 346.7 MB Notification: Performance of Templates: time 0.002582/0.4377, allocations: 342.1 kB / 464.1 MB, free: 23.3 MB / 346.7 MB