Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadModel(Modelica): time 2.088/2.088, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.97e-05, allocations: 8 kB / 292.1 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09082/0.09087, allocations: 50.41 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4126/0.5035, allocations: 81.47 MB / 424 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002613/0.5038, allocations: 74.64 kB / 424.1 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02505/0.5289, allocations: 6 MB / 430.1 MB, free: 7.664 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5289, allocations: 0 / 430.1 MB, free: 7.664 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.608e-05/0.529, allocations: 4 kB / 430.1 MB, free: 7.66 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.0007305/0.5297, allocations: 474.3 kB / 430.6 MB, free: 7.156 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.5298, allocations: 15.97 kB / 430.6 MB, free: 7.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.508e-05/0.5299, allocations: 22.83 kB / 430.6 MB, free: 7.121 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000509/0.5304, allocations: 262.2 kB / 430.9 MB, free: 6.844 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/0.5304, allocations: 7.422 kB / 430.9 MB, free: 6.84 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.5305, allocations: 11.25 kB / 430.9 MB, free: 6.832 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.5309, allocations: 155.2 kB / 431 MB, free: 6.676 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.5309, allocations: 0 / 431 MB, free: 6.676 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.5309, allocations: 3.438 kB / 431 MB, free: 6.676 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.837e-06/0.5309, allocations: 3.953 kB / 431 MB, free: 6.672 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.5311, allocations: 38.42 kB / 431.1 MB, free: 6.645 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007486/0.5318, allocations: 454.9 kB / 431.5 MB, free: 6.184 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002517/0.5321, allocations: 130.5 kB / 431.7 MB, free: 6.039 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.5322, allocations: 54.12 kB / 431.7 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.5323, allocations: 4 kB / 431.7 MB, free: 5.984 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001953/0.5325, allocations: 95.61 kB / 431.8 MB, free: 5.883 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 3.662e-06/0.5325, allocations: 4 kB / 431.8 MB, free: 5.879 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003867/0.5329, allocations: 122.3 kB / 431.9 MB, free: 5.773 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001183/0.533, allocations: 166.2 kB / 432.1 MB, free: 5.578 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003746/0.5334, allocations: 241.2 kB / 432.3 MB, free: 5.379 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.5335, allocations: 33.14 kB / 432.4 MB, free: 5.344 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.5336, allocations: 121 kB / 432.5 MB, free: 5.238 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.849e-05/0.5336, allocations: 23 kB / 432.5 MB, free: 5.219 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.382e-06/0.5337, allocations: 3.812 kB / 432.5 MB, free: 5.219 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.5338, allocations: 329.6 kB / 432.8 MB, free: 4.895 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.721e-05/0.5339, allocations: 21.81 kB / 432.8 MB, free: 4.883 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.5341, allocations: 81.17 kB / 432.9 MB, free: 4.789 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.4e-05/0.5341, allocations: 23 kB / 432.9 MB, free: 4.773 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/0.5342, allocations: 3.938 kB / 432.9 MB, free: 4.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002986/0.5345, allocations: 122.8 kB / 433.1 MB, free: 4.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/0.5345, allocations: 11.95 kB / 433.1 MB, free: 4.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/0.5345, allocations: 3.984 kB / 433.1 MB, free: 4.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.5346, allocations: 4 kB / 433.1 MB, free: 4.645 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.5347, allocations: 11.94 kB / 433.1 MB, free: 4.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.353e-05/0.5347, allocations: 4 kB / 433.1 MB, free: 4.629 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001318/0.5349, allocations: 10.98 kB / 433.1 MB, free: 4.621 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.796e-05/0.5349, allocations: 8.156 kB / 433.1 MB, free: 4.613 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,sample1.u,shiftSample1.y,hold1.u,hold1.y,shiftSample1.u,sample1.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.0001183/0.535, allocations: 116.3 kB / 433.2 MB, free: 4.496 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001409/0.5352, allocations: 72.47 kB / 433.3 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00029/0.5355, allocations: 112.8 kB / 433.4 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.296e-06/0.5355, allocations: 0 / 433.4 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.5355, allocations: 0 / 433.4 MB, free: 4.332 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.5355, allocations: 7.984 kB / 433.4 MB, free: 4.324 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003097/0.5359, allocations: 230.3 kB / 433.6 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.719e-06/0.5359, allocations: 4.125 kB / 433.7 MB, free: 4.074 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.299e-05/0.536, allocations: 19.92 kB / 433.7 MB, free: 4.055 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.438e-06/0.536, allocations: 3.984 kB / 433.7 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.745e-05/0.536, allocations: 7.312 kB / 433.7 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.453e-06/0.536, allocations: 3.953 kB / 433.7 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.829e-06/0.536, allocations: 0 / 433.7 MB, free: 4.043 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003544/0.5364, allocations: 213.9 kB / 433.9 MB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/0.5366, allocations: 123.6 kB / 434 MB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.084e-05/0.5366, allocations: 0 / 434 MB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.5368, allocations: 7.188 kB / 434 MB, free: 3.68 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.5368, allocations: 11.97 kB / 434 MB, free: 3.668 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.902e-05/0.5369, allocations: 8 kB / 434 MB, free: 3.66 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002783/0.5372, allocations: 197.9 kB / 434.2 MB, free: 3.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.5372, allocations: 0 / 434.2 MB, free: 3.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003982/0.5376, allocations: 31.56 kB / 434.3 MB, free: 3.473 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,sample1.u,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.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.001564/0.5392, allocations: 429.7 kB / 434.7 MB, free: 3.168 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003072/0.5395, allocations: 72.36 kB / 434.8 MB, free: 3.117 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.39e-06/0.5395, allocations: 4 kB / 434.8 MB, free: 3.113 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.003e-05/0.5396, allocations: 22.25 kB / 434.8 MB, free: 3.098 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.5401, allocations: 66.44 kB / 434.8 MB, free: 3.047 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006831/0.5408, allocations: 239.4 kB / 435.1 MB, free: 2.809 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.5413, allocations: 0.7393 MB / 435.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001298/0.5414, allocations: 25.47 kB / 435.8 MB, free: 2.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.843e-05/0.5415, allocations: 22.88 kB / 435.9 MB, free: 2 MB / 346.7 MB Notification: Performance of SimCode: time 2.205e-06/0.5415, allocations: 0 / 435.9 MB, free: 2 MB / 346.7 MB Notification: Performance of Templates: time 0.008457/0.55, allocations: 2.422 MB / 438.3 MB, free: 15.62 MB / 362.7 MB