Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadModel(Modelica): time 2.228/2.228, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.121e-05/4.151e-05, allocations: 2.812 kB / 292.7 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1274, allocations: 50.41 MB / 343.1 MB, free: 5.91 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3956/0.5231, allocations: 76.78 MB / 419.9 MB, free: 1.395 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003748/0.5235, allocations: 76.83 kB / 419.9 MB, free: 1.352 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007342/0.5309, allocations: 1.305 MB / 421.2 MB, free: 208 kB / 330.7 MB Notification: Performance of FrontEnd: time 3.265e-06/0.531, allocations: 4 kB / 421.2 MB, free: 204 kB / 330.7 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.531, allocations: 4 kB / 421.2 MB, free: 200 kB / 330.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.0005684/0.5316, allocations: 346.3 kB / 421.6 MB, free: 15.82 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.5317, allocations: 8.031 kB / 421.6 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.973e-05/0.5318, allocations: 15.17 kB / 421.6 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.5321, allocations: 199.4 kB / 421.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.544e-05/0.5322, allocations: 8 kB / 421.8 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.5322, allocations: 3.984 kB / 421.8 MB, free: 15.55 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005131/0.5328, allocations: 139.2 kB / 421.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.5328, allocations: 0 / 421.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.6e-05/0.5328, allocations: 4 kB / 421.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.5329, allocations: 3.953 kB / 422 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.533, allocations: 19.19 kB / 422 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002881/0.5333, allocations: 178.9 kB / 422.1 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002875/0.5336, allocations: 79.47 kB / 422.2 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001497/0.5338, allocations: 42.33 kB / 422.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.5338, allocations: 4 kB / 422.3 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.5339, allocations: 30.56 kB / 422.3 MB, free: 15.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 4.303e-06/0.5339, allocations: 0 / 422.3 MB, free: 15.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003444/0.5343, allocations: 75.53 kB / 422.4 MB, free: 14.98 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.231e-05/0.5344, allocations: 66.92 kB / 422.4 MB, free: 14.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000242/0.5346, allocations: 130.8 kB / 422.6 MB, free: 14.78 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.5347, allocations: 27.64 kB / 422.6 MB, free: 14.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.267e-05/0.5348, allocations: 87.39 kB / 422.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/0.5348, allocations: 7.359 kB / 422.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-06/0.5349, allocations: 0 / 422.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001986/0.5351, allocations: 318 kB / 423 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.407e-05/0.5351, allocations: 7.562 kB / 423 MB, free: 14.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001143/0.5353, allocations: 64.61 kB / 423.1 MB, free: 14.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.031e-05/0.5354, allocations: 19 kB / 423.1 MB, free: 14.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.715e-06/0.5354, allocations: 0 / 423.1 MB, free: 14.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003077/0.5357, allocations: 88.2 kB / 423.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.5358, allocations: 4 kB / 423.2 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.5358, allocations: 4 kB / 423.2 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.5358, allocations: 0 / 423.2 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.536, allocations: 20.25 kB / 423.2 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.536, allocations: 7.922 kB / 423.2 MB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.5361, allocations: 14.95 kB / 423.2 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.011e-05/0.5362, allocations: 4.078 kB / 423.2 MB, free: 14.11 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: 9 (sum.y,sum.u[2],sum.u[1],const.y,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * 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 0.0001469/0.5363, allocations: 111.5 kB / 423.3 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002595/0.5366, allocations: 86.75 kB / 423.4 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.457e-05/0.5367, allocations: 15.8 kB / 423.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.248e-06/0.5367, allocations: 0 / 423.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.816e-06/0.5368, allocations: 4 kB / 423.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.21e-06/0.5368, allocations: 4 kB / 423.4 MB, free: 13.9 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.537, allocations: 169 kB / 423.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.712e-06/0.5371, allocations: 0 / 423.6 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001637/0.5372, allocations: 23.48 kB / 423.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.318e-06/0.5373, allocations: 0 / 423.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.5373, allocations: 0 / 423.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.93e-06/0.5373, allocations: 0 / 423.6 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.951e-06/0.5373, allocations: 4.188 kB / 423.6 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002985/0.5376, allocations: 109.1 kB / 423.7 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001488/0.5378, allocations: 100.4 kB / 423.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.5379, allocations: 7.938 kB / 423.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.875e-05/0.5379, allocations: 4 kB / 423.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-06/0.538, allocations: 0 / 423.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.538, allocations: 0 / 423.8 MB, free: 13.44 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001585/0.5382, allocations: 106.3 kB / 424 MB, free: 13.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.055e-06/0.5382, allocations: 0 / 424 MB, free: 13.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005652/0.5388, allocations: 11.94 kB / 424 MB, free: 13.33 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,const.y,sum.u[1],sum.u[2],sum.y) * 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.0002117/0.539, allocations: 111.2 kB / 424.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002217/0.5392, allocations: 39.62 kB / 424.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.5393, allocations: 0 / 424.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.006e-06/0.5393, allocations: 0 / 424.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.5398, allocations: 46.78 kB / 424.2 MB, free: 13.14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004648/0.5403, allocations: 120.8 kB / 424.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004834/0.5408, allocations: 0.7004 MB / 425 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.52e-05/0.5408, allocations: 4.672 kB / 425 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.5409, allocations: 11.44 kB / 425 MB, free: 12.27 MB / 346.7 MB Notification: Performance of SimCode: time 6.133e-06/0.5409, allocations: 3.938 kB / 425 MB, free: 12.27 MB / 346.7 MB Notification: Performance of Templates: time 0.005366/0.5463, allocations: 0.6204 MB / 425.6 MB, free: 11.66 MB / 346.7 MB