Running command: translateModel(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock.y|sample.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1") Notification: Performance of loadModel(Modelica_Synchronous): time 2.212/2.212, allocations: 218.4 MB / 234.2 MB, free: 5.582 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.995e-05/4.001e-05, allocations: 4 kB / 287.6 MB, free: 64 kB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.331, allocations: 50.38 MB / 338 MB, free: 15.98 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.IntegerSignals.Sample1): time 0.002232/0.3333, allocations: 1.219 MB / 339.2 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004471/0.3338, allocations: 135.6 kB / 339.3 MB, free: 14.62 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.548e-05/0.3339, allocations: 4 kB / 339.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.293e-05/0.3339, allocations: 3.938 kB / 339.3 MB, free: 14.61 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.334, allocations: 7.984 kB / 339.3 MB, free: 14.6 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002633/0.3343, allocations: 27.97 kB / 339.4 MB, free: 14.57 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 7.826e-05/0.3344, allocations: 23.86 kB / 339.4 MB, free: 14.55 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.02e-05/0.3345, allocations: 11.98 kB / 339.4 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.902e-05/0.3345, allocations: 7.984 kB / 339.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.3346, allocations: 7.938 kB / 339.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.414e-05/0.3346, allocations: 0 / 339.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.3346, allocations: 0 / 339.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.941e-05/0.3347, allocations: 15.92 kB / 339.4 MB, free: 14.51 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.728e-05/0.3347, allocations: 4 kB / 339.4 MB, free: 14.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 7.85e-05/0.3348, allocations: 31.95 kB / 339.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.3348, allocations: 0 / 339.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.3348, allocations: 0 / 339.5 MB, free: 14.47 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.3348, allocations: 0 / 339.5 MB, free: 14.47 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.0004877/0.3353, allocations: 348.4 kB / 339.8 MB, free: 14.09 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.157e-05/0.3354, allocations: 8.031 kB / 339.8 MB, free: 14.08 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.3354, allocations: 7.906 kB / 339.8 MB, free: 14.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.3357, allocations: 190.8 kB / 340 MB, free: 13.85 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.536e-05/0.3357, allocations: 8 kB / 340 MB, free: 13.84 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.3357, allocations: 7.953 kB / 340 MB, free: 13.83 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003539/0.3361, allocations: 113 kB / 340.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.3361, allocations: 0 / 340.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.3362, allocations: 0 / 340.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.3362, allocations: 4 kB / 340.1 MB, free: 13.7 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.3363, allocations: 31.91 kB / 340.2 MB, free: 13.67 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003609/0.3367, allocations: 257.8 kB / 340.4 MB, free: 13.36 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.337, allocations: 138.2 kB / 340.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.337, allocations: 4.062 kB / 340.6 MB, free: 13.19 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.3371, allocations: 42.58 kB / 340.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.804e-06/0.3371, allocations: 0 / 340.6 MB, free: 13.14 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003457/0.3374, allocations: 85.52 kB / 340.7 MB, free: 13.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.336e-05/0.3375, allocations: 81.11 kB / 340.8 MB, free: 12.95 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001913/0.3377, allocations: 125.1 kB / 340.9 MB, free: 12.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.579e-05/0.3378, allocations: 29.7 kB / 340.9 MB, free: 12.78 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.884e-05/0.3378, allocations: 158.5 kB / 341.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.778e-06/0.3379, allocations: 0 / 341.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.627e-06/0.3379, allocations: 0 / 341.1 MB, free: 12.62 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.338, allocations: 319 kB / 341.4 MB, free: 12.3 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.14e-05/0.3381, allocations: 11.98 kB / 341.4 MB, free: 12.29 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.711e-05/0.3382, allocations: 39.36 kB / 341.4 MB, free: 12.24 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.137e-05/0.3383, allocations: 12 kB / 341.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.109e-06/0.3383, allocations: 3.953 kB / 341.4 MB, free: 12.23 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002067/0.3385, allocations: 73.61 kB / 341.5 MB, free: 12.15 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.3386, allocations: 4 kB / 341.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.3386, allocations: 0 / 341.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.3386, allocations: 4.125 kB / 341.5 MB, free: 12.14 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.319e-05/0.3387, allocations: 12 kB / 341.5 MB, free: 12.13 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.3387, allocations: 3.938 kB / 341.5 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.759e-05/0.3388, allocations: 7.984 kB / 341.6 MB, free: 12.12 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.3388, allocations: 0 / 341.6 MB, free: 12.12 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 (step.y,sample.y,assignClock.y,assignClock.u) * 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.0001128/0.3389, allocations: 117.8 kB / 341.7 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.3391, allocations: 53.55 kB / 341.7 MB, free: 11.93 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.778e-05/0.3391, allocations: 8.578 kB / 341.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.3391, allocations: 4 kB / 341.7 MB, free: 11.92 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.3391, allocations: 4 kB / 341.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.3392, allocations: 3.984 kB / 341.7 MB, free: 11.91 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.3394, allocations: 161.7 kB / 341.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.3394, allocations: 3.938 kB / 341.9 MB, free: 11.7 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.888e-05/0.3395, allocations: 15.94 kB / 341.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.778e-06/0.3395, allocations: 8 kB / 341.9 MB, free: 11.68 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.3396, allocations: 4 kB / 341.9 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.3396, allocations: 3.938 kB / 341.9 MB, free: 11.67 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3396, allocations: 3.938 kB / 341.9 MB, free: 11.66 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.3399, allocations: 186 kB / 342.1 MB, free: 11.46 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.601e-05/0.34, allocations: 93 kB / 342.2 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/0.34, allocations: 0 / 342.2 MB, free: 11.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.774e-05/0.3401, allocations: 4 kB / 342.2 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.3401, allocations: 4 kB / 342.2 MB, free: 11.34 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/0.3401, allocations: 4 kB / 342.2 MB, free: 11.34 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.657e-05/0.3402, allocations: 103.2 kB / 342.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3403, allocations: 0 / 342.3 MB, free: 11.23 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002734/0.3405, allocations: 4 kB / 342.3 MB, free: 11.23 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: 4 (step.y,assignClock.u,assignClock.y,sample.y) * 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.0001256/0.3407, allocations: 99.19 kB / 342.4 MB, free: 11.12 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.3409, allocations: 31.98 kB / 342.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3409, allocations: 4 kB / 342.5 MB, free: 11.09 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.388e-05/0.341, allocations: 15.92 kB / 342.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.3413, allocations: 20.03 kB / 342.5 MB, free: 11.05 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004421/0.3417, allocations: 195.6 kB / 342.7 MB, free: 10.82 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.3421, allocations: 0.6887 MB / 343.4 MB, free: 10.11 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.943e-05/0.3421, allocations: 15.42 kB / 343.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of SimCode: time 9.11e-07/0.3422, allocations: 0 / 343.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of Templates: time 0.002609/0.3448, allocations: 0.6796 MB / 344.1 MB, free: 9.41 MB / 282.7 MB