Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y.1.|sample.y.2.",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadModel(Modelica_Synchronous): time 2.281/2.281, allocations: 218.4 MB / 234.2 MB, free: 4.707 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 3.311e-05/3.319e-05, allocations: 4 kB / 287.6 MB, free: 15.17 MB / 250.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3283, allocations: 50.36 MB / 338 MB, free: 15.96 MB / 282.8 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002424/0.3308, allocations: 1.302 MB / 339.3 MB, free: 14.64 MB / 282.8 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.3319, allocations: 476 kB / 339.7 MB, free: 14.16 MB / 282.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.18e-05/0.332, allocations: 4 kB / 339.7 MB, free: 14.16 MB / 282.8 MB Notification: Performance of NFTyping.typeComponents: time 7.981e-05/0.3321, allocations: 3.938 kB / 339.7 MB, free: 14.16 MB / 282.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001137/0.3322, allocations: 15.91 kB / 339.8 MB, free: 14.14 MB / 282.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002836/0.3325, allocations: 47.81 kB / 339.8 MB, free: 14.09 MB / 282.8 MB Notification: Performance of NFFlatten.flatten: time 9.681e-05/0.3326, allocations: 27.91 kB / 339.8 MB, free: 14.07 MB / 282.8 MB Notification: Performance of NFFlatten.resolveConnections: time 9.21e-05/0.3328, allocations: 12 kB / 339.8 MB, free: 14.05 MB / 282.8 MB Notification: Performance of NFEvalConstants.evaluate: time 8.401e-05/0.3328, allocations: 19.97 kB / 339.9 MB, free: 14.04 MB / 282.8 MB Notification: Performance of NFSimplifyModel.simplify: time 7.641e-05/0.3329, allocations: 19.92 kB / 339.9 MB, free: 14.02 MB / 282.8 MB Notification: Performance of NFFlatten.collectFunctions: time 1.815e-05/0.333, allocations: 4 kB / 339.9 MB, free: 14.01 MB / 282.8 MB Notification: Performance of NFPackage.collectConstants: time 1.933e-05/0.333, allocations: 0 / 339.9 MB, free: 14.01 MB / 282.8 MB Notification: Performance of NFScalarize.scalarize: time 4.449e-05/0.3331, allocations: 15.92 kB / 339.9 MB, free: 14 MB / 282.8 MB Notification: Performance of NFVerifyModel.verify: time 2.101e-05/0.3331, allocations: 4 kB / 339.9 MB, free: 13.99 MB / 282.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.3332, allocations: 43.91 kB / 340 MB, free: 13.95 MB / 282.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3332, allocations: 0 / 340 MB, free: 13.95 MB / 282.8 MB Notification: Performance of FrontEnd: time 3.186e-06/0.3332, allocations: 0 / 340 MB, free: 13.95 MB / 282.8 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3332, allocations: 0 / 340 MB, free: 13.95 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006048/0.3339, allocations: 377 kB / 340.3 MB, free: 13.54 MB / 282.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/0.3339, allocations: 12.03 kB / 340.3 MB, free: 13.52 MB / 282.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.334, allocations: 11.81 kB / 340.3 MB, free: 13.51 MB / 282.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002483/0.3342, allocations: 198.7 kB / 340.5 MB, free: 13.28 MB / 282.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.3343, allocations: 0 / 340.5 MB, free: 13.28 MB / 282.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.824e-05/0.3343, allocations: 4 kB / 340.5 MB, free: 13.27 MB / 282.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004076/0.3347, allocations: 137.8 kB / 340.7 MB, free: 13.12 MB / 282.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.3347, allocations: 0 / 340.7 MB, free: 13.12 MB / 282.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.3348, allocations: 0 / 340.7 MB, free: 13.12 MB / 282.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.3348, allocations: 4 kB / 340.7 MB, free: 13.11 MB / 282.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002472/0.3351, allocations: 55.89 kB / 340.7 MB, free: 13.06 MB / 282.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006294/0.3357, allocations: 377.9 kB / 341.1 MB, free: 12.63 MB / 282.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.336, allocations: 83.78 kB / 341.2 MB, free: 12.52 MB / 282.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.336, allocations: 0 / 341.2 MB, free: 12.52 MB / 282.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.336, allocations: 50.48 kB / 341.2 MB, free: 12.46 MB / 282.8 MB Notification: Performance of pre-optimization done (n=4): time 2.094e-06/0.3361, allocations: 0 / 341.2 MB, free: 12.46 MB / 282.8 MB Notification: Performance of matching and sorting (n=4): time 0.0006239/0.3367, allocations: 207 kB / 341.4 MB, free: 12.24 MB / 282.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.807e-05/0.3368, allocations: 102.8 kB / 341.5 MB, free: 12.11 MB / 282.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001727/0.337, allocations: 133.4 kB / 341.7 MB, free: 11.97 MB / 282.8 MB Notification: Performance of collectPreVariables (initialization): time 2.084e-05/0.337, allocations: 25.7 kB / 341.7 MB, free: 11.94 MB / 282.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.3371, allocations: 162.5 kB / 341.9 MB, free: 11.78 MB / 282.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.3371, allocations: 15.84 kB / 341.9 MB, free: 11.77 MB / 282.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-06/0.3372, allocations: 0 / 341.9 MB, free: 11.77 MB / 282.8 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.3373, allocations: 322.8 kB / 342.2 MB, free: 11.44 MB / 282.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.3375, allocations: 27.92 kB / 342.2 MB, free: 11.41 MB / 282.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/0.3376, allocations: 39.42 kB / 342.2 MB, free: 11.36 MB / 282.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001416/0.3378, allocations: 39.91 kB / 342.3 MB, free: 11.32 MB / 282.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3378, allocations: 0 / 342.3 MB, free: 11.32 MB / 282.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000337/0.3382, allocations: 89.59 kB / 342.4 MB, free: 11.23 MB / 282.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.3382, allocations: 10.5 kB / 342.4 MB, free: 11.22 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3382, allocations: 0 / 342.4 MB, free: 11.22 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.3382, allocations: 0 / 342.4 MB, free: 11.22 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001572/0.3384, allocations: 15.94 kB / 342.4 MB, free: 11.21 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3384, allocations: 3.984 kB / 342.4 MB, free: 11.2 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/0.3385, allocations: 8 kB / 342.4 MB, free: 11.2 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.3386, allocations: 4.125 kB / 342.4 MB, free: 11.19 MB / 282.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001224/0.3387, allocations: 125.8 kB / 342.5 MB, free: 11.06 MB / 282.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.3388, allocations: 49.61 kB / 342.6 MB, free: 11 MB / 282.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.071e-05/0.3389, allocations: 19.81 kB / 342.6 MB, free: 10.98 MB / 282.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/0.3389, allocations: 0 / 342.6 MB, free: 10.98 MB / 282.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.625e-06/0.3389, allocations: 4 kB / 342.6 MB, free: 10.98 MB / 282.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.339, allocations: 0 / 342.6 MB, free: 10.98 MB / 282.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003077/0.3393, allocations: 185.5 kB / 342.8 MB, free: 10.75 MB / 282.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/0.3393, allocations: 4 kB / 342.8 MB, free: 10.75 MB / 282.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.3394, allocations: 16.02 kB / 342.8 MB, free: 10.73 MB / 282.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.3394, allocations: 0 / 342.8 MB, free: 10.73 MB / 282.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.3394, allocations: 0 / 342.8 MB, free: 10.73 MB / 282.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3395, allocations: 0 / 342.8 MB, free: 10.73 MB / 282.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.3395, allocations: 4 kB / 342.8 MB, free: 10.73 MB / 282.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004388/0.3399, allocations: 302.9 kB / 343.1 MB, free: 10.4 MB / 282.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.34, allocations: 97 kB / 343.2 MB, free: 10.29 MB / 282.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.827e-05/0.3401, allocations: 0 / 343.2 MB, free: 10.29 MB / 282.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001768/0.3403, allocations: 11.94 kB / 343.2 MB, free: 10.27 MB / 282.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.959e-05/0.3403, allocations: 7.984 kB / 343.2 MB, free: 10.27 MB / 282.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.075e-06/0.3403, allocations: 0 / 343.2 MB, free: 10.27 MB / 282.8 MB Notification: Performance of sorting global known variables: time 0.0001236/0.3405, allocations: 115.9 kB / 343.3 MB, free: 10.15 MB / 282.8 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3405, allocations: 0 / 343.3 MB, free: 10.15 MB / 282.8 MB Notification: Performance of remove unused functions: time 0.0003404/0.3408, allocations: 15.91 kB / 343.4 MB, free: 10.14 MB / 282.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001293/0.341, allocations: 99.2 kB / 343.5 MB, free: 10.03 MB / 282.8 MB Notification: Performance of simCode: created initialization part: time 0.0003399/0.3413, allocations: 63.89 kB / 343.5 MB, free: 9.965 MB / 282.8 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.3414, allocations: 4 kB / 343.5 MB, free: 9.961 MB / 282.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001453/0.3415, allocations: 15.98 kB / 343.5 MB, free: 9.945 MB / 282.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.3419, allocations: 37.02 kB / 343.6 MB, free: 9.91 MB / 282.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006012/0.3426, allocations: 257.2 kB / 343.8 MB, free: 9.617 MB / 282.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/0.343, allocations: 0.7121 MB / 344.5 MB, free: 8.879 MB / 282.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.37e-05/0.343, allocations: 11.42 kB / 344.5 MB, free: 8.867 MB / 282.8 MB Notification: Performance of SimCode: time 9.21e-07/0.343, allocations: 0 / 344.5 MB, free: 8.867 MB / 282.8 MB Notification: Performance of Templates: time 0.003362/0.3464, allocations: 0.9079 MB / 345.5 MB, free: 7.957 MB / 282.8 MB