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_Modelica_Synchronous.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadModel(Modelica_Synchronous): time 2.146/2.146, allocations: 218.4 MB / 231.1 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.322e-05/3.338e-05, allocations: 4 kB / 284.3 MB, free: 8.195 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09201/0.09207, allocations: 50.36 MB / 334.7 MB, free: 5.734 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3682/0.4603, allocations: 82.05 MB / 416.8 MB, free: 12.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.4607, allocations: 86.31 kB / 416.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02537/0.4861, allocations: 5.824 MB / 422.7 MB, free: 7.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.602e-06/0.4861, allocations: 0 / 422.7 MB, free: 7.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.882e-05/0.4861, allocations: 7.938 kB / 422.7 MB, free: 7.312 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.0007474/0.4869, allocations: 480.4 kB / 423.1 MB, free: 6.805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.487, allocations: 12.03 kB / 423.1 MB, free: 6.793 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.25e-05/0.487, allocations: 19.72 kB / 423.2 MB, free: 6.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005174/0.4876, allocations: 261.5 kB / 423.4 MB, free: 6.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.4876, allocations: 8 kB / 423.4 MB, free: 6.492 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.025e-05/0.4877, allocations: 15.39 kB / 423.4 MB, free: 6.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.4881, allocations: 169.4 kB / 423.6 MB, free: 6.312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.4881, allocations: 3.938 kB / 423.6 MB, free: 6.309 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.919e-05/0.4882, allocations: 0 / 423.6 MB, free: 6.309 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.789e-06/0.4882, allocations: 3.938 kB / 423.6 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.4883, allocations: 40.92 kB / 423.7 MB, free: 6.277 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007531/0.4891, allocations: 456.2 kB / 424.1 MB, free: 5.816 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002535/0.4894, allocations: 126.4 kB / 424.2 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/0.4895, allocations: 53.3 kB / 424.3 MB, free: 5.621 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.026e-05/0.4895, allocations: 11.06 kB / 424.3 MB, free: 5.613 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001923/0.4897, allocations: 88.36 kB / 424.4 MB, free: 5.52 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.934e-06/0.4898, allocations: 0 / 424.4 MB, free: 5.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.000374/0.4901, allocations: 125.1 kB / 424.5 MB, free: 5.41 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/0.4903, allocations: 161.5 kB / 424.7 MB, free: 5.219 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003898/0.4907, allocations: 244.2 kB / 424.9 MB, free: 5.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.357e-05/0.4907, allocations: 29.7 kB / 424.9 MB, free: 4.984 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001073/0.4909, allocations: 122.8 kB / 425 MB, free: 4.879 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.272e-05/0.4909, allocations: 25.55 kB / 425.1 MB, free: 4.859 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.352e-06/0.4909, allocations: 0 / 425.1 MB, free: 4.859 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002025/0.4912, allocations: 332.8 kB / 425.4 MB, free: 4.535 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001075/0.4913, allocations: 19 kB / 425.4 MB, free: 4.523 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.4915, allocations: 78.17 kB / 425.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001605/0.4917, allocations: 29.86 kB / 425.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.025e-06/0.4917, allocations: 0 / 425.5 MB, free: 4.414 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005556/0.4923, allocations: 122.8 kB / 425.6 MB, free: 4.305 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.465e-05/0.4924, allocations: 8 kB / 425.6 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.4924, allocations: 0 / 425.6 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/0.4924, allocations: 0 / 425.6 MB, free: 4.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001837/0.4926, allocations: 15.98 kB / 425.7 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/0.4927, allocations: 7.938 kB / 425.7 MB, free: 4.273 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.4929, allocations: 11.28 kB / 425.7 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.4929, allocations: 4 kB / 425.7 MB, free: 4.262 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.0001755/0.4931, allocations: 124.6 kB / 425.8 MB, free: 4.137 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/0.4934, allocations: 68.38 kB / 425.9 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005077/0.4939, allocations: 110.5 kB / 426 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/0.494, allocations: 4 kB / 426 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.991e-06/0.494, allocations: 128 / 426 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.732e-05/0.4941, allocations: 8 kB / 426 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005862/0.4947, allocations: 238 kB / 426.2 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.829e-06/0.4947, allocations: 0 / 426.2 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.4948, allocations: 16 kB / 426.2 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.4949, allocations: 0 / 426.2 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.839e-05/0.4949, allocations: 4 kB / 426.2 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.751e-06/0.4949, allocations: 0 / 426.2 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.839e-06/0.495, allocations: 7.922 kB / 426.3 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006857/0.4957, allocations: 209.4 kB / 426.5 MB, free: 3.465 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000254/0.4959, allocations: 115.6 kB / 426.6 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.91e-05/0.4961, allocations: 4 kB / 426.6 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001966/0.4963, allocations: 7.984 kB / 426.6 MB, free: 3.332 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.4964, allocations: 15.77 kB / 426.6 MB, free: 3.32 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.4964, allocations: 7.984 kB / 426.6 MB, free: 3.312 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004642/0.4969, allocations: 199.8 kB / 426.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.121e-06/0.4969, allocations: 0 / 426.8 MB, free: 3.148 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006996/0.4976, allocations: 35.44 kB / 426.8 MB, free: 3.117 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.00228/0.4999, allocations: 413.7 kB / 427.2 MB, free: 2.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000454/0.5004, allocations: 80.42 kB / 427.3 MB, free: 2.711 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.5004, allocations: 0 / 427.3 MB, free: 2.711 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.5006, allocations: 30.48 kB / 427.3 MB, free: 2.688 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006764/0.5013, allocations: 51.25 kB / 427.4 MB, free: 2.648 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009999/0.5023, allocations: 247.7 kB / 427.6 MB, free: 2.406 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006215/0.503, allocations: 0.7433 MB / 428.4 MB, free: 1.641 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002095/0.5032, allocations: 17.33 kB / 428.4 MB, free: 1.625 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.5034, allocations: 23.42 kB / 428.4 MB, free: 1.602 MB / 346.7 MB Notification: Performance of SimCode: time 2.347e-06/0.5034, allocations: 0 / 428.4 MB, free: 1.602 MB / 346.7 MB Notification: Performance of Templates: time 0.009748/0.5131, allocations: 2.425 MB / 430.8 MB, free: 15.19 MB / 362.7 MB