Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadModel(Modelica): time 2.163/2.163, allocations: 224.7 MB / 241.1 MB, free: 1.703 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.03e-05/3.034e-05, allocations: 0 / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1271/0.1272, allocations: 50.42 MB / 345 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.002777/0.13, allocations: 1.191 MB / 346.2 MB, free: 7.758 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1312, allocations: 395.6 kB / 346.6 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.843e-05/0.1313, allocations: 4 kB / 346.6 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 2.198e-05/0.1313, allocations: 3.938 kB / 346.6 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 7.461e-05/0.1314, allocations: 3.984 kB / 346.6 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003316/0.1318, allocations: 23.97 kB / 346.6 MB, free: 7.332 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.397e-05/0.1319, allocations: 19.91 kB / 346.6 MB, free: 7.312 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.838e-05/0.132, allocations: 12 kB / 346.6 MB, free: 7.301 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.1321, allocations: 7.984 kB / 346.6 MB, free: 7.293 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.864e-05/0.1322, allocations: 19.91 kB / 346.7 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.764e-05/0.1323, allocations: 0 / 346.7 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.1323, allocations: 4 kB / 346.7 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.779e-05/0.1323, allocations: 0 / 346.7 MB, free: 7.27 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.1324, allocations: 4 kB / 346.7 MB, free: 7.266 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.898e-05/0.1325, allocations: 19.95 kB / 346.7 MB, free: 7.246 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1325, allocations: 0 / 346.7 MB, free: 7.246 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.751e-06/0.1325, allocations: 0 / 346.7 MB, free: 7.246 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.01e-05/0.1325, allocations: 7.938 kB / 346.7 MB, free: 7.238 MB / 282.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.0006322/0.1332, allocations: 347.5 kB / 347 MB, free: 6.852 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/0.1333, allocations: 11.97 kB / 347 MB, free: 6.84 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.1333, allocations: 7.953 kB / 347 MB, free: 6.832 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002241/0.1336, allocations: 175 kB / 347.2 MB, free: 6.621 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.1336, allocations: 4 kB / 347.2 MB, free: 6.617 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/0.1336, allocations: 4 kB / 347.2 MB, free: 6.613 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004748/0.1341, allocations: 115.3 kB / 347.3 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.1341, allocations: 0 / 347.3 MB, free: 6.488 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.161e-05/0.1342, allocations: 4 kB / 347.3 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.1342, allocations: 7.922 kB / 347.3 MB, free: 6.477 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00015/0.1343, allocations: 31.94 kB / 347.4 MB, free: 6.445 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001831/0.1345, allocations: 157.6 kB / 347.5 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.1348, allocations: 62.55 kB / 347.6 MB, free: 6.172 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.987e-05/0.1349, allocations: 4 kB / 347.6 MB, free: 6.168 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.163e-05/0.1349, allocations: 38.72 kB / 347.6 MB, free: 6.121 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.994e-06/0.1349, allocations: 0 / 347.6 MB, free: 6.121 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003518/0.1353, allocations: 81.52 kB / 347.7 MB, free: 6.035 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.1353, allocations: 55.41 kB / 347.8 MB, free: 5.969 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.962e-05/0.1355, allocations: 101 kB / 347.9 MB, free: 5.863 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.745e-05/0.1355, allocations: 33.7 kB / 347.9 MB, free: 5.824 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.702e-05/0.1356, allocations: 150.6 kB / 348 MB, free: 5.676 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.207e-06/0.1356, allocations: 4 kB / 348.1 MB, free: 5.672 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-06/0.1356, allocations: 0 / 348.1 MB, free: 5.672 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.1357, allocations: 314.8 kB / 348.4 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.658e-05/0.1358, allocations: 4 kB / 348.4 MB, free: 5.352 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.603e-05/0.1358, allocations: 35.36 kB / 348.4 MB, free: 5.305 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.767e-05/0.1359, allocations: 8 kB / 348.4 MB, free: 5.297 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1359, allocations: 0 / 348.4 MB, free: 5.297 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001146/0.136, allocations: 53.62 kB / 348.5 MB, free: 5.238 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.916e-05/0.136, allocations: 4.375 kB / 348.5 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.136, allocations: 0 / 348.5 MB, free: 5.234 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.1361, allocations: 4.125 kB / 348.5 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.83e-05/0.1362, allocations: 8 kB / 348.5 MB, free: 5.223 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.1362, allocations: 7.875 kB / 348.5 MB, free: 5.215 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.389e-05/0.1362, allocations: 11.94 kB / 348.5 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1362, allocations: 0 / 348.5 MB, free: 5.203 MB / 282.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 9.371e-05/0.1363, allocations: 113.8 kB / 348.6 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.1366, allocations: 65.95 kB / 348.7 MB, free: 5.012 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.158e-05/0.1366, allocations: 11.94 kB / 348.7 MB, free: 4.996 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1366, allocations: 4 kB / 348.7 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1366, allocations: 0 / 348.7 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1367, allocations: 0 / 348.7 MB, free: 4.992 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001545/0.1368, allocations: 169.5 kB / 348.9 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1368, allocations: 4 kB / 348.9 MB, free: 4.773 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001082/0.137, allocations: 11.98 kB / 348.9 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.137, allocations: 0 / 348.9 MB, free: 4.762 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.137, allocations: 3.938 kB / 348.9 MB, free: 4.758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.137, allocations: 0 / 348.9 MB, free: 4.758 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.137, allocations: 0 / 348.9 MB, free: 4.758 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002348/0.1373, allocations: 97.06 kB / 349 MB, free: 4.645 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/0.1373, allocations: 85.02 kB / 349 MB, free: 4.543 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/0.1374, allocations: 3.984 kB / 349.1 MB, free: 4.539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.692e-05/0.1374, allocations: 4 kB / 349.1 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-06/0.1375, allocations: 0 / 349.1 MB, free: 4.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.1375, allocations: 0 / 349.1 MB, free: 4.535 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.246e-05/0.1376, allocations: 95.27 kB / 349.1 MB, free: 4.441 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.1376, allocations: 0 / 349.1 MB, free: 4.441 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000241/0.1378, allocations: 4 kB / 349.2 MB, free: 4.438 MB / 282.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.000141/0.138, allocations: 99.25 kB / 349.2 MB, free: 4.332 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001578/0.1381, allocations: 27.92 kB / 349.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.1382, allocations: 256 / 349.3 MB, free: 4.305 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.252e-06/0.1382, allocations: 4 kB / 349.3 MB, free: 4.301 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000266/0.1384, allocations: 35.88 kB / 349.3 MB, free: 4.266 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003542/0.1388, allocations: 166.6 kB / 349.5 MB, free: 4.07 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.1391, allocations: 0.6848 MB / 350.2 MB, free: 3.359 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.613e-05/0.1392, allocations: 19.44 kB / 350.2 MB, free: 3.34 MB / 282.7 MB Notification: Performance of SimCode: time 8.82e-07/0.1392, allocations: 3.938 kB / 350.2 MB, free: 3.336 MB / 282.7 MB Notification: Performance of Templates: time 0.00254/0.1417, allocations: 0.5694 MB / 350.8 MB, free: 2.77 MB / 282.7 MB