Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep") Notification: Performance of loadModel(Modelica): time 1.98/1.98, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.235e-05, allocations: 4 kB / 292.1 MB, free: 8.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09084/0.0909, allocations: 50.42 MB / 342.6 MB, free: 6.391 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3534/0.4444, allocations: 76.33 MB / 418.9 MB, free: 1.785 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/0.4447, allocations: 74.64 kB / 419 MB, free: 1.742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002138/0.4468, allocations: 0.7052 MB / 419.7 MB, free: 1.09 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.192e-06/0.4469, allocations: 4 kB / 419.7 MB, free: 1.086 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.012e-05/0.4469, allocations: 0 / 419.7 MB, free: 1.086 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.0003539/0.4472, allocations: 322.4 kB / 420 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.672e-05/0.4473, allocations: 12.02 kB / 420 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.683e-05/0.4474, allocations: 11.86 kB / 420 MB, free: 0.707 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.4476, allocations: 167 kB / 420.2 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.4476, allocations: 6.844 kB / 420.2 MB, free: 0.5039 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.4476, allocations: 3.984 kB / 420.2 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.4479, allocations: 90.59 kB / 420.3 MB, free: 424 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.328e-06/0.4479, allocations: 0 / 420.3 MB, free: 424 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.694e-06/0.4479, allocations: 0 / 420.3 MB, free: 424 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.4479, allocations: 7.953 kB / 420.3 MB, free: 416 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.647e-05/0.448, allocations: 7.938 kB / 420.3 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001722/0.4482, allocations: 157.5 kB / 420.4 MB, free: 204 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001126/0.4483, allocations: 42.17 kB / 420.5 MB, free: 160 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.336e-05/0.4484, allocations: 16.67 kB / 420.5 MB, free: 144 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.4484, allocations: 0 / 420.5 MB, free: 144 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.4484, allocations: 34.38 kB / 420.5 MB, free: 104 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.889e-06/0.4485, allocations: 0 / 420.5 MB, free: 104 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001526/0.4486, allocations: 57.42 kB / 420.6 MB, free: 44 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.937e-05/0.4487, allocations: 55.41 kB / 420.6 MB, free: 15.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.4488, allocations: 108.8 kB / 420.7 MB, free: 15.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.4488, allocations: 25.7 kB / 420.8 MB, free: 15.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.52e-05/0.4489, allocations: 154.4 kB / 420.9 MB, free: 15.69 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.919e-06/0.449, allocations: 0 / 420.9 MB, free: 15.69 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.828e-06/0.449, allocations: 0 / 420.9 MB, free: 15.69 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.4491, allocations: 310.8 kB / 421.2 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.4492, allocations: 4 kB / 421.2 MB, free: 15.37 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.194e-05/0.4492, allocations: 31.25 kB / 421.3 MB, free: 15.33 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.4493, allocations: 7.984 kB / 421.3 MB, free: 15.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4493, allocations: 0 / 421.3 MB, free: 15.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001075/0.4494, allocations: 49.45 kB / 421.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.4494, allocations: 12.06 kB / 421.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.4494, allocations: 4 kB / 421.3 MB, free: 15.26 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.4495, allocations: 3.938 kB / 421.3 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.881e-05/0.4495, allocations: 11.92 kB / 421.3 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/0.4495, allocations: 4 kB / 421.3 MB, free: 15.24 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.4496, allocations: 3.938 kB / 421.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.4496, allocations: 8.203 kB / 421.4 MB, free: 15.23 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: 0 () * 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 7.724e-05/0.4497, allocations: 104.9 kB / 421.5 MB, free: 15.12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.807e-05/0.4498, allocations: 45.56 kB / 421.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/0.4498, allocations: 12.03 kB / 421.5 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.757e-06/0.4499, allocations: 11.98 kB / 421.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.235e-06/0.4499, allocations: 0 / 421.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.769e-06/0.4499, allocations: 0 / 421.5 MB, free: 15.05 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.45, allocations: 165.3 kB / 421.7 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.135e-06/0.45, allocations: 0 / 421.7 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.168e-05/0.4501, allocations: 11.98 kB / 421.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.232e-06/0.4502, allocations: 0 / 421.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.681e-06/0.4502, allocations: 0 / 421.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.636e-06/0.4502, allocations: 0 / 421.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.081e-06/0.4502, allocations: 0 / 421.7 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001271/0.4503, allocations: 80.83 kB / 421.8 MB, free: 14.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.14e-05/0.4504, allocations: 77.11 kB / 421.9 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.4504, allocations: 4 kB / 421.9 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.63e-05/0.4505, allocations: 3.984 kB / 421.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.505e-06/0.4505, allocations: 0 / 421.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.538e-06/0.4505, allocations: 4 kB / 421.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.847e-05/0.4506, allocations: 83.16 kB / 422 MB, free: 14.56 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.97e-07/0.4506, allocations: 4 kB / 422 MB, free: 14.56 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002539/0.4509, allocations: 4 kB / 422 MB, free: 14.55 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 (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.0001328/0.451, allocations: 103.2 kB / 422.1 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 8.515e-05/0.4511, allocations: 19.8 kB / 422.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.4511, allocations: 0 / 422.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.384e-06/0.4511, allocations: 0 / 422.1 MB, free: 14.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000181/0.4513, allocations: 19.77 kB / 422.1 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002193/0.4516, allocations: 101 kB / 422.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.4519, allocations: 0.6887 MB / 422.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.452, allocations: 7.438 kB / 422.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of SimCode: time 1.401e-06/0.452, allocations: 0 / 422.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of Templates: time 0.001961/0.454, allocations: 0.5315 MB / 423.4 MB, free: 13.04 MB / 346.7 MB