Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|subSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.348/2.348, allocations: 251.5 MB / 266 MB, free: 0.6914 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.09725/0.09725, allocations: 12.59 MB / 336.6 MB, free: 14.75 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.42e-05/3.423e-05, allocations: 4 kB / 399.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4333/0.4334, allocations: 59.43 MB / 459.2 MB, free: 28.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SubSample): time 0.002318/0.4358, allocations: 1.545 MB / 460.7 MB, free: 27.07 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001639/0.4375, allocations: 0.8354 MB / 461.6 MB, free: 26.23 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.4376, allocations: 4 kB / 461.6 MB, free: 26.22 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000656/0.4383, allocations: 163.5 kB / 461.7 MB, free: 26.06 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.4386, allocations: 83.8 kB / 461.8 MB, free: 25.98 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005711/0.4392, allocations: 143.5 kB / 462 MB, free: 25.84 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001737/0.4393, allocations: 83.84 kB / 462 MB, free: 25.76 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.882e-05/0.4394, allocations: 19.98 kB / 462.1 MB, free: 25.74 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.4396, allocations: 51.78 kB / 462.1 MB, free: 25.69 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001003/0.4397, allocations: 55.81 kB / 462.2 MB, free: 25.63 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.4398, allocations: 31.98 kB / 462.2 MB, free: 25.6 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.227e-05/0.4399, allocations: 4 kB / 462.2 MB, free: 25.6 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.32e-05/0.4399, allocations: 35.84 kB / 462.2 MB, free: 25.56 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.44, allocations: 8 kB / 462.2 MB, free: 25.55 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002457/0.4402, allocations: 158.2 kB / 462.4 MB, free: 25.4 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.4402, allocations: 0 / 462.4 MB, free: 25.4 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4403, allocations: 4 kB / 462.4 MB, free: 25.4 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.4403, allocations: 0 / 462.4 MB, free: 25.4 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.0005957/0.4409, allocations: 452.7 kB / 462.8 MB, free: 24.9 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.4409, allocations: 8.031 kB / 462.9 MB, free: 24.89 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.441, allocations: 23.77 kB / 462.9 MB, free: 24.87 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.4414, allocations: 261.6 kB / 463.1 MB, free: 24.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.4415, allocations: 8 kB / 463.1 MB, free: 24.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.215e-05/0.4415, allocations: 4 kB / 463.1 MB, free: 24.56 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000357/0.4419, allocations: 150.7 kB / 463.3 MB, free: 24.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.4419, allocations: 0 / 463.3 MB, free: 24.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.4419, allocations: 0 / 463.3 MB, free: 24.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.4419, allocations: 7.953 kB / 463.3 MB, free: 24.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000157/0.4421, allocations: 31.92 kB / 463.3 MB, free: 24.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005113/0.4426, allocations: 362.4 kB / 463.7 MB, free: 23.94 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002713/0.4429, allocations: 119.8 kB / 463.8 MB, free: 23.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.049e-05/0.443, allocations: 128 / 463.8 MB, free: 23.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.4432, allocations: 75.34 kB / 463.9 MB, free: 23.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.053e-06/0.4432, allocations: 0 / 463.9 MB, free: 23.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004652/0.4437, allocations: 141.6 kB / 464 MB, free: 23.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.323e-05/0.4437, allocations: 140.5 kB / 464.1 MB, free: 23.4 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003326/0.4441, allocations: 252 kB / 464.4 MB, free: 23.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.4441, allocations: 25.7 kB / 464.4 MB, free: 23.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.206e-05/0.4442, allocations: 116.2 kB / 464.5 MB, free: 23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.899e-05/0.4442, allocations: 15.81 kB / 464.5 MB, free: 22.98 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-06/0.4442, allocations: 4 kB / 464.6 MB, free: 22.98 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 6.761e-05/0.4443, allocations: 326.8 kB / 464.9 MB, free: 22.65 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.425e-05/0.4444, allocations: 24 kB / 464.9 MB, free: 22.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001126/0.4445, allocations: 69.98 kB / 465 MB, free: 22.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.987e-05/0.4447, allocations: 35.97 kB / 465 MB, free: 22.5 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4447, allocations: 3.938 kB / 465 MB, free: 22.5 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002736/0.445, allocations: 109.4 kB / 465.1 MB, free: 22.39 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.445, allocations: 4 kB / 465.1 MB, free: 22.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.445, allocations: 7.953 kB / 465.1 MB, free: 22.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.445, allocations: 3.938 kB / 465.1 MB, free: 22.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001189/0.4452, allocations: 12 kB / 465.1 MB, free: 22.36 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.4452, allocations: 3.984 kB / 465.1 MB, free: 22.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001344/0.4453, allocations: 16.03 kB / 465.2 MB, free: 22.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.4453, allocations: 8 kB / 465.2 MB, free: 22.33 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,sample.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,subSample.y,subSample.u,sample.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.0001323/0.4455, allocations: 147.8 kB / 465.3 MB, free: 22.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.343e-05/0.4456, allocations: 57.81 kB / 465.4 MB, free: 22.12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.165e-05/0.4457, allocations: 21.66 kB / 465.4 MB, free: 22.09 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.4457, allocations: 11.94 kB / 465.4 MB, free: 22.08 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.4457, allocations: 4 kB / 465.4 MB, free: 22.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/0.4457, allocations: 0 / 465.4 MB, free: 22.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.4459, allocations: 221.7 kB / 465.6 MB, free: 21.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.4459, allocations: 4 kB / 465.6 MB, free: 21.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.822e-05/0.446, allocations: 7.938 kB / 465.6 MB, free: 21.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.446, allocations: 0 / 465.6 MB, free: 21.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.363e-05/0.446, allocations: 4 kB / 465.6 MB, free: 21.79 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.446, allocations: 7.984 kB / 465.6 MB, free: 21.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4461, allocations: 3.953 kB / 465.6 MB, free: 21.78 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.4464, allocations: 173.9 kB / 465.8 MB, free: 21.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-05/0.4465, allocations: 116.8 kB / 465.9 MB, free: 21.44 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.17e-05/0.4465, allocations: 0 / 465.9 MB, free: 21.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.4467, allocations: 4 kB / 465.9 MB, free: 21.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.4467, allocations: 11.98 kB / 465.9 MB, free: 21.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.4467, allocations: 4 kB / 465.9 MB, free: 21.42 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002246/0.447, allocations: 196.5 kB / 466.1 MB, free: 21.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.447, allocations: 0 / 466.1 MB, free: 21.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003288/0.4473, allocations: 28 kB / 466.2 MB, free: 21.21 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,sample.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample.y,sample.y,subSample.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001027/0.4484, allocations: 396.9 kB / 466.6 MB, free: 20.87 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002716/0.4487, allocations: 63.86 kB / 466.6 MB, free: 20.81 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4487, allocations: 256 / 466.6 MB, free: 20.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.75e-05/0.4488, allocations: 31.98 kB / 466.6 MB, free: 20.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004525/0.4492, allocations: 62.73 kB / 466.7 MB, free: 20.72 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006103/0.4499, allocations: 328.3 kB / 467 MB, free: 20.37 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.4501, allocations: 0.7361 MB / 467.8 MB, free: 19.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.4502, allocations: 21.53 kB / 467.8 MB, free: 19.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.4503, allocations: 19.44 kB / 467.8 MB, free: 19.57 MB / 346.7 MB Notification: Performance of SimCode: time 6.61e-07/0.4503, allocations: 0 / 467.8 MB, free: 19.57 MB / 346.7 MB Notification: Performance of Templates: time 0.007155/0.4574, allocations: 2.225 MB / 470 MB, free: 17.36 MB / 346.7 MB