Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked") Notification: Performance of loadModel(Modelica_Synchronous): time 2.371/2.371, allocations: 218.4 MB / 234.2 MB, free: 4.598 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.736e-05/2.747e-05, allocations: 4 kB / 287.6 MB, free: 15.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3316, allocations: 50.37 MB / 338 MB, free: 15.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.SampleVectorizedAndClocked): time 0.003574/0.3353, allocations: 1.231 MB / 339.2 MB, free: 14.59 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006841/0.336, allocations: 139.6 kB / 339.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.3362, allocations: 0 / 339.3 MB, free: 14.45 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.3363, allocations: 11.92 kB / 339.3 MB, free: 14.44 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.3364, allocations: 7.984 kB / 339.4 MB, free: 14.43 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003947/0.3369, allocations: 39.89 kB / 339.4 MB, free: 14.39 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001287/0.337, allocations: 19.98 kB / 339.4 MB, free: 14.37 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.3372, allocations: 15.92 kB / 339.4 MB, free: 14.36 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.025e-05/0.3372, allocations: 11.92 kB / 339.4 MB, free: 14.34 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.852e-05/0.3373, allocations: 15.92 kB / 339.5 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.423e-05/0.3374, allocations: 0 / 339.5 MB, free: 14.33 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.503e-05/0.3374, allocations: 4 kB / 339.5 MB, free: 14.32 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.471e-05/0.3375, allocations: 11.92 kB / 339.5 MB, free: 14.31 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.82e-05/0.3375, allocations: 8 kB / 339.5 MB, free: 14.3 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.3377, allocations: 27.95 kB / 339.5 MB, free: 14.28 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.3377, allocations: 4 kB / 339.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.3377, allocations: 0 / 339.5 MB, free: 14.27 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.3378, allocations: 0 / 339.5 MB, free: 14.27 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.0007997/0.3386, allocations: 365 kB / 339.9 MB, free: 13.87 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.668e-05/0.3387, allocations: 12.03 kB / 339.9 MB, free: 13.86 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.619e-05/0.3388, allocations: 7.906 kB / 339.9 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003788/0.3392, allocations: 194.8 kB / 340.1 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.3392, allocations: 7.938 kB / 340.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.79e-05/0.3393, allocations: 4 kB / 340.1 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006255/0.3399, allocations: 117.9 kB / 340.2 MB, free: 13.47 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.34, allocations: 8 kB / 340.2 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.34, allocations: 0 / 340.2 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.435e-05/0.34, allocations: 0 / 340.2 MB, free: 13.46 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.3404, allocations: 47.91 kB / 340.3 MB, free: 13.42 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009109/0.3414, allocations: 385.7 kB / 340.6 MB, free: 12.98 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003629/0.3418, allocations: 91.77 kB / 340.7 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.3418, allocations: 0 / 340.7 MB, free: 12.87 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/0.3419, allocations: 34.62 kB / 340.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 3.637e-06/0.3419, allocations: 0 / 340.8 MB, free: 12.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0009694/0.3429, allocations: 194.7 kB / 340.9 MB, free: 12.61 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.3431, allocations: 114.8 kB / 341.1 MB, free: 12.47 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003182/0.3434, allocations: 132.7 kB / 341.2 MB, free: 12.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/0.3435, allocations: 29.98 kB / 341.2 MB, free: 12.3 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.3436, allocations: 154.6 kB / 341.4 MB, free: 12.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.3437, allocations: 7.906 kB / 341.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-06/0.3437, allocations: 0 / 341.4 MB, free: 12.14 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002013/0.3439, allocations: 314.8 kB / 341.7 MB, free: 11.82 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002082/0.3441, allocations: 23.98 kB / 341.7 MB, free: 11.8 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.3444, allocations: 39.42 kB / 341.7 MB, free: 11.75 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.3445, allocations: 27.97 kB / 341.8 MB, free: 11.72 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.3445, allocations: 0 / 341.8 MB, free: 11.72 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003284/0.3449, allocations: 93.55 kB / 341.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.3449, allocations: 4 kB / 341.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.3449, allocations: 0 / 341.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.549e-05/0.345, allocations: 4 kB / 341.9 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.3451, allocations: 16.11 kB / 341.9 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.3451, allocations: 0 / 341.9 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.083e-05/0.3452, allocations: 8 kB / 341.9 MB, free: 11.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.3453, allocations: 0 / 341.9 MB, free: 11.59 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[2],sample.u[1],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.0001676/0.3454, allocations: 125.8 kB / 342 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.3456, allocations: 57.53 kB / 342.1 MB, free: 11.4 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.495e-05/0.3456, allocations: 15.83 kB / 342.1 MB, free: 11.38 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.024e-05/0.3457, allocations: 12.02 kB / 342.1 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.85e-06/0.3457, allocations: 0 / 342.1 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3457, allocations: 0 / 342.1 MB, free: 11.37 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003279/0.3461, allocations: 177.5 kB / 342.3 MB, free: 11.15 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.915e-06/0.3461, allocations: 7.938 kB / 342.3 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.42e-05/0.3462, allocations: 4 kB / 342.3 MB, free: 11.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.206e-06/0.3462, allocations: 7.984 kB / 342.3 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.3462, allocations: 0 / 342.3 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.3462, allocations: 0 / 342.3 MB, free: 11.13 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/0.3463, allocations: 8 kB / 342.3 MB, free: 11.12 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004533/0.3467, allocations: 307 kB / 342.6 MB, free: 10.79 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.4e-05/0.3468, allocations: 93 kB / 342.7 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.162e-05/0.3469, allocations: 0 / 342.7 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000154/0.347, allocations: 8 kB / 342.7 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.298e-05/0.3471, allocations: 3.984 kB / 342.7 MB, free: 10.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.114e-05/0.3471, allocations: 3.953 kB / 342.7 MB, free: 10.66 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001395/0.3473, allocations: 110.9 kB / 342.8 MB, free: 10.56 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.3473, allocations: 0 / 342.8 MB, free: 10.56 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003474/0.3476, allocations: 15.92 kB / 342.8 MB, free: 10.54 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[2],sample.u[1],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.0001526/0.3478, allocations: 103.2 kB / 342.9 MB, free: 10.43 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003209/0.3481, allocations: 51.91 kB / 343 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3482, allocations: 256 / 343 MB, free: 10.38 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.3483, allocations: 27.98 kB / 343 MB, free: 10.35 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004024/0.3487, allocations: 27.81 kB / 343 MB, free: 10.32 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000534/0.3493, allocations: 220.3 kB / 343.3 MB, free: 10.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003738/0.3496, allocations: 0.6965 MB / 343.9 MB, free: 9.344 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.3497, allocations: 7.438 kB / 344 MB, free: 9.336 MB / 282.7 MB Notification: Performance of SimCode: time 1.873e-06/0.3497, allocations: 4 kB / 344 MB, free: 9.332 MB / 282.7 MB Notification: Performance of Templates: time 0.003033/0.3528, allocations: 0.8145 MB / 344.8 MB, free: 8.52 MB / 282.7 MB