Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadModel(Modelica): time 1.962/1.962, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.792e-05, allocations: 5.562 kB / 292.1 MB, free: 8.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09067/0.09072, allocations: 50.42 MB / 342.6 MB, free: 6.375 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3449/0.4356, allocations: 76.29 MB / 418.8 MB, free: 1.824 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002344/0.4359, allocations: 78.94 kB / 418.9 MB, free: 1.777 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002581/0.4385, allocations: 0.7732 MB / 419.7 MB, free: 1.074 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.101e-06/0.4385, allocations: 2.844 kB / 419.7 MB, free: 1.074 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.4385, allocations: 4 kB / 419.7 MB, free: 1.07 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003522/0.4389, allocations: 322.5 kB / 420 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.439, allocations: 12.03 kB / 420 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.439, allocations: 7.859 kB / 420 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.4392, allocations: 174.7 kB / 420.2 MB, free: 496 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.902e-05/0.4393, allocations: 4 kB / 420.2 MB, free: 492 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.4393, allocations: 7.797 kB / 420.2 MB, free: 488 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002492/0.4395, allocations: 102.5 kB / 420.3 MB, free: 388 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.498e-06/0.4396, allocations: 0 / 420.3 MB, free: 388 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.721e-06/0.4396, allocations: 0 / 420.3 MB, free: 388 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.4396, allocations: 0 / 420.3 MB, free: 388 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.716e-05/0.4397, allocations: 12.77 kB / 420.3 MB, free: 376 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.4398, allocations: 161.5 kB / 420.5 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.44, allocations: 30.52 kB / 420.5 MB, free: 136 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.901e-05/0.44, allocations: 28.58 kB / 420.5 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.44, allocations: 0 / 420.5 MB, free: 112 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.4401, allocations: 34.5 kB / 420.6 MB, free: 68 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 4.199e-06/0.4401, allocations: 0 / 420.6 MB, free: 68 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001427/0.4402, allocations: 53.42 kB / 420.6 MB, free: 12 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.92e-05/0.4403, allocations: 55.41 kB / 420.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.828e-05/0.4404, allocations: 97.55 kB / 420.8 MB, free: 15.85 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.4405, allocations: 29.7 kB / 420.8 MB, free: 15.81 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.617e-05/0.4406, allocations: 162.1 kB / 421 MB, free: 15.66 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.099e-05/0.4406, allocations: 0 / 421 MB, free: 15.66 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.352e-06/0.4406, allocations: 0 / 421 MB, free: 15.66 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.4408, allocations: 318.7 kB / 421.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.664e-05/0.4408, allocations: 4 kB / 421.3 MB, free: 15.34 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.961e-05/0.4408, allocations: 31.31 kB / 421.3 MB, free: 15.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.375e-05/0.4409, allocations: 15.92 kB / 421.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.881e-06/0.4409, allocations: 0 / 421.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001126/0.441, allocations: 49.52 kB / 421.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.4411, allocations: 11.98 kB / 421.4 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.231e-06/0.4411, allocations: 384 / 421.4 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.4411, allocations: 0 / 421.4 MB, free: 15.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.268e-05/0.4412, allocations: 12.12 kB / 421.4 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.909e-06/0.4412, allocations: 4 kB / 421.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.988e-05/0.4412, allocations: 7.812 kB / 421.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.176e-06/0.4412, allocations: 0 / 421.4 MB, free: 15.2 MB / 346.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: 2 (step.counter,$CLKPRE.step.counter) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.85e-05/0.4413, allocations: 112.9 kB / 421.5 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.781e-05/0.4415, allocations: 53.22 kB / 421.6 MB, free: 15.03 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.642e-05/0.4415, allocations: 7.969 kB / 421.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.4415, allocations: 4 kB / 421.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.4415, allocations: 0 / 421.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.271e-06/0.4415, allocations: 0 / 421.6 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.4417, allocations: 165.4 kB / 421.7 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.4417, allocations: 0 / 421.7 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.201e-05/0.4418, allocations: 8 kB / 421.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.284e-06/0.4418, allocations: 3.984 kB / 421.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-06/0.4418, allocations: 3.938 kB / 421.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.146e-06/0.4418, allocations: 0 / 421.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4418, allocations: 96 / 421.8 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.442, allocations: 84.62 kB / 421.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.782e-05/0.4421, allocations: 89.02 kB / 421.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.4421, allocations: 3.875 kB / 421.9 MB, free: 14.6 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.109e-05/0.4422, allocations: 7.984 kB / 421.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.146e-06/0.4422, allocations: 0 / 421.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.885e-06/0.4422, allocations: 0 / 421.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.747e-05/0.4422, allocations: 79.28 kB / 422 MB, free: 14.51 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.71e-07/0.4423, allocations: 0 / 422 MB, free: 14.51 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002531/0.4425, allocations: 7.875 kB / 422 MB, free: 14.51 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: 1 (step.counter) * 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.0001224/0.4427, allocations: 103.2 kB / 422.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.268e-05/0.4428, allocations: 23.81 kB / 422.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4428, allocations: 0 / 422.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.301e-06/0.4428, allocations: 0 / 422.2 MB, free: 14.38 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002116/0.443, allocations: 31.53 kB / 422.2 MB, free: 14.35 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002235/0.4433, allocations: 94.38 kB / 422.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003511/0.4436, allocations: 0.6809 MB / 423 MB, free: 13.53 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.4437, allocations: 11.69 kB / 423 MB, free: 13.52 MB / 346.7 MB Notification: Performance of SimCode: time 1.491e-06/0.4437, allocations: 4 kB / 423 MB, free: 13.52 MB / 346.7 MB Notification: Performance of Templates: time 0.002068/0.4458, allocations: 0.6061 MB / 423.6 MB, free: 12.91 MB / 346.7 MB