Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock") Notification: Performance of loadModel(Modelica): time 2.131/2.131, allocations: 224.7 MB / 241.1 MB, free: 1.711 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.703e-05/2.694e-05, allocations: 0 / 294.6 MB, free: 11.43 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 50.41 MB / 345 MB, free: 8.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.AssignClock): time 0.00138/0.1192, allocations: 0.547 MB / 345.5 MB, free: 8.426 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003911/0.1196, allocations: 115.5 kB / 345.6 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.753e-05/0.1197, allocations: 7.938 kB / 345.6 MB, free: 8.305 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 7.934e-05/0.1198, allocations: 7.984 kB / 345.7 MB, free: 8.297 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001108/0.12, allocations: 7.938 kB / 345.7 MB, free: 8.289 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002649/0.1202, allocations: 31.95 kB / 345.7 MB, free: 8.258 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.378e-05/0.1203, allocations: 23.92 kB / 345.7 MB, free: 8.234 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.42e-05/0.1205, allocations: 19.97 kB / 345.7 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.331e-05/0.1205, allocations: 0 / 345.7 MB, free: 8.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.1206, allocations: 19.92 kB / 345.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.534e-05/0.1206, allocations: 0 / 345.8 MB, free: 8.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.1206, allocations: 4 kB / 345.8 MB, free: 8.191 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.1207, allocations: 15.88 kB / 345.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.1207, allocations: 4 kB / 345.8 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.413e-05/0.1208, allocations: 47.84 kB / 345.8 MB, free: 8.125 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.1208, allocations: 0 / 345.8 MB, free: 8.125 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.1208, allocations: 0 / 345.8 MB, free: 8.125 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.548e-06/0.1209, allocations: 0 / 345.8 MB, free: 8.125 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004601/0.1213, allocations: 355.5 kB / 346.2 MB, free: 7.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.1214, allocations: 8.031 kB / 346.2 MB, free: 7.723 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.346e-05/0.1214, allocations: 11.86 kB / 346.2 MB, free: 7.711 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.1217, allocations: 194.8 kB / 346.4 MB, free: 7.48 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.1217, allocations: 4 kB / 346.4 MB, free: 7.477 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.1217, allocations: 4 kB / 346.4 MB, free: 7.473 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.1221, allocations: 139.2 kB / 346.5 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1221, allocations: 0 / 346.5 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.1222, allocations: 0 / 346.5 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.1222, allocations: 3.953 kB / 346.5 MB, free: 7.32 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.431e-05/0.1223, allocations: 27.92 kB / 346.6 MB, free: 7.293 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.1225, allocations: 177.5 kB / 346.7 MB, free: 7.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.1227, allocations: 74.75 kB / 346.8 MB, free: 6.988 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/0.1227, allocations: 0 / 346.8 MB, free: 6.988 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.813e-05/0.1228, allocations: 30.56 kB / 346.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 3.717e-06/0.1228, allocations: 0 / 346.8 MB, free: 6.949 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002869/0.1231, allocations: 105.7 kB / 346.9 MB, free: 6.84 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.296e-05/0.1231, allocations: 63.41 kB / 347 MB, free: 6.766 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.1233, allocations: 127.8 kB / 347.1 MB, free: 6.633 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1233, allocations: 29.7 kB / 347.2 MB, free: 6.598 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.755e-05/0.1234, allocations: 150.6 kB / 347.3 MB, free: 6.449 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.213e-05/0.1234, allocations: 11.91 kB / 347.3 MB, free: 6.438 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.288e-06/0.1235, allocations: 0 / 347.3 MB, free: 6.438 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1236, allocations: 318.8 kB / 347.6 MB, free: 6.117 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.025e-05/0.1236, allocations: 8 kB / 347.6 MB, free: 6.109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.65e-05/0.1237, allocations: 62.8 kB / 347.7 MB, free: 6.023 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.031e-05/0.1238, allocations: 24 kB / 347.7 MB, free: 6 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.1238, allocations: 0 / 347.7 MB, free: 6 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001883/0.124, allocations: 93.42 kB / 347.8 MB, free: 5.902 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.124, allocations: 4 kB / 347.8 MB, free: 5.898 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.1241, allocations: 4.188 kB / 347.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.1241, allocations: 0 / 347.8 MB, free: 5.895 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001437/0.1242, allocations: 20.19 kB / 347.8 MB, free: 5.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.1243, allocations: 11.92 kB / 347.8 MB, free: 5.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.1243, allocations: 4 kB / 347.8 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.1243, allocations: 7.953 kB / 347.9 MB, free: 5.852 MB / 282.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.0001308/0.1245, allocations: 121.8 kB / 348 MB, free: 5.723 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.1247, allocations: 77.58 kB / 348 MB, free: 5.641 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.546e-05/0.1247, allocations: 20.7 kB / 348.1 MB, free: 5.621 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1247, allocations: 0 / 348.1 MB, free: 5.621 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1248, allocations: 0 / 348.1 MB, free: 5.621 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1248, allocations: 11.94 kB / 348.1 MB, free: 5.609 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001603/0.1249, allocations: 181.4 kB / 348.3 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.125, allocations: 0 / 348.3 MB, free: 5.383 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.1251, allocations: 16 kB / 348.3 MB, free: 5.367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.1251, allocations: 0 / 348.3 MB, free: 5.367 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-06/0.1251, allocations: 0 / 348.3 MB, free: 5.367 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.1251, allocations: 3.984 kB / 348.3 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.1251, allocations: 4 kB / 348.3 MB, free: 5.359 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001993/0.1253, allocations: 113 kB / 348.4 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.574e-05/0.1254, allocations: 93 kB / 348.5 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.226e-05/0.1255, allocations: 0 / 348.5 MB, free: 5.121 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.263e-05/0.1255, allocations: 7.984 kB / 348.5 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-06/0.1255, allocations: 0 / 348.5 MB, free: 5.113 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.1256, allocations: 0 / 348.5 MB, free: 5.113 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.854e-05/0.1257, allocations: 107.2 kB / 348.6 MB, free: 5.008 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1257, allocations: 0 / 348.6 MB, free: 5.008 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002766/0.126, allocations: 12 kB / 348.6 MB, free: 4.996 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: 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.000159/0.1261, allocations: 107.2 kB / 348.7 MB, free: 4.879 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001771/0.1263, allocations: 47.92 kB / 348.8 MB, free: 4.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1263, allocations: 3.938 kB / 348.8 MB, free: 4.828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.001e-06/0.1264, allocations: 0 / 348.8 MB, free: 4.828 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/0.1267, allocations: 48.53 kB / 348.8 MB, free: 4.781 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.1271, allocations: 213.4 kB / 349 MB, free: 4.539 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.1275, allocations: 0.7004 MB / 349.7 MB, free: 3.812 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.347e-05/0.1275, allocations: 11.44 kB / 349.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1275, allocations: 0 / 349.7 MB, free: 3.801 MB / 282.7 MB Notification: Performance of Templates: time 0.003037/0.1306, allocations: 0.8681 MB / 350.6 MB, free: 2.938 MB / 282.7 MB