Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadModel(Modelica_LinearSystems2): time 2.426/2.426, allocations: 251.5 MB / 266 MB, free: 0.6797 MB / 218.7 MB Notification: Performance of loadModel(Modelica_Synchronous): time 0.1004/0.1004, allocations: 12.59 MB / 336.6 MB, free: 14.74 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.557e-05, allocations: 8 kB / 399.8 MB, free: 15.46 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3628, allocations: 59.42 MB / 459.2 MB, free: 28.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample): time 0.002305/0.3652, allocations: 1.561 MB / 460.7 MB, free: 27.05 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001647/0.3669, allocations: 0.8588 MB / 461.6 MB, free: 26.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.367, allocations: 8 kB / 461.6 MB, free: 26.17 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006285/0.3677, allocations: 155.6 kB / 461.8 MB, free: 26.02 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002501/0.3679, allocations: 83.75 kB / 461.8 MB, free: 25.94 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005797/0.3685, allocations: 139.6 kB / 462 MB, free: 25.8 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001698/0.3687, allocations: 79.84 kB / 462.1 MB, free: 25.72 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.174e-05/0.3688, allocations: 31.89 kB / 462.1 MB, free: 25.69 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.637e-05/0.3689, allocations: 47.84 kB / 462.1 MB, free: 25.64 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.369, allocations: 55.83 kB / 462.2 MB, free: 25.59 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001266/0.3692, allocations: 31.92 kB / 462.2 MB, free: 25.56 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.329e-05/0.3692, allocations: 4 kB / 462.2 MB, free: 25.55 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.192e-05/0.3693, allocations: 39.84 kB / 462.3 MB, free: 25.52 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.544e-05/0.3693, allocations: 8 kB / 462.3 MB, free: 25.51 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.3696, allocations: 146.3 kB / 462.4 MB, free: 25.37 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.3696, allocations: 4 kB / 462.4 MB, free: 25.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.477e-06/0.3696, allocations: 7.984 kB / 462.4 MB, free: 25.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.064e-05/0.3696, allocations: 0 / 462.4 MB, free: 25.36 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.0005617/0.3702, allocations: 456.5 kB / 462.9 MB, free: 24.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.3703, allocations: 8.031 kB / 462.9 MB, free: 24.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.625e-05/0.3703, allocations: 23.77 kB / 462.9 MB, free: 24.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003746/0.3707, allocations: 257.7 kB / 463.2 MB, free: 24.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/0.3707, allocations: 8 kB / 463.2 MB, free: 24.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.3708, allocations: 12 kB / 463.2 MB, free: 24.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.3711, allocations: 146.7 kB / 463.3 MB, free: 24.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3711, allocations: 0 / 463.3 MB, free: 24.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3712, allocations: 7.938 kB / 463.3 MB, free: 24.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.3712, allocations: 3.953 kB / 463.3 MB, free: 24.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001267/0.3713, allocations: 31.98 kB / 463.4 MB, free: 24.3 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.3718, allocations: 362.4 kB / 463.7 MB, free: 23.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.3721, allocations: 107.9 kB / 463.8 MB, free: 23.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.879e-05/0.3721, allocations: 7.938 kB / 463.8 MB, free: 23.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/0.3723, allocations: 75.47 kB / 463.9 MB, free: 23.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.905e-06/0.3723, allocations: 7.938 kB / 463.9 MB, free: 23.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004308/0.3728, allocations: 133.4 kB / 464 MB, free: 23.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.3729, allocations: 132.5 kB / 464.2 MB, free: 23.36 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003299/0.3732, allocations: 248 kB / 464.4 MB, free: 23.11 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3732, allocations: 33.7 kB / 464.4 MB, free: 23.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.07e-05/0.3733, allocations: 120.2 kB / 464.6 MB, free: 22.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.3734, allocations: 12.06 kB / 464.6 MB, free: 22.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.3734, allocations: 4 kB / 464.6 MB, free: 22.94 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.075e-05/0.3735, allocations: 330.8 kB / 464.9 MB, free: 22.61 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.633e-05/0.3735, allocations: 23.92 kB / 464.9 MB, free: 22.58 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.3737, allocations: 69.94 kB / 465 MB, free: 22.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.884e-05/0.3738, allocations: 36.02 kB / 465 MB, free: 22.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3738, allocations: 0 / 465 MB, free: 22.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002692/0.3741, allocations: 113.4 kB / 465.1 MB, free: 22.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.3741, allocations: 9.094 kB / 465.1 MB, free: 22.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.3741, allocations: 3.953 kB / 465.2 MB, free: 22.33 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.3741, allocations: 0 / 465.2 MB, free: 22.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.3743, allocations: 16.12 kB / 465.2 MB, free: 22.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.3743, allocations: 0 / 465.2 MB, free: 22.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/0.3744, allocations: 15.89 kB / 465.2 MB, free: 22.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3744, allocations: 7.984 kB / 465.2 MB, free: 22.29 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,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample.y,superSample.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.0001236/0.3746, allocations: 154 kB / 465.3 MB, free: 22.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.098e-05/0.3747, allocations: 53.52 kB / 465.4 MB, free: 22.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.132e-05/0.3748, allocations: 29.64 kB / 465.4 MB, free: 22.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.3748, allocations: 8.016 kB / 465.4 MB, free: 22.03 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3748, allocations: 4 kB / 465.4 MB, free: 22.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.3748, allocations: 0 / 465.4 MB, free: 22.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.375, allocations: 221.6 kB / 465.7 MB, free: 21.76 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.375, allocations: 4 kB / 465.7 MB, free: 21.75 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.773e-05/0.3751, allocations: 4 kB / 465.7 MB, free: 21.75 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.3751, allocations: 0 / 465.7 MB, free: 21.75 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.3751, allocations: 8 kB / 465.7 MB, free: 21.74 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3751, allocations: 0 / 465.7 MB, free: 21.74 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3751, allocations: 3.953 kB / 465.7 MB, free: 21.74 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.3754, allocations: 185.8 kB / 465.9 MB, free: 21.52 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.023e-05/0.3755, allocations: 108.8 kB / 466 MB, free: 21.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.336e-05/0.3756, allocations: 11.98 kB / 466 MB, free: 21.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.3757, allocations: 4 kB / 466 MB, free: 21.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/0.3757, allocations: 7.984 kB / 466 MB, free: 21.37 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.751e-05/0.3758, allocations: 4 kB / 466 MB, free: 21.37 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002193/0.376, allocations: 200.4 kB / 466.2 MB, free: 21.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.376, allocations: 0 / 466.2 MB, free: 21.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003094/0.3763, allocations: 24 kB / 466.2 MB, free: 21.15 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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample.y,sample.y,superSample.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.00106/0.3774, allocations: 399 kB / 466.6 MB, free: 20.82 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002746/0.3777, allocations: 67.91 kB / 466.7 MB, free: 20.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3777, allocations: 0 / 466.7 MB, free: 20.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.723e-05/0.3778, allocations: 27.98 kB / 466.7 MB, free: 20.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004555/0.3783, allocations: 56.38 kB / 466.7 MB, free: 20.67 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006141/0.3789, allocations: 324.5 kB / 467.1 MB, free: 20.32 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.3791, allocations: 0.7361 MB / 467.8 MB, free: 19.56 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001001/0.3792, allocations: 25.52 kB / 467.8 MB, free: 19.54 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.3793, allocations: 19.44 kB / 467.8 MB, free: 19.52 MB / 346.7 MB Notification: Performance of SimCode: time 7.51e-07/0.3793, allocations: 0 / 467.8 MB, free: 19.52 MB / 346.7 MB Notification: Performance of Templates: time 0.007193/0.3865, allocations: 2.23 MB / 470.1 MB, free: 17.3 MB / 346.7 MB