Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|subSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadModel(Modelica): time 2.354/2.354, allocations: 225.8 MB / 238.8 MB, free: 11.14 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.274e-05/3.291e-05, allocations: 7.922 kB / 292.1 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09368/0.09374, allocations: 50.4 MB / 342.6 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3738/0.4676, allocations: 81.36 MB / 423.9 MB, free: 12.45 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002499/0.4679, allocations: 77.39 kB / 424 MB, free: 12.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02711/0.495, allocations: 6.508 MB / 430.5 MB, free: 6.961 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.149e-06/0.495, allocations: 0 / 430.5 MB, free: 6.961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.491e-05/0.4951, allocations: 4 kB / 430.5 MB, free: 6.957 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.0006971/0.4958, allocations: 470.5 kB / 431 MB, free: 6.457 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4958, allocations: 8.031 kB / 431 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.537e-05/0.4959, allocations: 27.05 kB / 431 MB, free: 6.426 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/0.4964, allocations: 258.8 kB / 431.2 MB, free: 6.152 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.4965, allocations: 14.69 kB / 431.3 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.4965, allocations: 4 kB / 431.3 MB, free: 6.137 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003559/0.4969, allocations: 134.4 kB / 431.4 MB, free: 6.004 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.912e-06/0.4969, allocations: 0 / 431.4 MB, free: 6.004 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.497, allocations: 7.438 kB / 431.4 MB, free: 6 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.517e-06/0.497, allocations: 7.953 kB / 431.4 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.4971, allocations: 37.61 kB / 431.4 MB, free: 5.965 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006263/0.4977, allocations: 365.7 kB / 431.8 MB, free: 5.594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002179/0.498, allocations: 109.8 kB / 431.9 MB, free: 5.477 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.41e-05/0.4981, allocations: 37.77 kB / 432 MB, free: 5.438 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.056e-05/0.4981, allocations: 11.14 kB / 432 MB, free: 5.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001583/0.4983, allocations: 70.89 kB / 432 MB, free: 5.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.044e-06/0.4983, allocations: 0 / 432 MB, free: 5.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003257/0.4987, allocations: 112.6 kB / 432.1 MB, free: 5.258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/0.4988, allocations: 138.9 kB / 432.3 MB, free: 5.094 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/0.4992, allocations: 241.7 kB / 432.5 MB, free: 4.895 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.4992, allocations: 29.27 kB / 432.5 MB, free: 4.863 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.149e-05/0.4993, allocations: 116.3 kB / 432.7 MB, free: 4.766 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.613e-05/0.4994, allocations: 15.19 kB / 432.7 MB, free: 4.754 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-06/0.4994, allocations: 7.25 kB / 432.7 MB, free: 4.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001701/0.4996, allocations: 328.8 kB / 433 MB, free: 4.426 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.106e-05/0.4996, allocations: 18.5 kB / 433 MB, free: 4.414 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.4997, allocations: 65.06 kB / 433.1 MB, free: 4.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.253e-05/0.4998, allocations: 23.25 kB / 433.1 MB, free: 4.324 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.47e-06/0.4999, allocations: 4 kB / 433.1 MB, free: 4.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000282/0.5001, allocations: 111.7 kB / 433.2 MB, free: 4.223 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5002, allocations: 7.953 kB / 433.2 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.298e-06/0.5002, allocations: 8.125 kB / 433.2 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.5002, allocations: 0 / 433.2 MB, free: 4.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.5004, allocations: 15.98 kB / 433.2 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.269e-06/0.5004, allocations: 0 / 433.2 MB, free: 4.191 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.5005, allocations: 6.812 kB / 433.3 MB, free: 4.188 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.5005, allocations: 4 kB / 433.3 MB, free: 4.184 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.0001141/0.5007, allocations: 116 kB / 433.4 MB, free: 4.066 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001241/0.5008, allocations: 60.84 kB / 433.4 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.5011, allocations: 130.6 kB / 433.6 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.904e-06/0.5011, allocations: 0 / 433.6 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.792e-06/0.5011, allocations: 0 / 433.6 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.963e-06/0.5011, allocations: 4 kB / 433.6 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.5014, allocations: 228.8 kB / 433.8 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.208e-06/0.5014, allocations: 0 / 433.8 MB, free: 3.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.5015, allocations: 11.98 kB / 433.8 MB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.118e-06/0.5015, allocations: 0 / 433.8 MB, free: 3.637 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.5016, allocations: 4 kB / 433.8 MB, free: 3.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.423e-06/0.5016, allocations: 3.953 kB / 433.8 MB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.689e-06/0.5016, allocations: 4 kB / 433.8 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.5019, allocations: 179.2 kB / 434 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.5021, allocations: 116.2 kB / 434.1 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.5021, allocations: 7.375 kB / 434.1 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.5023, allocations: 15.97 kB / 434.1 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.692e-05/0.5023, allocations: 11.88 kB / 434.1 MB, free: 3.281 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.5024, allocations: 7.125 kB / 434.1 MB, free: 3.277 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002666/0.5026, allocations: 190.2 kB / 434.3 MB, free: 3.121 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.18e-07/0.5026, allocations: 0 / 434.3 MB, free: 3.121 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003813/0.503, allocations: 35.36 kB / 434.4 MB, free: 3.09 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.001475/0.5045, allocations: 416.8 kB / 434.8 MB, free: 2.793 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.5048, allocations: 66.23 kB / 434.8 MB, free: 2.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.642e-06/0.5048, allocations: 256 / 434.8 MB, free: 2.746 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.28e-05/0.5049, allocations: 30.88 kB / 434.9 MB, free: 2.723 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004147/0.5053, allocations: 50.98 kB / 434.9 MB, free: 2.684 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005906/0.506, allocations: 231.8 kB / 435.1 MB, free: 2.449 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004236/0.5064, allocations: 0.7388 MB / 435.9 MB, free: 1.691 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.5065, allocations: 17.2 kB / 435.9 MB, free: 1.676 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/0.5066, allocations: 23.42 kB / 435.9 MB, free: 1.652 MB / 346.7 MB Notification: Performance of SimCode: time 3.767e-06/0.5066, allocations: 0 / 435.9 MB, free: 1.652 MB / 346.7 MB Notification: Performance of Templates: time 0.007813/0.5144, allocations: 2.317 MB / 438.2 MB, free: 15.36 MB / 362.7 MB