Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadModel(Modelica_Synchronous): time 2.319/2.319, allocations: 218.4 MB / 234.2 MB, free: 5.586 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.303e-05/4.323e-05, allocations: 4 kB / 287.6 MB, free: 56 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3316/0.3317, allocations: 50.37 MB / 338 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.002271/0.334, allocations: 1.271 MB / 339.2 MB, free: 14.7 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.3352, allocations: 0.4883 MB / 339.7 MB, free: 14.2 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.687e-05/0.3353, allocations: 7.938 kB / 339.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.298e-05/0.3354, allocations: 0 / 339.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001182/0.3355, allocations: 7.922 kB / 339.7 MB, free: 14.18 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.3359, allocations: 43.89 kB / 339.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.145e-05/0.336, allocations: 23.91 kB / 339.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.779e-05/0.3361, allocations: 15.97 kB / 339.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.11e-05/0.3362, allocations: 15.92 kB / 339.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.378e-05/0.3363, allocations: 15.94 kB / 339.9 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.876e-05/0.3363, allocations: 4 kB / 339.9 MB, free: 14.07 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.3363, allocations: 3.938 kB / 339.9 MB, free: 14.06 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.3364, allocations: 15.92 kB / 339.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/0.3364, allocations: 4 kB / 339.9 MB, free: 14.04 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.559e-05/0.3365, allocations: 31.92 kB / 339.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3365, allocations: 0 / 339.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.569e-06/0.3365, allocations: 4 kB / 339.9 MB, free: 14.01 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.3365, allocations: 0 / 339.9 MB, free: 14.01 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005254/0.3371, allocations: 365 kB / 340.3 MB, free: 13.61 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.3371, allocations: 8.031 kB / 340.3 MB, free: 13.6 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.99e-05/0.3372, allocations: 7.906 kB / 340.3 MB, free: 13.59 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.3374, allocations: 194 kB / 340.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.3375, allocations: 0 / 340.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.331e-05/0.3375, allocations: 7.984 kB / 340.5 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.3378, allocations: 121.9 kB / 340.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3379, allocations: 0 / 340.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.3379, allocations: 3.938 kB / 340.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3379, allocations: 0 / 340.6 MB, free: 13.21 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001407/0.3381, allocations: 23.98 kB / 340.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003978/0.3385, allocations: 286.4 kB / 340.9 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.3387, allocations: 67.78 kB / 341 MB, free: 12.76 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.3387, allocations: 4 kB / 341 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.3387, allocations: 38.62 kB / 341 MB, free: 12.71 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.004e-06/0.3388, allocations: 0 / 341 MB, free: 12.71 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003815/0.3391, allocations: 85.86 kB / 341.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.3393, allocations: 118.8 kB / 341.2 MB, free: 12.48 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.3394, allocations: 132.7 kB / 341.4 MB, free: 12.34 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.3395, allocations: 25.7 kB / 341.4 MB, free: 12.31 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.674e-05/0.3396, allocations: 158.6 kB / 341.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.3396, allocations: 0 / 341.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.592e-06/0.3396, allocations: 4 kB / 341.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.3398, allocations: 310.8 kB / 341.8 MB, free: 11.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.718e-05/0.3399, allocations: 15.98 kB / 341.9 MB, free: 11.82 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.503e-05/0.34, allocations: 35.42 kB / 341.9 MB, free: 11.77 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.374e-05/0.3401, allocations: 23.94 kB / 341.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3401, allocations: 0 / 341.9 MB, free: 11.75 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002187/0.3403, allocations: 69.55 kB / 342 MB, free: 11.68 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.3404, allocations: 8 kB / 342 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3404, allocations: 0 / 342 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.3404, allocations: 0 / 342 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.3405, allocations: 8 kB / 342 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.3406, allocations: 8.125 kB / 342 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.141e-05/0.3406, allocations: 7.891 kB / 342 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.3407, allocations: 11.89 kB / 342 MB, free: 11.63 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: 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.0001175/0.3408, allocations: 113.8 kB / 342.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.3409, allocations: 61.53 kB / 342.2 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.542e-05/0.341, allocations: 7.828 kB / 342.2 MB, free: 11.44 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.341, allocations: 4 kB / 342.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.341, allocations: 64 / 342.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.341, allocations: 4 kB / 342.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.3413, allocations: 181.6 kB / 342.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3413, allocations: 0 / 342.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.861e-05/0.3414, allocations: 8 kB / 342.4 MB, free: 11.2 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.3414, allocations: 4 kB / 342.4 MB, free: 11.19 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.356e-05/0.3414, allocations: 7.984 kB / 342.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.829e-06/0.3415, allocations: 0 / 342.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3415, allocations: 3.938 kB / 342.4 MB, free: 11.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003046/0.3418, allocations: 204.5 kB / 342.6 MB, free: 10.95 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.611e-05/0.3419, allocations: 93 kB / 342.7 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.077e-05/0.3419, allocations: 0 / 342.7 MB, free: 10.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001165/0.342, allocations: 12 kB / 342.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.002e-05/0.3421, allocations: 3.953 kB / 342.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.3421, allocations: 4 kB / 342.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001097/0.3422, allocations: 110 kB / 342.8 MB, free: 10.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3422, allocations: 0 / 342.8 MB, free: 10.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002823/0.3425, allocations: 4 kB / 342.8 MB, free: 10.71 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001247/0.3427, allocations: 103.1 kB / 342.9 MB, free: 10.59 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.3429, allocations: 43.97 kB / 343 MB, free: 10.55 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.3429, allocations: 0 / 343 MB, free: 10.55 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.3e-05/0.343, allocations: 11.94 kB / 343 MB, free: 10.54 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.3434, allocations: 28.09 kB / 343 MB, free: 10.51 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005155/0.3439, allocations: 229.3 kB / 343.2 MB, free: 10.25 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.3442, allocations: 0.6965 MB / 343.9 MB, free: 9.527 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.098e-05/0.3443, allocations: 11.44 kB / 344 MB, free: 9.516 MB / 282.7 MB Notification: Performance of SimCode: time 9.21e-07/0.3443, allocations: 0 / 344 MB, free: 9.516 MB / 282.7 MB Notification: Performance of Templates: time 0.0029/0.3472, allocations: 0.8129 MB / 344.8 MB, free: 8.711 MB / 282.7 MB