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_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadModel(Modelica_Synchronous): time 2.309/2.309, allocations: 218.4 MB / 234.2 MB, free: 332 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.206e-05/3.21e-05, allocations: 3.844 kB / 287.6 MB, free: 8.461 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1043/0.1043, allocations: 50.38 MB / 338 MB, free: 10.57 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002027/0.1064, allocations: 1.132 MB / 339.1 MB, free: 9.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002117/0.1067, allocations: 31.91 kB / 339.1 MB, free: 9.395 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.1067, allocations: 3.938 kB / 339.1 MB, free: 9.391 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.486e-05/0.1068, allocations: 0 / 339.1 MB, free: 9.391 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 3.276e-05/0.1068, allocations: 7.938 kB / 339.1 MB, free: 9.383 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.1071, allocations: 19.97 kB / 339.2 MB, free: 9.363 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 6.952e-05/0.1072, allocations: 15.98 kB / 339.2 MB, free: 9.348 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.662e-05/0.1073, allocations: 4 kB / 339.2 MB, free: 9.344 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.85e-05/0.1073, allocations: 11.97 kB / 339.2 MB, free: 9.332 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.864e-05/0.1074, allocations: 7.938 kB / 339.2 MB, free: 9.324 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.1074, allocations: 4 kB / 339.2 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.288e-05/0.1074, allocations: 0 / 339.2 MB, free: 9.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.1074, allocations: 4 kB / 339.2 MB, free: 9.316 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.1075, allocations: 4 kB / 339.2 MB, free: 9.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.337e-05/0.1075, allocations: 19.95 kB / 339.2 MB, free: 9.293 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1075, allocations: 0 / 339.2 MB, free: 9.293 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1076, allocations: 0 / 339.2 MB, free: 9.293 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.896e-06/0.1076, allocations: 0 / 339.2 MB, free: 9.293 MB / 282.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.0004352/0.108, allocations: 331.5 kB / 339.6 MB, free: 8.922 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.1081, allocations: 12.03 kB / 339.6 MB, free: 8.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.624e-05/0.1081, allocations: 0 / 339.6 MB, free: 8.91 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.1083, allocations: 171 kB / 339.7 MB, free: 8.703 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.1084, allocations: 8 kB / 339.7 MB, free: 8.695 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/0.1084, allocations: 7.953 kB / 339.8 MB, free: 8.688 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004667/0.1089, allocations: 115.6 kB / 339.9 MB, free: 8.562 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.1089, allocations: 0 / 339.9 MB, free: 8.562 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.1089, allocations: 7.938 kB / 339.9 MB, free: 8.555 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.109, allocations: 3.938 kB / 339.9 MB, free: 8.551 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001714/0.1091, allocations: 23.97 kB / 339.9 MB, free: 8.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.1093, allocations: 157.6 kB / 340.1 MB, free: 8.324 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.1096, allocations: 58.48 kB / 340.1 MB, free: 8.258 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.1096, allocations: 0 / 340.1 MB, free: 8.258 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.1096, allocations: 38.55 kB / 340.2 MB, free: 8.211 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.724e-06/0.1097, allocations: 0 / 340.2 MB, free: 8.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003716/0.11, allocations: 69.81 kB / 340.2 MB, free: 8.137 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.761e-05/0.1101, allocations: 63.33 kB / 340.3 MB, free: 8.062 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.721e-05/0.1102, allocations: 97 kB / 340.4 MB, free: 7.961 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.1103, allocations: 25.7 kB / 340.4 MB, free: 7.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.341e-05/0.1103, allocations: 154.6 kB / 340.6 MB, free: 7.777 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.353e-05/0.1104, allocations: 0 / 340.6 MB, free: 7.777 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.116e-06/0.1104, allocations: 0 / 340.6 MB, free: 7.777 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1105, allocations: 322.8 kB / 340.9 MB, free: 7.453 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.1105, allocations: 4 kB / 340.9 MB, free: 7.449 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.977e-05/0.1106, allocations: 31.44 kB / 340.9 MB, free: 7.406 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.331e-05/0.1106, allocations: 8 kB / 340.9 MB, free: 7.398 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1106, allocations: 0 / 340.9 MB, free: 7.398 MB / 282.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001268/0.1108, allocations: 69.47 kB / 341 MB, free: 7.324 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.1108, allocations: 4 kB / 341 MB, free: 7.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.1108, allocations: 3.953 kB / 341 MB, free: 7.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1108, allocations: 8.5 kB / 341 MB, free: 7.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.849e-05/0.1109, allocations: 7.984 kB / 341 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1109, allocations: 0 / 341 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.098e-05/0.111, allocations: 4.188 kB / 341 MB, free: 7.297 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.111, allocations: 4 kB / 341 MB, free: 7.293 MB / 282.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 9.64e-05/0.1111, allocations: 113.8 kB / 341.1 MB, free: 7.172 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002187/0.1113, allocations: 69.53 kB / 341.2 MB, free: 7.098 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.149e-05/0.1114, allocations: 7.5 kB / 341.2 MB, free: 7.086 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.1114, allocations: 3.953 kB / 341.2 MB, free: 7.082 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1114, allocations: 4 kB / 341.2 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.1114, allocations: 0 / 341.2 MB, free: 7.078 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.1115, allocations: 157.7 kB / 341.4 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1116, allocations: 0 / 341.4 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.826e-05/0.1116, allocations: 4 kB / 341.4 MB, free: 6.871 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1116, allocations: 0 / 341.4 MB, free: 6.871 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.1116, allocations: 0 / 341.4 MB, free: 6.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1117, allocations: 7.938 kB / 341.4 MB, free: 6.863 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.1117, allocations: 3.953 kB / 341.4 MB, free: 6.859 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002495/0.1119, allocations: 92.95 kB / 341.5 MB, free: 6.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.112, allocations: 89.03 kB / 341.6 MB, free: 6.645 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.112, allocations: 0 / 341.6 MB, free: 6.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.886e-05/0.1121, allocations: 4 kB / 341.6 MB, free: 6.641 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-06/0.1121, allocations: 0 / 341.6 MB, free: 6.641 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.1121, allocations: 3.953 kB / 341.6 MB, free: 6.637 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.241e-05/0.1122, allocations: 83.28 kB / 341.6 MB, free: 6.555 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1122, allocations: 0 / 341.6 MB, free: 6.555 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002334/0.1124, allocations: 4 kB / 341.6 MB, free: 6.551 MB / 282.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 0.0001214/0.1126, allocations: 107.2 kB / 341.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.1128, allocations: 27.92 kB / 341.8 MB, free: 6.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1128, allocations: 0 / 341.8 MB, free: 6.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.1128, allocations: 4 kB / 341.8 MB, free: 6.406 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002518/0.113, allocations: 23.98 kB / 341.8 MB, free: 6.383 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003848/0.1134, allocations: 146.6 kB / 341.9 MB, free: 6.199 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.1137, allocations: 0.6809 MB / 342.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.831e-05/0.1138, allocations: 7.438 kB / 342.6 MB, free: 5.484 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.1138, allocations: 0 / 342.6 MB, free: 5.484 MB / 282.7 MB Notification: Performance of Templates: time 0.002382/0.1162, allocations: 0.5901 MB / 343.2 MB, free: 4.895 MB / 282.7 MB