Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadModel(Modelica): time 2.092/2.092, allocations: 225.8 MB / 239.4 MB, free: 1.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.655e-05, allocations: 0 / 292.7 MB, free: 11.51 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09104/0.0911, allocations: 50.42 MB / 343.1 MB, free: 9.086 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4029/0.494, allocations: 81.08 MB / 424.2 MB, free: 8.289 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003858/0.4944, allocations: 88.11 kB / 424.2 MB, free: 8.285 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04248/0.537, allocations: 6.501 MB / 430.7 MB, free: 6.691 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.303e-06/0.537, allocations: 3.844 kB / 430.7 MB, free: 6.691 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.172e-05/0.5371, allocations: 0 / 430.7 MB, free: 6.691 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000776/0.5379, allocations: 476.1 kB / 431.2 MB, free: 6.234 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.5379, allocations: 11.47 kB / 431.2 MB, free: 6.23 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.582e-05/0.5381, allocations: 23.16 kB / 431.2 MB, free: 6.219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006253/0.5387, allocations: 268.3 kB / 431.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.944e-05/0.5388, allocations: 0 / 431.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.631e-05/0.5388, allocations: 10.38 kB / 431.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004634/0.5393, allocations: 145.4 kB / 431.7 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.5394, allocations: 0 / 431.7 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.44e-05/0.5394, allocations: 0 / 431.7 MB, free: 5.879 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.847e-06/0.5394, allocations: 3.953 kB / 431.7 MB, free: 5.875 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.5396, allocations: 32.12 kB / 431.7 MB, free: 5.871 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007601/0.5404, allocations: 368.9 kB / 432.1 MB, free: 5.547 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.5407, allocations: 99.47 kB / 432.2 MB, free: 5.469 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.5409, allocations: 47 kB / 432.2 MB, free: 5.441 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.499e-05/0.5409, allocations: 7.953 kB / 432.2 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.5411, allocations: 73.11 kB / 432.3 MB, free: 5.375 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 5.323e-06/0.5412, allocations: 0 / 432.3 MB, free: 5.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.000472/0.5417, allocations: 116.2 kB / 432.4 MB, free: 5.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/0.5418, allocations: 143.5 kB / 432.5 MB, free: 5.156 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003262/0.5421, allocations: 232.5 kB / 432.8 MB, free: 5.047 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.178e-05/0.5422, allocations: 27.7 kB / 432.8 MB, free: 5.016 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.737e-05/0.5422, allocations: 117.7 kB / 432.9 MB, free: 4.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.5423, allocations: 17.55 kB / 432.9 MB, free: 4.918 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.119e-06/0.5423, allocations: 3.688 kB / 432.9 MB, free: 4.918 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.326e-05/0.5424, allocations: 329.5 kB / 433.2 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.589e-05/0.5425, allocations: 22.41 kB / 433.3 MB, free: 4.594 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.633e-05/0.5425, allocations: 68.44 kB / 433.3 MB, free: 4.531 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.677e-05/0.5426, allocations: 30.77 kB / 433.4 MB, free: 4.523 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.961e-06/0.5426, allocations: 0 / 433.4 MB, free: 4.523 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002142/0.5429, allocations: 114 kB / 433.5 MB, free: 4.469 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.5429, allocations: 11.45 kB / 433.5 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.5429, allocations: 0 / 433.5 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.5429, allocations: 3.688 kB / 433.5 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001092/0.543, allocations: 7.625 kB / 433.5 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.661e-06/0.5431, allocations: 7.656 kB / 433.5 MB, free: 4.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.5432, allocations: 7.672 kB / 433.5 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.392e-05/0.5432, allocations: 3.969 kB / 433.5 MB, free: 4.457 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 7.282e-05/0.5433, allocations: 119.7 kB / 433.6 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.67e-05/0.5434, allocations: 67.38 kB / 433.7 MB, free: 4.293 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000236/0.5437, allocations: 114.3 kB / 433.8 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.514e-06/0.5437, allocations: 7.703 kB / 433.8 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.808e-06/0.5437, allocations: 0 / 433.8 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.5437, allocations: 0 / 433.8 MB, free: 4.242 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.5439, allocations: 225 kB / 434 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.243e-06/0.5439, allocations: 3.812 kB / 434 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.893e-05/0.544, allocations: 3.75 kB / 434 MB, free: 4.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.408e-06/0.544, allocations: 7.688 kB / 434.1 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.544, allocations: 3.562 kB / 434.1 MB, free: 4.023 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.705e-06/0.544, allocations: 7.891 kB / 434.1 MB, free: 4.016 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.515e-06/0.5441, allocations: 7.828 kB / 434.1 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002542/0.5443, allocations: 175.8 kB / 434.2 MB, free: 3.879 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.5444, allocations: 119.2 kB / 434.4 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.5445, allocations: 7.5 kB / 434.4 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.5446, allocations: 3.688 kB / 434.4 MB, free: 3.762 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.569e-05/0.5447, allocations: 7.828 kB / 434.4 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.5447, allocations: 3.688 kB / 434.4 MB, free: 3.758 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002075/0.5449, allocations: 194.1 kB / 434.6 MB, free: 3.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.5449, allocations: 0 / 434.6 MB, free: 3.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003636/0.5453, allocations: 41.84 kB / 434.6 MB, free: 3.652 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001402/0.5467, allocations: 410.4 kB / 435 MB, free: 3.422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002484/0.547, allocations: 71.36 kB / 435.1 MB, free: 3.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.585e-06/0.547, allocations: 0 / 435.1 MB, free: 3.41 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.5471, allocations: 30.25 kB / 435.1 MB, free: 3.406 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/0.5475, allocations: 49.06 kB / 435.2 MB, free: 3.398 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005077/0.548, allocations: 233.5 kB / 435.4 MB, free: 3.242 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003676/0.5484, allocations: 0.7382 MB / 436.1 MB, free: 18.52 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001024/0.5486, allocations: 28.42 kB / 436.2 MB, free: 18.5 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.73e-05/0.5486, allocations: 18.91 kB / 436.2 MB, free: 18.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.531e-06/0.5486, allocations: 0 / 436.2 MB, free: 18.5 MB / 346.7 MB Notification: Performance of Templates: time 0.006882/0.5555, allocations: 2.316 MB / 438.5 MB, free: 17.36 MB / 346.7 MB