Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample") Notification: Performance of loadModel(Modelica): time 2.1/2.1, allocations: 224.7 MB / 241.1 MB, free: 1.699 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.413e-05, allocations: 4 kB / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 50.41 MB / 345 MB, free: 8.969 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.RotationalSample): time 0.00299/0.1138, allocations: 1.622 MB / 346.6 MB, free: 7.328 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001498/0.1154, allocations: 0.5495 MB / 347.1 MB, free: 6.773 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001818/0.1156, allocations: 8 kB / 347.2 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.673e-05/0.1157, allocations: 15.86 kB / 347.2 MB, free: 6.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.1158, allocations: 15.91 kB / 347.2 MB, free: 6.734 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005084/0.1163, allocations: 79.78 kB / 347.3 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001988/0.1165, allocations: 88.28 kB / 347.4 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000197/0.1167, allocations: 65.22 kB / 347.4 MB, free: 6.508 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001968/0.117, allocations: 59.75 kB / 347.5 MB, free: 6.449 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.1171, allocations: 59.77 kB / 347.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.356e-05/0.1172, allocations: 11.94 kB / 347.5 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.044e-05/0.1172, allocations: 4 kB / 347.5 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.147e-05/0.1173, allocations: 27.91 kB / 347.6 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.427e-05/0.1173, allocations: 8 kB / 347.6 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002511/0.1176, allocations: 151.6 kB / 347.7 MB, free: 6.191 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.916e-06/0.1176, allocations: 0 / 347.7 MB, free: 6.191 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.936e-06/0.1176, allocations: 0 / 347.7 MB, free: 6.191 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.126e-05/0.1176, allocations: 0 / 347.7 MB, free: 6.191 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.00113/0.1188, allocations: 0.4911 MB / 348.2 MB, free: 5.637 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.08e-05/0.1188, allocations: 12.02 kB / 348.2 MB, free: 5.625 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.176e-05/0.1189, allocations: 19.77 kB / 348.3 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003555/0.1193, allocations: 223.3 kB / 348.5 MB, free: 5.348 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.675e-05/0.1194, allocations: 42.03 kB / 348.5 MB, free: 5.301 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.023e-05/0.1195, allocations: 16 kB / 348.5 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.1206, allocations: 327.3 kB / 348.8 MB, free: 4.949 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.073e-05/0.1207, allocations: 15.92 kB / 348.9 MB, free: 4.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.1207, allocations: 7.953 kB / 348.9 MB, free: 4.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.337e-06/0.1207, allocations: 4 kB / 348.9 MB, free: 4.922 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007581/0.1215, allocations: 136.5 kB / 349 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.1226, allocations: 478 kB / 349.5 MB, free: 4.27 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008789/0.1235, allocations: 205.2 kB / 349.7 MB, free: 4.051 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.373e-05/0.1235, allocations: 12.06 kB / 349.7 MB, free: 4.039 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004804/0.124, allocations: 131.4 kB / 349.8 MB, free: 3.898 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 3.466e-06/0.124, allocations: 0 / 349.8 MB, free: 3.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.001417/0.1255, allocations: 305.4 kB / 350.1 MB, free: 3.594 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000106/0.1256, allocations: 93.11 kB / 350.2 MB, free: 3.484 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.1258, allocations: 137 kB / 350.3 MB, free: 3.344 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.1258, allocations: 29.7 kB / 350.4 MB, free: 3.309 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.126, allocations: 178.9 kB / 350.5 MB, free: 3.133 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.659e-05/0.126, allocations: 43.48 kB / 350.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.552e-05/0.1261, allocations: 0 / 350.6 MB, free: 3.09 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1262, allocations: 322.8 kB / 350.9 MB, free: 2.766 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003537/0.1266, allocations: 72.19 kB / 351 MB, free: 2.695 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004194/0.127, allocations: 150.7 kB / 351.1 MB, free: 2.512 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.1274, allocations: 105.6 kB / 351.2 MB, free: 2.402 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.1274, allocations: 4 kB / 351.2 MB, free: 2.398 MB / 282.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001008/0.1284, allocations: 282.9 kB / 351.5 MB, free: 2.109 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.941e-05/0.1285, allocations: 37.64 kB / 351.5 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/0.1285, allocations: 0 / 351.5 MB, free: 2.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/0.1286, allocations: 4.344 kB / 351.5 MB, free: 2.062 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.1289, allocations: 55.91 kB / 351.6 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.129, allocations: 4 kB / 351.6 MB, free: 2.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.1293, allocations: 31.81 kB / 351.6 MB, free: 1.973 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.095e-05/0.1293, allocations: 19.98 kB / 351.7 MB, free: 1.953 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 13 (rotationalClock.changed.y,rotationalClock.changed.u,$CLKPRE.rotationalClock.changed.u,rotationalClock.cast.y,rotationalClock.direction_changed,rotationalClock.direction,$whenCondition1,$PRE.trigger_interval_input.T_start,trigger_interval_input.T_start,$PRE.trigger_interval_input.count,trigger_interval_input.count,rotationalClock.less.y,$whenCondition2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * 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.0001964/0.1295, allocations: 133.7 kB / 351.8 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003318/0.1299, allocations: 117.4 kB / 351.9 MB, free: 1.691 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.781e-05/0.13, allocations: 16.72 kB / 351.9 MB, free: 1.676 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.392e-06/0.13, allocations: 4 kB / 351.9 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.13, allocations: 0 / 351.9 MB, free: 1.672 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/0.13, allocations: 7.984 kB / 351.9 MB, free: 1.664 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001175/0.1312, allocations: 0.5021 MB / 352.4 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.1313, allocations: 0 / 352.4 MB, free: 1.105 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/0.1316, allocations: 43.95 kB / 352.5 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.713e-06/0.1316, allocations: 0 / 352.5 MB, free: 1.062 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.1317, allocations: 8 kB / 352.5 MB, free: 1.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.1317, allocations: 4 kB / 352.5 MB, free: 1.051 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1317, allocations: 3.938 kB / 352.5 MB, free: 1.047 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001005/0.1327, allocations: 354.7 kB / 352.8 MB, free: 0.6758 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.152e-05/0.1328, allocations: 92.86 kB / 352.9 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.166e-05/0.1329, allocations: 8 kB / 352.9 MB, free: 0.5586 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003395/0.1332, allocations: 27.97 kB / 353 MB, free: 0.5312 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.775e-05/0.1334, allocations: 11.97 kB / 353 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.1334, allocations: 19.95 kB / 353 MB, free: 0.5 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001203/0.1335, allocations: 110.2 kB / 353.1 MB, free: 404 kB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1335, allocations: 0 / 353.1 MB, free: 404 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.000407/0.134, allocations: 36 kB / 353.1 MB, free: 368 kB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (rotationalClock.direction,rotationalClock.direction_changed,rotationalClock.cast.y,rotationalClock.changed.u,rotationalClock.changed.y,rotationalClock.less.y,$whenCondition1,trigger_interval_input.T_start,trigger_interval_input.count,$whenCondition2) * Number of discrete states: 1 (trigger_interval_input.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001762/0.1341, allocations: 108.4 kB / 353.2 MB, free: 248 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009805/0.1351, allocations: 252.8 kB / 353.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.1352, allocations: 0 / 353.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003458/0.1355, allocations: 80.47 kB / 353.6 MB, free: 15.91 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005016/0.136, allocations: 52.56 kB / 353.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.1372, allocations: 410.4 kB / 354 MB, free: 15.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003569/0.1375, allocations: 0.7325 MB / 354.7 MB, free: 14.67 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.1377, allocations: 23.42 kB / 354.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of SimCode: time 1.313e-06/0.1377, allocations: 0 / 354.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of Templates: time 0.005961/0.1437, allocations: 2.086 MB / 356.9 MB, free: 12.56 MB / 298.7 MB