Running command: translateModel(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.|step1.y|step2.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadModel(Modelica_Synchronous): time 2.238/2.238, allocations: 218.4 MB / 234.2 MB, free: 4.629 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.038e-05/3.037e-05, allocations: 4 kB / 287.6 MB, free: 15.1 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3187/0.3188, allocations: 50.37 MB / 338 MB, free: 15.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.002219/0.3211, allocations: 1.219 MB / 339.2 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004336/0.3215, allocations: 139.6 kB / 339.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.356e-05/0.3216, allocations: 4 kB / 339.3 MB, free: 14.48 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.67e-05/0.3217, allocations: 7.922 kB / 339.3 MB, free: 14.47 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.108e-05/0.3218, allocations: 7.984 kB / 339.3 MB, free: 14.46 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.3221, allocations: 35.91 kB / 339.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.289e-05/0.3222, allocations: 19.97 kB / 339.4 MB, free: 14.41 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.892e-05/0.3223, allocations: 7.938 kB / 339.4 MB, free: 14.4 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.341e-05/0.3223, allocations: 15.92 kB / 339.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.763e-05/0.3224, allocations: 7.938 kB / 339.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.413e-05/0.3224, allocations: 4 kB / 339.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.366e-05/0.3224, allocations: 0 / 339.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.872e-05/0.3225, allocations: 11.98 kB / 339.4 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.542e-05/0.3225, allocations: 8 kB / 339.5 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.906e-05/0.3226, allocations: 39.92 kB / 339.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.3226, allocations: 0 / 339.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.699e-06/0.3226, allocations: 0 / 339.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3227, allocations: 3.938 kB / 339.5 MB, free: 14.31 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004732/0.3231, allocations: 353.1 kB / 339.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.3232, allocations: 11.97 kB / 339.9 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.058e-05/0.3232, allocations: 7.906 kB / 339.9 MB, free: 13.9 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.3235, allocations: 186.9 kB / 340 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.3235, allocations: 4 kB / 340 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.3236, allocations: 7.953 kB / 340.1 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003562/0.3239, allocations: 121.9 kB / 340.2 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.324, allocations: 0 / 340.2 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.324, allocations: 0 / 340.2 MB, free: 13.53 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.272e-05/0.324, allocations: 11.98 kB / 340.2 MB, free: 13.52 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001582/0.3242, allocations: 31.92 kB / 340.2 MB, free: 13.48 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.3247, allocations: 373.8 kB / 340.6 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.3249, allocations: 75.78 kB / 340.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.325, allocations: 0 / 340.7 MB, free: 12.96 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.325, allocations: 38.5 kB / 340.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.533e-06/0.325, allocations: 0 / 340.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004871/0.3255, allocations: 182.7 kB / 340.9 MB, free: 12.71 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.906e-05/0.3256, allocations: 103.2 kB / 341 MB, free: 12.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001513/0.3258, allocations: 130.7 kB / 341.1 MB, free: 12.45 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3258, allocations: 25.7 kB / 341.1 MB, free: 12.42 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.759e-05/0.3259, allocations: 158.5 kB / 341.3 MB, free: 12.26 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.817e-05/0.3259, allocations: 7.906 kB / 341.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/0.3259, allocations: 0 / 341.3 MB, free: 12.25 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.3261, allocations: 314.8 kB / 341.6 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.001e-05/0.3262, allocations: 12 kB / 341.6 MB, free: 11.93 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.816e-05/0.3263, allocations: 43.41 kB / 341.6 MB, free: 11.87 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.536e-05/0.3264, allocations: 19.98 kB / 341.7 MB, free: 11.85 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.3264, allocations: 3.953 kB / 341.7 MB, free: 11.85 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002477/0.3267, allocations: 77.61 kB / 341.7 MB, free: 11.77 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.3267, allocations: 6.188 kB / 341.8 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.485e-06/0.3267, allocations: 0 / 341.8 MB, free: 11.76 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.3268, allocations: 7.938 kB / 341.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.671e-05/0.3268, allocations: 0 / 341.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.3268, allocations: 4 kB / 341.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.037e-05/0.3269, allocations: 0 / 341.8 MB, free: 11.75 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/0.3269, allocations: 4 kB / 341.8 MB, free: 11.75 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 (sample.u[1],sample.u[2],sample.y[2],sample.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001436/0.3271, allocations: 126 kB / 341.9 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001368/0.3272, allocations: 57.55 kB / 341.9 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.161e-05/0.3273, allocations: 11.83 kB / 342 MB, free: 11.54 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-05/0.3273, allocations: 11.88 kB / 342 MB, free: 11.53 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.3273, allocations: 3.984 kB / 342 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.3273, allocations: 4 kB / 342 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003244/0.3277, allocations: 169.6 kB / 342.1 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.3277, allocations: 8 kB / 342.2 MB, free: 11.3 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.349e-05/0.3277, allocations: 7.984 kB / 342.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.3277, allocations: 0 / 342.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.3277, allocations: 4 kB / 342.2 MB, free: 11.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.3278, allocations: 3.938 kB / 342.2 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3278, allocations: 0 / 342.2 MB, free: 11.28 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000405/0.3282, allocations: 290.9 kB / 342.5 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-05/0.3283, allocations: 89.02 kB / 342.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.528e-05/0.3283, allocations: 3.984 kB / 342.5 MB, free: 10.86 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.3285, allocations: 4 kB / 342.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.3285, allocations: 4 kB / 342.6 MB, free: 10.85 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3285, allocations: 0 / 342.6 MB, free: 10.85 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001096/0.3287, allocations: 111.2 kB / 342.7 MB, free: 10.74 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3287, allocations: 0 / 342.7 MB, free: 10.74 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003574/0.329, allocations: 7.938 kB / 342.7 MB, free: 10.73 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: 4 (sample.u[1],sample.u[2],sample.y[1],sample.y[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0001445/0.3292, allocations: 99.25 kB / 342.8 MB, free: 10.62 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002434/0.3295, allocations: 43.91 kB / 342.8 MB, free: 10.58 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3295, allocations: 4.25 kB / 342.8 MB, free: 10.57 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.308e-05/0.3296, allocations: 12 kB / 342.8 MB, free: 10.56 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.33, allocations: 27.83 kB / 342.8 MB, free: 10.54 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.3305, allocations: 224 kB / 343.1 MB, free: 10.27 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.3308, allocations: 0.6926 MB / 343.8 MB, free: 9.555 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.754e-05/0.3308, allocations: 11.44 kB / 343.8 MB, free: 9.543 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.3309, allocations: 0 / 343.8 MB, free: 9.543 MB / 282.7 MB Notification: Performance of Templates: time 0.002979/0.3338, allocations: 0.8024 MB / 344.6 MB, free: 8.742 MB / 282.7 MB