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_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample") Notification: Performance of loadModel(Modelica_Synchronous): time 2.342/2.342, allocations: 218.4 MB / 234.2 MB, free: 4.629 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.854e-05/2.844e-05, allocations: 0 / 287.6 MB, free: 15.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3291, allocations: 50.37 MB / 338 MB, free: 15.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SuperSample): time 0.003031/0.3322, allocations: 1.548 MB / 339.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002078/0.3343, allocations: 0.8706 MB / 340.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001798/0.3346, allocations: 4 kB / 340.4 MB, free: 13.42 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007278/0.3353, allocations: 151.6 kB / 340.5 MB, free: 13.27 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003064/0.3356, allocations: 83.8 kB / 340.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006831/0.3363, allocations: 147.5 kB / 340.8 MB, free: 13.04 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.3366, allocations: 87.83 kB / 340.8 MB, free: 12.96 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.536e-05/0.3367, allocations: 15.98 kB / 340.9 MB, free: 12.94 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.3368, allocations: 51.78 kB / 340.9 MB, free: 12.89 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001221/0.3369, allocations: 51.83 kB / 341 MB, free: 12.84 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.3371, allocations: 31.98 kB / 341 MB, free: 12.81 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.3372, allocations: 8 kB / 341 MB, free: 12.8 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 7.592e-05/0.3372, allocations: 39.83 kB / 341 MB, free: 12.76 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.3373, allocations: 8 kB / 341.1 MB, free: 12.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.3376, allocations: 149.5 kB / 341.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.3376, allocations: 0 / 341.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3376, allocations: 4 kB / 341.2 MB, free: 12.61 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.3376, allocations: 0 / 341.2 MB, free: 12.61 MB / 282.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.0007944/0.3385, allocations: 455.9 kB / 341.6 MB, free: 12.11 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.856e-05/0.3385, allocations: 8.031 kB / 341.7 MB, free: 12.1 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.773e-05/0.3386, allocations: 27.75 kB / 341.7 MB, free: 12.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004871/0.3391, allocations: 269.5 kB / 341.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.3391, allocations: 8 kB / 342 MB, free: 11.76 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.411e-05/0.3392, allocations: 4 kB / 342 MB, free: 11.76 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004091/0.3396, allocations: 142.7 kB / 342.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3396, allocations: 0 / 342.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.3397, allocations: 0 / 342.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.3397, allocations: 4 kB / 342.1 MB, free: 11.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.3398, allocations: 31.92 kB / 342.1 MB, free: 11.56 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006576/0.3405, allocations: 370.4 kB / 342.5 MB, free: 11.14 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003171/0.3408, allocations: 107.9 kB / 342.6 MB, free: 11.01 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.3409, allocations: 8.125 kB / 342.6 MB, free: 11 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.3411, allocations: 79.38 kB / 342.7 MB, free: 10.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.344e-06/0.3412, allocations: 0 / 342.7 MB, free: 10.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005149/0.3417, allocations: 145.2 kB / 342.8 MB, free: 10.76 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.734e-05/0.3418, allocations: 128.5 kB / 343 MB, free: 10.61 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004172/0.3422, allocations: 256.3 kB / 343.2 MB, free: 10.35 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.3423, allocations: 29.7 kB / 343.2 MB, free: 10.32 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001125/0.3424, allocations: 166.6 kB / 343.4 MB, free: 10.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.984e-05/0.3424, allocations: 19.8 kB / 343.4 MB, free: 10.13 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.424e-06/0.3425, allocations: 0 / 343.4 MB, free: 10.13 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3426, allocations: 318.8 kB / 343.7 MB, free: 9.812 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/0.3427, allocations: 19.98 kB / 343.7 MB, free: 9.793 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001442/0.3429, allocations: 73.94 kB / 343.8 MB, free: 9.699 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.343, allocations: 20 kB / 343.8 MB, free: 9.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.343, allocations: 0 / 343.8 MB, free: 9.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003046/0.3433, allocations: 105.6 kB / 343.9 MB, free: 9.57 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.3434, allocations: 11.97 kB / 343.9 MB, free: 9.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.3434, allocations: 4 kB / 344 MB, free: 9.555 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.3434, allocations: 0 / 344 MB, free: 9.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.3436, allocations: 19.98 kB / 344 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3436, allocations: 0 / 344 MB, free: 9.535 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/0.3437, allocations: 8 kB / 344 MB, free: 9.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.798e-05/0.3437, allocations: 7.953 kB / 344 MB, free: 9.52 MB / 282.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.0001804/0.3439, allocations: 145.7 kB / 344.1 MB, free: 9.367 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.3441, allocations: 65.41 kB / 344.2 MB, free: 9.297 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.338e-05/0.3442, allocations: 25.7 kB / 344.2 MB, free: 9.266 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.3442, allocations: 4 kB / 344.2 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.3442, allocations: 0 / 344.2 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3442, allocations: 0 / 344.2 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.3445, allocations: 229.5 kB / 344.4 MB, free: 8.988 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3445, allocations: 3.938 kB / 344.5 MB, free: 8.984 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.381e-05/0.3446, allocations: 11.98 kB / 344.5 MB, free: 8.973 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.3446, allocations: 0 / 344.5 MB, free: 8.973 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.3446, allocations: 64 / 344.5 MB, free: 8.973 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.3446, allocations: 8.312 kB / 344.5 MB, free: 8.965 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.3446, allocations: 0 / 344.5 MB, free: 8.965 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003705/0.345, allocations: 178 kB / 344.6 MB, free: 8.754 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.3452, allocations: 120.8 kB / 344.8 MB, free: 8.617 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.3452, allocations: 4 kB / 344.8 MB, free: 8.613 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.3453, allocations: 7.984 kB / 344.8 MB, free: 8.605 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.3454, allocations: 7.953 kB / 344.8 MB, free: 8.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.3454, allocations: 4 kB / 344.8 MB, free: 8.594 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002822/0.3457, allocations: 192.5 kB / 345 MB, free: 8.402 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.3457, allocations: 0 / 345 MB, free: 8.402 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003297/0.3461, allocations: 31.98 kB / 345 MB, free: 8.371 MB / 282.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.001193/0.3473, allocations: 407.3 kB / 345.4 MB, free: 8.023 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.3476, allocations: 63.91 kB / 345.5 MB, free: 7.961 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3476, allocations: 0 / 345.5 MB, free: 7.961 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001088/0.3477, allocations: 24 kB / 345.5 MB, free: 7.938 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004954/0.3482, allocations: 56.3 kB / 345.5 MB, free: 7.883 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007903/0.349, allocations: 366.3 kB / 345.9 MB, free: 7.488 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003594/0.3494, allocations: 0.7283 MB / 346.6 MB, free: 6.734 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/0.3495, allocations: 27.42 kB / 346.7 MB, free: 6.707 MB / 282.7 MB Notification: Performance of SimCode: time 6.11e-07/0.3495, allocations: 0 / 346.7 MB, free: 6.707 MB / 282.7 MB Notification: Performance of Templates: time 0.006839/0.3564, allocations: 2.566 MB / 349.2 MB, free: 4.141 MB / 282.7 MB