Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadModel(Modelica): time 2.149/2.149, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.098e-05/3.122e-05, allocations: 0 / 292.1 MB, free: 8.355 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09743/0.09748, allocations: 50.42 MB / 342.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3819/0.4794, allocations: 81.34 MB / 423.9 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.4797, allocations: 77.52 kB / 424 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02858/0.5083, allocations: 6.64 MB / 430.6 MB, free: 7.305 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.933e-06/0.5084, allocations: 0 / 430.6 MB, free: 7.305 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.078e-05/0.5084, allocations: 7.984 kB / 430.6 MB, free: 7.297 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007808/0.5092, allocations: 0.4936 MB / 431.1 MB, free: 6.766 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.522e-05/0.5093, allocations: 12.03 kB / 431.1 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.046e-05/0.5094, allocations: 19.72 kB / 431.2 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005753/0.51, allocations: 291.2 kB / 431.4 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.51, allocations: 3.438 kB / 431.4 MB, free: 6.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.5101, allocations: 8 kB / 431.4 MB, free: 6.422 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.5104, allocations: 153 kB / 431.6 MB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.995e-06/0.5105, allocations: 0 / 431.6 MB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.5105, allocations: 3.953 kB / 431.6 MB, free: 6.266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.336e-06/0.5105, allocations: 0 / 431.6 MB, free: 6.266 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001177/0.5106, allocations: 37.23 kB / 431.6 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009125/0.5116, allocations: 403.1 kB / 432 MB, free: 5.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003476/0.5119, allocations: 108.8 kB / 432.1 MB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.5121, allocations: 57.08 kB / 432.2 MB, free: 5.672 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.467e-05/0.5122, allocations: 0 / 432.2 MB, free: 5.672 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.5125, allocations: 76.83 kB / 432.3 MB, free: 5.594 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 4.46e-06/0.5125, allocations: 0 / 432.3 MB, free: 5.594 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005554/0.5131, allocations: 125.4 kB / 432.4 MB, free: 5.484 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.5132, allocations: 165.7 kB / 432.6 MB, free: 5.289 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000498/0.5137, allocations: 297.6 kB / 432.8 MB, free: 5.051 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/0.5138, allocations: 29.7 kB / 432.9 MB, free: 5.016 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001084/0.5139, allocations: 129.1 kB / 433 MB, free: 4.914 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.514, allocations: 18.92 kB / 433 MB, free: 4.898 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.879e-06/0.514, allocations: 0 / 433 MB, free: 4.898 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.5142, allocations: 336.4 kB / 433.3 MB, free: 4.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.854e-05/0.5142, allocations: 20.62 kB / 433.4 MB, free: 4.559 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.5144, allocations: 99.28 kB / 433.5 MB, free: 4.449 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.131e-05/0.5145, allocations: 30.42 kB / 433.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.389e-06/0.5145, allocations: 4 kB / 433.5 MB, free: 4.426 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003104/0.5148, allocations: 118.4 kB / 433.6 MB, free: 4.32 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.5149, allocations: 4 kB / 433.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.049e-06/0.5149, allocations: 0 / 433.6 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/0.5149, allocations: 4 kB / 433.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001836/0.5151, allocations: 23.3 kB / 433.6 MB, free: 4.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.5152, allocations: 4 kB / 433.6 MB, free: 4.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.5153, allocations: 7.906 kB / 433.7 MB, free: 4.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.5153, allocations: 8.125 kB / 433.7 MB, free: 4.273 MB / 346.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,subSample1.y,subSample1.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 0.0001221/0.5155, allocations: 113.2 kB / 433.8 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.5156, allocations: 68.66 kB / 433.8 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.516, allocations: 121 kB / 434 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.378e-06/0.516, allocations: 4 kB / 434 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.339e-06/0.516, allocations: 0 / 434 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.516, allocations: 0 / 434 MB, free: 3.988 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003231/0.5163, allocations: 253 kB / 434.2 MB, free: 3.723 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.5164, allocations: 4.062 kB / 434.2 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.5165, allocations: 16.05 kB / 434.2 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-05/0.5165, allocations: 8 kB / 434.2 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.5165, allocations: 7.891 kB / 434.2 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.884e-06/0.5166, allocations: 4 kB / 434.2 MB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.31e-06/0.5166, allocations: 0 / 434.2 MB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003458/0.5169, allocations: 192.7 kB / 434.4 MB, free: 3.484 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.5171, allocations: 120 kB / 434.6 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.5172, allocations: 4 kB / 434.6 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.5173, allocations: 7.984 kB / 434.6 MB, free: 3.348 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.5174, allocations: 11.8 kB / 434.6 MB, free: 3.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.5174, allocations: 4 kB / 434.6 MB, free: 3.336 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003562/0.5178, allocations: 236.2 kB / 434.8 MB, free: 3.145 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.016e-06/0.5178, allocations: 4.094 kB / 434.8 MB, free: 3.141 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000443/0.5183, allocations: 62.86 kB / 434.9 MB, free: 3.086 MB / 346.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,subSample1.y,sample1.y,subSample1.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.001544/0.5198, allocations: 428.9 kB / 435.3 MB, free: 2.781 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003346/0.5202, allocations: 84.33 kB / 435.4 MB, free: 2.715 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.741e-06/0.5202, allocations: 3.375 kB / 435.4 MB, free: 2.715 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.335e-05/0.5203, allocations: 26.94 kB / 435.4 MB, free: 2.695 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004655/0.5208, allocations: 50.8 kB / 435.5 MB, free: 2.656 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007129/0.5215, allocations: 284.7 kB / 435.7 MB, free: 2.379 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000452/0.522, allocations: 0.7469 MB / 436.5 MB, free: 1.613 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001424/0.5221, allocations: 25.33 kB / 436.5 MB, free: 1.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/0.5222, allocations: 19.44 kB / 436.5 MB, free: 1.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.745e-06/0.5223, allocations: 4 kB / 436.5 MB, free: 1.566 MB / 346.7 MB Notification: Performance of Templates: time 0.009029/0.5313, allocations: 2.734 MB / 439.3 MB, free: 14.87 MB / 362.7 MB