Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|assignClock1.y|unitDelay1.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadModel(Modelica_Synchronous): time 1.973/1.973, allocations: 218.4 MB / 231.5 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.035e-05/4.045e-05, allocations: 8 kB / 284.3 MB, free: 8.68 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09247/0.09254, allocations: 50.35 MB / 334.7 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4347/0.5273, allocations: 77.94 MB / 412.6 MB, free: 292 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/0.5276, allocations: 81.5 kB / 412.7 MB, free: 244 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004336/0.5319, allocations: 1.231 MB / 413.9 MB, free: 15.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.23e-06/0.532, allocations: 4 kB / 413.9 MB, free: 15.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/0.532, allocations: 7.938 kB / 413.9 MB, free: 15.14 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003849/0.5324, allocations: 346.1 kB / 414.3 MB, free: 14.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.185e-05/0.5324, allocations: 8.031 kB / 414.3 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.23e-05/0.5325, allocations: 11.81 kB / 414.3 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.5327, allocations: 190 kB / 414.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.5328, allocations: 3.875 kB / 414.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.5328, allocations: 7.953 kB / 414.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000299/0.5331, allocations: 121.9 kB / 414.6 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.12e-06/0.5331, allocations: 0 / 414.6 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.5331, allocations: 7.688 kB / 414.6 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.686e-06/0.5332, allocations: 0 / 414.6 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.594e-05/0.5332, allocations: 15.75 kB / 414.6 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001857/0.5334, allocations: 173.3 kB / 414.8 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.5336, allocations: 69.81 kB / 414.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.065e-05/0.5337, allocations: 40.27 kB / 414.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.189e-05/0.5337, allocations: 0 / 414.9 MB, free: 14.08 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.5338, allocations: 31.72 kB / 414.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.892e-06/0.5338, allocations: 0 / 414.9 MB, free: 14.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001953/0.534, allocations: 81.28 kB / 415 MB, free: 13.96 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/0.5341, allocations: 59.16 kB / 415.1 MB, free: 13.9 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001456/0.5342, allocations: 123.5 kB / 415.2 MB, free: 13.78 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.5342, allocations: 29.45 kB / 415.2 MB, free: 13.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.927e-05/0.5343, allocations: 150.6 kB / 415.4 MB, free: 13.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.439e-05/0.5344, allocations: 7.812 kB / 415.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.752e-06/0.5344, allocations: 0 / 415.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001599/0.5346, allocations: 322.7 kB / 415.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.574e-05/0.5346, allocations: 4 kB / 415.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.916e-05/0.5347, allocations: 58.5 kB / 415.8 MB, free: 13.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.855e-05/0.5347, allocations: 23.86 kB / 415.8 MB, free: 13.17 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.898e-06/0.5347, allocations: 0 / 415.8 MB, free: 13.17 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001744/0.5349, allocations: 85.3 kB / 415.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.535, allocations: 4 kB / 415.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.535, allocations: 4.188 kB / 415.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.535, allocations: 0 / 415.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.197e-05/0.5351, allocations: 28.11 kB / 415.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.541e-06/0.5351, allocations: 4 kB / 415.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.012e-05/0.5352, allocations: 7.5 kB / 415.9 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.5352, allocations: 4 kB / 415.9 MB, free: 13.04 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.858e-05/0.5353, allocations: 108.7 kB / 416 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000134/0.5355, allocations: 77.36 kB / 416.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/0.5355, allocations: 8.562 kB / 416.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.645e-06/0.5355, allocations: 4 kB / 416.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.384e-06/0.5355, allocations: 0 / 416.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.91e-06/0.5356, allocations: 4 kB / 416.1 MB, free: 12.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/0.5357, allocations: 176.9 kB / 416.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.5357, allocations: 0 / 416.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-05/0.5358, allocations: 12 kB / 416.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.722e-06/0.5358, allocations: 0 / 416.3 MB, free: 12.63 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.044e-05/0.5359, allocations: 7.953 kB / 416.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.803e-06/0.5359, allocations: 4 kB / 416.3 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.892e-06/0.5359, allocations: 3.984 kB / 416.3 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.5361, allocations: 95.95 kB / 416.4 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-05/0.5362, allocations: 96.81 kB / 416.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.19e-05/0.5362, allocations: 3.812 kB / 416.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.356e-05/0.5363, allocations: 3.953 kB / 416.5 MB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-06/0.5363, allocations: 7.938 kB / 416.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.242e-06/0.5363, allocations: 0 / 416.5 MB, free: 12.39 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001005/0.5364, allocations: 110.5 kB / 416.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.049e-06/0.5364, allocations: 0 / 416.6 MB, free: 12.29 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002789/0.5367, allocations: 11.94 kB / 416.6 MB, free: 12.28 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0001294/0.5368, allocations: 103.1 kB / 416.7 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000127/0.537, allocations: 39.67 kB / 416.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.537, allocations: 0 / 416.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.491e-06/0.537, allocations: 0 / 416.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.5373, allocations: 39.45 kB / 416.8 MB, free: 12.11 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000308/0.5376, allocations: 135.3 kB / 416.9 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003644/0.538, allocations: 0.7008 MB / 417.6 MB, free: 11.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.94e-05/0.538, allocations: 15.44 kB / 417.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of SimCode: time 1.36e-06/0.5381, allocations: 0 / 417.7 MB, free: 11.22 MB / 346.7 MB Notification: Performance of Templates: time 0.002486/0.5406, allocations: 0.7896 MB / 418.5 MB, free: 10.43 MB / 346.7 MB