Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|hold.y|sample.y|shiftSample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadModel(Modelica_Synchronous): time 2.043/2.043, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.64e-05/3.651e-05, allocations: 4 kB / 284.3 MB, free: 8.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08694/0.087, allocations: 50.36 MB / 334.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3779/0.4649, allocations: 82.11 MB / 416.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.4652, allocations: 83.81 kB / 416.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02366/0.4889, allocations: 5.822 MB / 422.7 MB, free: 7.238 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.43e-06/0.489, allocations: 0 / 422.7 MB, free: 7.238 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.459e-05/0.489, allocations: 4 kB / 422.7 MB, free: 7.234 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006922/0.4897, allocations: 483.6 kB / 423.2 MB, free: 6.727 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4898, allocations: 12.03 kB / 423.2 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.398e-05/0.4898, allocations: 19.72 kB / 423.2 MB, free: 6.695 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004791/0.4903, allocations: 264.9 kB / 423.5 MB, free: 6.418 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/0.4904, allocations: 0 / 423.5 MB, free: 6.418 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.4904, allocations: 15.77 kB / 423.5 MB, free: 6.406 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003758/0.4908, allocations: 166.3 kB / 423.6 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.4908, allocations: 0 / 423.6 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.4909, allocations: 0 / 423.6 MB, free: 6.242 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.4909, allocations: 4 kB / 423.6 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.491, allocations: 39.3 kB / 423.7 MB, free: 6.211 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006921/0.4917, allocations: 455.8 kB / 424.1 MB, free: 5.75 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002414/0.492, allocations: 133.2 kB / 424.3 MB, free: 5.605 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001062/0.4921, allocations: 55.06 kB / 424.3 MB, free: 5.551 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.76e-05/0.4921, allocations: 4 kB / 424.3 MB, free: 5.547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001834/0.4923, allocations: 96.67 kB / 424.4 MB, free: 5.445 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.899e-06/0.4924, allocations: 0 / 424.4 MB, free: 5.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003507/0.4927, allocations: 120.7 kB / 424.5 MB, free: 5.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001114/0.4928, allocations: 162.1 kB / 424.7 MB, free: 5.148 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000357/0.4932, allocations: 238.7 kB / 424.9 MB, free: 4.953 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.4933, allocations: 33.8 kB / 424.9 MB, free: 4.914 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001082/0.4934, allocations: 177.8 kB / 425.1 MB, free: 4.754 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.996e-05/0.4934, allocations: 27.67 kB / 425.1 MB, free: 4.73 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.261e-06/0.4934, allocations: 0 / 425.1 MB, free: 4.73 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4936, allocations: 318.3 kB / 425.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.041e-05/0.4937, allocations: 27.48 kB / 425.5 MB, free: 4.395 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001124/0.4938, allocations: 74.06 kB / 425.6 MB, free: 4.309 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.634e-05/0.4939, allocations: 31.3 kB / 425.6 MB, free: 4.289 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.4939, allocations: 0 / 425.6 MB, free: 4.289 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002652/0.4942, allocations: 116.2 kB / 425.7 MB, free: 4.188 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.4942, allocations: 4 kB / 425.7 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.249e-06/0.4943, allocations: 4 kB / 425.7 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4943, allocations: 0 / 425.7 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001133/0.4944, allocations: 15.98 kB / 425.7 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.4944, allocations: 7.938 kB / 425.7 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.4946, allocations: 7.875 kB / 425.7 MB, free: 4.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.4946, allocations: 4 kB / 425.7 MB, free: 4.148 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sample.u,shiftSample.y,hold.u,hold.y,shiftSample.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 0.0001164/0.4947, allocations: 124.6 kB / 425.9 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/0.4949, allocations: 65.39 kB / 425.9 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002698/0.4951, allocations: 107.5 kB / 426 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.302e-06/0.4952, allocations: 4 kB / 426 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4952, allocations: 0 / 426 MB, free: 3.867 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.588e-06/0.4952, allocations: 4 kB / 426 MB, free: 3.863 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003123/0.4955, allocations: 245.1 kB / 426.3 MB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.735e-06/0.4955, allocations: 0 / 426.3 MB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.042e-05/0.4956, allocations: 7.938 kB / 426.3 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.253e-06/0.4956, allocations: 8.062 kB / 426.3 MB, free: 3.586 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.4957, allocations: 3.984 kB / 426.3 MB, free: 3.582 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.872e-06/0.4957, allocations: 4.125 kB / 426.3 MB, free: 3.578 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.094e-06/0.4957, allocations: 4 kB / 426.3 MB, free: 3.574 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.496, allocations: 207.9 kB / 426.5 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001463/0.4962, allocations: 115.6 kB / 426.6 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.541e-05/0.4963, allocations: 11.86 kB / 426.6 MB, free: 3.223 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.4964, allocations: 4 kB / 426.6 MB, free: 3.219 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.4964, allocations: 15.88 kB / 426.7 MB, free: 3.203 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.4965, allocations: 7.938 kB / 426.7 MB, free: 3.195 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002678/0.4968, allocations: 196.5 kB / 426.9 MB, free: 3.035 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.3e-07/0.4968, allocations: 4 kB / 426.9 MB, free: 3.031 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003796/0.4972, allocations: 39.38 kB / 426.9 MB, free: 3 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,sample.u,hold.y,hold.u,shiftSample.y,sample.y,shiftSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001411/0.4986, allocations: 413.7 kB / 427.3 MB, free: 2.652 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000263/0.4989, allocations: 77.8 kB / 427.4 MB, free: 2.594 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.219e-06/0.4989, allocations: 0 / 427.4 MB, free: 2.594 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.581e-05/0.499, allocations: 35.67 kB / 427.4 MB, free: 2.566 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.4995, allocations: 50.5 kB / 427.5 MB, free: 2.527 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006844/0.5002, allocations: 279.4 kB / 427.7 MB, free: 2.25 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.5006, allocations: 0.74 MB / 428.5 MB, free: 1.488 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.409e-05/0.5007, allocations: 19.44 kB / 428.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of SimCode: time 1.712e-06/0.5007, allocations: 0 / 428.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of Templates: time 0.006301/0.507, allocations: 2.691 MB / 431.2 MB, free: 14.81 MB / 362.7 MB