Running command: translateModel(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|Time|sample1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadModel(Modelica_Synchronous): time 2.352/2.352, allocations: 218.4 MB / 234.2 MB, free: 5.582 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.58e-05/3.588e-05, allocations: 4 kB / 287.6 MB, free: 60 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3313, allocations: 50.37 MB / 338 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.ClockSignals.SuperSample): time 0.002361/0.3337, allocations: 1.25 MB / 339.2 MB, free: 14.72 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.335, allocations: 492 kB / 339.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.042e-05/0.3351, allocations: 4 kB / 339.7 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.843e-05/0.3351, allocations: 7.922 kB / 339.7 MB, free: 14.22 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001277/0.3353, allocations: 7.984 kB / 339.7 MB, free: 14.21 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.3356, allocations: 39.83 kB / 339.8 MB, free: 14.17 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.299e-05/0.3357, allocations: 27.91 kB / 339.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3358, allocations: 11.98 kB / 339.8 MB, free: 14.13 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.774e-05/0.3359, allocations: 11.98 kB / 339.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.022e-05/0.336, allocations: 19.92 kB / 339.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.581e-05/0.336, allocations: 0 / 339.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.3361, allocations: 0 / 339.8 MB, free: 14.1 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.081e-05/0.3361, allocations: 19.92 kB / 339.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.073e-05/0.3361, allocations: 3.938 kB / 339.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.09e-05/0.3362, allocations: 31.95 kB / 339.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3363, allocations: 0 / 339.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.3363, allocations: 0 / 339.9 MB, free: 14.05 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.738e-06/0.3363, allocations: 0 / 339.9 MB, free: 14.05 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.0005367/0.3368, allocations: 365 kB / 340.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/0.3369, allocations: 12.03 kB / 340.2 MB, free: 13.63 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.506e-05/0.337, allocations: 7.906 kB / 340.3 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.3373, allocations: 190.8 kB / 340.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/0.3373, allocations: 4 kB / 340.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.253e-05/0.3374, allocations: 0 / 340.4 MB, free: 13.39 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004639/0.3378, allocations: 109 kB / 340.6 MB, free: 13.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.3379, allocations: 7.984 kB / 340.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.3379, allocations: 0 / 340.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.3379, allocations: 0 / 340.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.3381, allocations: 15.98 kB / 340.6 MB, free: 13.25 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.3387, allocations: 281.5 kB / 340.8 MB, free: 12.92 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.3388, allocations: 41.22 kB / 340.9 MB, free: 12.86 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.778e-05/0.3389, allocations: 8 kB / 340.9 MB, free: 12.85 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.882e-05/0.3389, allocations: 30.56 kB / 340.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 2.705e-06/0.339, allocations: 4 kB / 340.9 MB, free: 12.81 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0004526/0.3394, allocations: 73.61 kB / 341 MB, free: 12.73 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.191e-05/0.3395, allocations: 77.11 kB / 341.1 MB, free: 12.64 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.3398, allocations: 129.2 kB / 341.2 MB, free: 12.5 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.788e-05/0.3398, allocations: 25.95 kB / 341.2 MB, free: 12.47 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.34, allocations: 166.5 kB / 341.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.818e-05/0.34, allocations: 0 / 341.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.34, allocations: 0 / 341.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.3402, allocations: 314.8 kB / 341.7 MB, free: 11.99 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.56e-05/0.3403, allocations: 8 kB / 341.7 MB, free: 11.98 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.3404, allocations: 25.7 kB / 341.7 MB, free: 11.95 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.395e-05/0.3405, allocations: 12 kB / 341.7 MB, free: 11.94 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.3406, allocations: 0 / 341.7 MB, free: 11.94 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002647/0.3408, allocations: 65.55 kB / 341.8 MB, free: 11.87 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.3409, allocations: 4 kB / 341.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3409, allocations: 0 / 341.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3409, allocations: 4.125 kB / 341.8 MB, free: 11.86 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.3411, allocations: 8 kB / 341.8 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.3411, allocations: 0 / 341.8 MB, free: 11.85 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.518e-05/0.3412, allocations: 7.984 kB / 341.8 MB, free: 11.84 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.3412, allocations: 3.953 kB / 341.8 MB, free: 11.84 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.000141/0.3414, allocations: 117.8 kB / 342 MB, free: 11.71 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.3415, allocations: 41.55 kB / 342 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.673e-05/0.3416, allocations: 23.84 kB / 342 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3416, allocations: 0 / 342 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3416, allocations: 0 / 342 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.3416, allocations: 0 / 342 MB, free: 11.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.342, allocations: 169.6 kB / 342.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.342, allocations: 4 kB / 342.2 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.917e-05/0.3421, allocations: 4 kB / 342.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3421, allocations: 0 / 342.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.496e-05/0.3422, allocations: 3.984 kB / 342.2 MB, free: 11.42 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3422, allocations: 4 kB / 342.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.3422, allocations: 0 / 342.2 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.3425, allocations: 177.9 kB / 342.4 MB, free: 11.21 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.3427, allocations: 93 kB / 342.5 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.714e-05/0.3427, allocations: 0 / 342.5 MB, free: 11.11 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.3429, allocations: 12.02 kB / 342.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.49e-05/0.3429, allocations: 0 / 342.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.634e-06/0.343, allocations: 0 / 342.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001403/0.3431, allocations: 114 kB / 342.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.3431, allocations: 0 / 342.6 MB, free: 10.98 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005104/0.3436, allocations: 8 kB / 342.6 MB, free: 10.98 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001626/0.3438, allocations: 95.25 kB / 342.7 MB, free: 10.87 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002447/0.3441, allocations: 31.92 kB / 342.7 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.3441, allocations: 0 / 342.7 MB, free: 10.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.673e-05/0.3442, allocations: 8 kB / 342.7 MB, free: 10.83 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004489/0.3447, allocations: 16.02 kB / 342.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005557/0.3452, allocations: 211.6 kB / 342.9 MB, free: 10.57 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000425/0.3457, allocations: 0.6965 MB / 343.6 MB, free: 9.852 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.719e-05/0.3458, allocations: 11.44 kB / 343.7 MB, free: 9.84 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.3458, allocations: 0 / 343.7 MB, free: 9.84 MB / 282.7 MB Notification: Performance of Templates: time 0.00358/0.3494, allocations: 0.7232 MB / 344.4 MB, free: 9.121 MB / 282.7 MB