Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadModel(Modelica): time 2.217/2.217, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.951e-05, allocations: 4 kB / 292.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09393/0.09399, allocations: 50.43 MB / 343.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3894/0.4834, allocations: 81.33 MB / 424.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/0.4837, allocations: 78.58 kB / 424.5 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02856/0.5123, allocations: 6.504 MB / 431 MB, free: 7.441 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.444e-06/0.5124, allocations: 0 / 431 MB, free: 7.441 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.631e-05/0.5125, allocations: 4 kB / 431 MB, free: 7.438 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.001037/0.5135, allocations: 478.2 kB / 431.5 MB, free: 6.93 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.5136, allocations: 8.031 kB / 431.5 MB, free: 6.922 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000113/0.5137, allocations: 15.81 kB / 431.5 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007758/0.5145, allocations: 268.1 kB / 431.7 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.559e-05/0.5146, allocations: 6.938 kB / 431.8 MB, free: 6.621 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.5146, allocations: 8 kB / 431.8 MB, free: 6.613 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00059/0.5153, allocations: 137.6 kB / 431.9 MB, free: 6.48 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.5153, allocations: 3.938 kB / 431.9 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.5154, allocations: 0 / 431.9 MB, free: 6.477 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.5154, allocations: 11.95 kB / 431.9 MB, free: 6.465 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001888/0.5156, allocations: 29.8 kB / 431.9 MB, free: 6.445 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001099/0.5167, allocations: 375.4 kB / 432.3 MB, free: 6.066 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000371/0.5171, allocations: 103.2 kB / 432.4 MB, free: 5.953 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.5173, allocations: 40.77 kB / 432.4 MB, free: 5.914 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.5174, allocations: 7.938 kB / 432.5 MB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/0.5176, allocations: 78.91 kB / 432.5 MB, free: 5.828 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 4.862e-06/0.5176, allocations: 0 / 432.5 MB, free: 5.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005016/0.5182, allocations: 106.3 kB / 432.6 MB, free: 5.734 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.5183, allocations: 139.6 kB / 432.8 MB, free: 5.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005646/0.5189, allocations: 237.9 kB / 433 MB, free: 5.375 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.264e-05/0.519, allocations: 29.7 kB / 433 MB, free: 5.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001283/0.5191, allocations: 118.9 kB / 433.2 MB, free: 5.242 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.5192, allocations: 11.38 kB / 433.2 MB, free: 5.234 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/0.5192, allocations: 7.75 kB / 433.2 MB, free: 5.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000221/0.5194, allocations: 326.6 kB / 433.5 MB, free: 4.906 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.255e-05/0.5195, allocations: 25.75 kB / 433.5 MB, free: 4.891 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.5197, allocations: 63.5 kB / 433.6 MB, free: 4.816 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.5199, allocations: 31.92 kB / 433.6 MB, free: 4.793 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.741e-06/0.5199, allocations: 0 / 433.6 MB, free: 4.793 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004474/0.5204, allocations: 105.9 kB / 433.7 MB, free: 4.699 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.5204, allocations: 7.953 kB / 433.7 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.996e-06/0.5204, allocations: 128 / 433.7 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.5205, allocations: 8 kB / 433.7 MB, free: 4.684 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.5207, allocations: 19.36 kB / 433.7 MB, free: 4.668 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.5207, allocations: 3.938 kB / 433.8 MB, free: 4.664 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.521, allocations: 4 kB / 433.8 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.521, allocations: 4 kB / 433.8 MB, free: 4.656 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.0001715/0.5212, allocations: 112.4 kB / 433.9 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002044/0.5214, allocations: 65.23 kB / 433.9 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004165/0.5219, allocations: 123.4 kB / 434.1 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.5219, allocations: 4 kB / 434.1 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.151e-06/0.5219, allocations: 0 / 434.1 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.522, allocations: 0 / 434.1 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/0.5224, allocations: 229.9 kB / 434.3 MB, free: 4.125 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.109e-06/0.5224, allocations: 4 kB / 434.3 MB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.655e-05/0.5225, allocations: 15.3 kB / 434.3 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.538e-06/0.5226, allocations: 0 / 434.3 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.5226, allocations: 0 / 434.3 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.565e-06/0.5226, allocations: 7.953 kB / 434.3 MB, free: 4.102 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.135e-06/0.5227, allocations: 11.88 kB / 434.3 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004882/0.5232, allocations: 165.5 kB / 434.5 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002315/0.5234, allocations: 123.1 kB / 434.6 MB, free: 3.785 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.292e-05/0.5235, allocations: 11.92 kB / 434.6 MB, free: 3.773 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001754/0.5237, allocations: 8 kB / 434.6 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.018e-05/0.5238, allocations: 7.562 kB / 434.6 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.5238, allocations: 7.984 kB / 434.6 MB, free: 3.754 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004356/0.5243, allocations: 194 kB / 434.8 MB, free: 3.594 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.635e-06/0.5243, allocations: 0 / 434.8 MB, free: 3.594 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006967/0.525, allocations: 34.19 kB / 434.9 MB, free: 3.566 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.002384/0.5274, allocations: 417.7 kB / 435.3 MB, free: 3.27 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004344/0.5279, allocations: 62.42 kB / 435.3 MB, free: 3.223 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.677e-06/0.528, allocations: 0 / 435.3 MB, free: 3.223 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.5281, allocations: 37.11 kB / 435.4 MB, free: 3.195 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007013/0.5288, allocations: 46.31 kB / 435.4 MB, free: 3.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009977/0.5299, allocations: 227.9 kB / 435.6 MB, free: 2.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/0.5305, allocations: 0.7401 MB / 436.4 MB, free: 2.164 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002086/0.5308, allocations: 25.17 kB / 436.4 MB, free: 2.141 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.5309, allocations: 26.62 kB / 436.4 MB, free: 2.117 MB / 346.7 MB Notification: Performance of SimCode: time 2.828e-06/0.5309, allocations: 0 / 436.4 MB, free: 2.117 MB / 346.7 MB Notification: Performance of Templates: time 0.01336/0.5443, allocations: 2.314 MB / 438.7 MB, free: 15.84 MB / 362.7 MB