Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="backSample1.y|sample.y|shiftSample1.y|time",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample") Notification: Performance of loadModel(Modelica_Synchronous): time 2.53/2.53, allocations: 218.4 MB / 234.2 MB, free: 4.711 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.409e-05, allocations: 4 kB / 287.6 MB, free: 15.18 MB / 250.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3411/0.3412, allocations: 50.37 MB / 338 MB, free: 15.84 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.BackSample): time 0.003123/0.3443, allocations: 1.575 MB / 339.5 MB, free: 14.25 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.002199/0.3466, allocations: 0.8784 MB / 340.4 MB, free: 13.36 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001746/0.3468, allocations: 7.938 kB / 340.4 MB, free: 13.35 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0008864/0.3477, allocations: 155.6 kB / 340.6 MB, free: 13.2 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003598/0.3481, allocations: 87.73 kB / 340.7 MB, free: 13.11 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007562/0.3489, allocations: 151.5 kB / 340.8 MB, free: 12.96 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002666/0.3491, allocations: 87.83 kB / 340.9 MB, free: 12.88 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.3493, allocations: 15.98 kB / 340.9 MB, free: 12.86 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.3494, allocations: 59.78 kB / 341 MB, free: 12.8 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001338/0.3496, allocations: 55.77 kB / 341 MB, free: 12.75 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001698/0.3497, allocations: 35.97 kB / 341.1 MB, free: 12.71 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.3498, allocations: 4 kB / 341.1 MB, free: 12.71 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 7.802e-05/0.3499, allocations: 35.91 kB / 341.1 MB, free: 12.68 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 4.317e-05/0.3499, allocations: 8 kB / 341.1 MB, free: 12.67 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003115/0.3503, allocations: 161.4 kB / 341.3 MB, free: 12.51 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.3503, allocations: 0 / 341.3 MB, free: 12.51 MB / 282.8 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3503, allocations: 0 / 341.3 MB, free: 12.51 MB / 282.8 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.3503, allocations: 0 / 341.3 MB, free: 12.51 MB / 282.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007635/0.3511, allocations: 460.6 kB / 341.7 MB, free: 12.01 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.3511, allocations: 12.03 kB / 341.7 MB, free: 12 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.331e-05/0.3512, allocations: 19.72 kB / 341.7 MB, free: 11.98 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.3517, allocations: 269.7 kB / 342 MB, free: 11.67 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/0.3518, allocations: 7.938 kB / 342 MB, free: 11.66 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.042e-05/0.3518, allocations: 11.94 kB / 342 MB, free: 11.65 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004691/0.3523, allocations: 175.5 kB / 342.2 MB, free: 11.45 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.3523, allocations: 4 kB / 342.2 MB, free: 11.45 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.735e-05/0.3523, allocations: 0 / 342.2 MB, free: 11.45 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.3524, allocations: 0 / 342.2 MB, free: 11.45 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.3525, allocations: 39.92 kB / 342.2 MB, free: 11.41 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007127/0.3533, allocations: 379.2 kB / 342.6 MB, free: 10.98 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003505/0.3536, allocations: 130.5 kB / 342.7 MB, free: 10.82 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 3.839e-05/0.3537, allocations: 8 kB / 342.7 MB, free: 10.81 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.3539, allocations: 71.45 kB / 342.8 MB, free: 10.73 MB / 282.8 MB Notification: Performance of pre-optimization done (n=11): time 2.395e-06/0.3539, allocations: 0 / 342.8 MB, free: 10.73 MB / 282.8 MB Notification: Performance of matching and sorting (n=11): time 0.0005532/0.3545, allocations: 161.2 kB / 343 MB, free: 10.56 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.3546, allocations: 166.6 kB / 343.1 MB, free: 10.36 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004169/0.3551, allocations: 252 kB / 343.4 MB, free: 10.11 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.3551, allocations: 29.7 kB / 343.4 MB, free: 10.08 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.3552, allocations: 174.8 kB / 343.6 MB, free: 9.906 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.3553, allocations: 27.8 kB / 343.6 MB, free: 9.879 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.3553, allocations: 0 / 343.6 MB, free: 9.879 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3554, allocations: 310.8 kB / 343.9 MB, free: 9.566 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001041/0.3555, allocations: 31.98 kB / 343.9 MB, free: 9.535 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.3557, allocations: 83.66 kB / 344 MB, free: 9.426 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001263/0.3559, allocations: 36.02 kB / 344.1 MB, free: 9.391 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3559, allocations: 0 / 344.1 MB, free: 9.391 MB / 282.8 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003331/0.3562, allocations: 113.5 kB / 344.2 MB, free: 9.273 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/0.3562, allocations: 6.5 kB / 344.2 MB, free: 9.27 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.3563, allocations: 0 / 344.2 MB, free: 9.27 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3563, allocations: 7.938 kB / 344.2 MB, free: 9.262 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001334/0.3564, allocations: 20.48 kB / 344.2 MB, free: 9.242 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3565, allocations: 0 / 344.2 MB, free: 9.242 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001604/0.3566, allocations: 16 kB / 344.2 MB, free: 9.227 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.3567, allocations: 7.953 kB / 344.2 MB, free: 9.219 MB / 282.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001925/0.3569, allocations: 141.8 kB / 344.4 MB, free: 9.07 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001875/0.3571, allocations: 85.33 kB / 344.5 MB, free: 8.98 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.16e-05/0.3572, allocations: 25.8 kB / 344.5 MB, free: 8.949 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.3572, allocations: 4 kB / 344.5 MB, free: 8.945 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.3572, allocations: 4 kB / 344.5 MB, free: 8.941 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.882e-06/0.3572, allocations: 0 / 344.5 MB, free: 8.941 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003036/0.3575, allocations: 233.5 kB / 344.7 MB, free: 8.664 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3575, allocations: 0 / 344.7 MB, free: 8.664 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.623e-05/0.3576, allocations: 8 kB / 344.7 MB, free: 8.656 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.436e-06/0.3576, allocations: 4 kB / 344.7 MB, free: 8.652 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.3577, allocations: 7.922 kB / 344.7 MB, free: 8.645 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.566e-06/0.3577, allocations: 0 / 344.7 MB, free: 8.645 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.3577, allocations: 7.938 kB / 344.7 MB, free: 8.637 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004465/0.3581, allocations: 208.4 kB / 344.9 MB, free: 8.387 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.3583, allocations: 108.9 kB / 345.1 MB, free: 8.262 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.952e-05/0.3584, allocations: 11.98 kB / 345.1 MB, free: 8.25 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.3585, allocations: 7.953 kB / 345.1 MB, free: 8.242 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.019e-05/0.3586, allocations: 4 kB / 345.1 MB, free: 8.238 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.3586, allocations: 7.984 kB / 345.1 MB, free: 8.23 MB / 282.8 MB Notification: Performance of sorting global known variables: time 0.0003124/0.3589, allocations: 200.5 kB / 345.3 MB, free: 8.031 MB / 282.8 MB Notification: Performance of sort global known variables: time 4e-07/0.3589, allocations: 0 / 345.3 MB, free: 8.031 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.000367/0.3593, allocations: 32 kB / 345.3 MB, free: 8 MB / 282.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,sample.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001192/0.3605, allocations: 400.5 kB / 345.7 MB, free: 7.656 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0003711/0.3609, allocations: 71.91 kB / 345.8 MB, free: 7.586 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.3609, allocations: 4 kB / 345.8 MB, free: 7.582 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001425/0.3611, allocations: 27.92 kB / 345.8 MB, free: 7.555 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005908/0.3617, allocations: 68.84 kB / 345.9 MB, free: 7.492 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009115/0.3626, allocations: 398.3 kB / 346.3 MB, free: 7.062 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.363, allocations: 0.7362 MB / 347 MB, free: 6.301 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/0.3631, allocations: 23.42 kB / 347 MB, free: 6.277 MB / 282.8 MB Notification: Performance of SimCode: time 1.332e-06/0.3631, allocations: 4 kB / 347 MB, free: 6.273 MB / 282.8 MB Notification: Performance of Templates: time 0.007709/0.3709, allocations: 2.757 MB / 349.8 MB, free: 3.52 MB / 282.8 MB