Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClockToSquareWaveHold") Notification: Performance of loadModel(Modelica): time 1.864/1.864, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.963e-05/2.975e-05, allocations: 4 kB / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08982/0.08987, allocations: 50.42 MB / 342.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3547/0.4446, allocations: 77.52 MB / 420.1 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002412/0.4449, allocations: 79.58 kB / 420.1 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005918/0.4509, allocations: 1.56 MB / 421.7 MB, free: 15.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.068e-06/0.4509, allocations: 0 / 421.7 MB, free: 15.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.485e-05/0.4509, allocations: 3.938 kB / 421.7 MB, free: 15.16 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004275/0.4514, allocations: 363.1 kB / 422.1 MB, free: 14.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/0.4514, allocations: 8.031 kB / 422.1 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.304e-05/0.4515, allocations: 15.86 kB / 422.1 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002245/0.4517, allocations: 186.2 kB / 422.3 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.4517, allocations: 4 kB / 422.3 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.4518, allocations: 2.75 kB / 422.3 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002944/0.4521, allocations: 122.6 kB / 422.4 MB, free: 14.4 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.63e-06/0.4521, allocations: 4 kB / 422.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.4521, allocations: 7.453 kB / 422.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.168e-06/0.4521, allocations: 0 / 422.4 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.672e-05/0.4522, allocations: 15.25 kB / 422.4 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005061/0.4527, allocations: 363.6 kB / 422.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.453, allocations: 152.8 kB / 422.9 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.25e-05/0.4531, allocations: 35.27 kB / 423 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.4531, allocations: 7.953 kB / 423 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.4532, allocations: 42.44 kB / 423 MB, free: 13.7 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.372e-06/0.4532, allocations: 0 / 423 MB, free: 13.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002457/0.4534, allocations: 72.11 kB / 423.1 MB, free: 13.63 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.72e-05/0.4535, allocations: 106.4 kB / 423.2 MB, free: 13.5 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001558/0.4537, allocations: 128.8 kB / 423.3 MB, free: 13.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.4537, allocations: 28.95 kB / 423.3 MB, free: 13.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.265e-05/0.4538, allocations: 158.8 kB / 423.5 MB, free: 13.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.4539, allocations: 15.45 kB / 423.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.658e-06/0.4539, allocations: 0 / 423.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001533/0.454, allocations: 313.9 kB / 423.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.799e-05/0.4541, allocations: 8 kB / 423.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.705e-05/0.4542, allocations: 38.36 kB / 423.9 MB, free: 12.81 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.667e-05/0.4542, allocations: 27.09 kB / 423.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.593e-06/0.4542, allocations: 0 / 423.9 MB, free: 12.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001694/0.4544, allocations: 71.58 kB / 424 MB, free: 12.72 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.4545, allocations: 11.94 kB / 424 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.329e-06/0.4545, allocations: 0 / 424 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.4545, allocations: 0 / 424 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.4546, allocations: 20.11 kB / 424 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.3e-06/0.4546, allocations: 160 / 424 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.068e-05/0.4547, allocations: 7.938 kB / 424 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.4547, allocations: 7.984 kB / 424 MB, free: 12.67 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 3 (clockToSquareWave.y2,$CLKPRE.clockToSquareWave.y2,clockToSquareWave.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.729e-05/0.4548, allocations: 104.4 kB / 424.1 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.455, allocations: 53.5 kB / 424.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.42e-05/0.455, allocations: 15.58 kB / 424.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.931e-06/0.4551, allocations: 0 / 424.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.4551, allocations: 4 kB / 424.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4551, allocations: 4 kB / 424.2 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003382/0.4554, allocations: 175 kB / 424.4 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.802e-06/0.4555, allocations: 0 / 424.4 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.774e-05/0.4556, allocations: 11.94 kB / 424.4 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.123e-06/0.4556, allocations: 0 / 424.4 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.4556, allocations: 7.953 kB / 424.4 MB, free: 12.26 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.666e-06/0.4556, allocations: 7.969 kB / 424.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.4556, allocations: 0 / 424.4 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.4559, allocations: 269.2 kB / 424.6 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.035e-05/0.456, allocations: 96.12 kB / 424.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.456, allocations: 3.938 kB / 424.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.4562, allocations: 7.938 kB / 424.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.4563, allocations: 3.984 kB / 424.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.03e-06/0.4563, allocations: 8 kB / 424.8 MB, free: 11.84 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.4564, allocations: 107 kB / 424.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.941e-06/0.4564, allocations: 0 / 424.9 MB, free: 11.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003679/0.4568, allocations: 15.62 kB / 424.9 MB, free: 11.73 MB / 346.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: 2 (clockToSquareWave.y,clockToSquareWave.y2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001371/0.4569, allocations: 103.3 kB / 425 MB, free: 11.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001269/0.4571, allocations: 35.67 kB / 425 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.919e-06/0.4571, allocations: 0 / 425 MB, free: 11.6 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.288e-05/0.4571, allocations: 8.25 kB / 425 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.4575, allocations: 33.75 kB / 425.1 MB, free: 11.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003689/0.4579, allocations: 156 kB / 425.2 MB, free: 11.39 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.4583, allocations: 0.6926 MB / 425.9 MB, free: 10.67 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.4583, allocations: 15.42 kB / 425.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of SimCode: time 1.421e-06/0.4584, allocations: 0 / 425.9 MB, free: 10.65 MB / 346.7 MB Notification: Performance of Templates: time 0.002674/0.461, allocations: 0.8327 MB / 426.7 MB, free: 9.828 MB / 346.7 MB