Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock") Notification: Performance of loadModel(Modelica): time 2.266/2.266, allocations: 224.7 MB / 241.1 MB, free: 1.707 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.062e-05, allocations: 0 / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1134, allocations: 50.41 MB / 345 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.AssignClock): time 0.001507/0.115, allocations: 0.6384 MB / 345.6 MB, free: 8.324 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003921/0.1154, allocations: 119.6 kB / 345.7 MB, free: 8.207 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.916e-05/0.1155, allocations: 3.938 kB / 345.7 MB, free: 8.203 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.579e-05/0.1156, allocations: 3.938 kB / 345.7 MB, free: 8.199 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.1157, allocations: 11.98 kB / 345.8 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002513/0.116, allocations: 27.97 kB / 345.8 MB, free: 8.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.448e-05/0.1161, allocations: 23.92 kB / 345.8 MB, free: 8.137 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.927e-05/0.1162, allocations: 15.97 kB / 345.8 MB, free: 8.121 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.245e-05/0.1162, allocations: 11.94 kB / 345.8 MB, free: 8.109 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.973e-05/0.1163, allocations: 11.92 kB / 345.8 MB, free: 8.098 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.471e-05/0.1163, allocations: 0 / 345.8 MB, free: 8.098 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1163, allocations: 4 kB / 345.8 MB, free: 8.094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.713e-05/0.1164, allocations: 11.98 kB / 345.9 MB, free: 8.082 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.759e-05/0.1164, allocations: 4 kB / 345.9 MB, free: 8.078 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.557e-05/0.1165, allocations: 35.92 kB / 345.9 MB, free: 8.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.1165, allocations: 0 / 345.9 MB, free: 8.043 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.1165, allocations: 0 / 345.9 MB, free: 8.043 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.1165, allocations: 0 / 345.9 MB, free: 8.043 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.0004829/0.117, allocations: 363.4 kB / 346.3 MB, free: 7.641 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/0.1171, allocations: 8.031 kB / 346.3 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.614e-05/0.1171, allocations: 11.86 kB / 346.3 MB, free: 7.621 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.1174, allocations: 186.9 kB / 346.5 MB, free: 7.398 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1174, allocations: 3.938 kB / 346.5 MB, free: 7.395 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.1174, allocations: 8 kB / 346.5 MB, free: 7.387 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.1178, allocations: 127.2 kB / 346.6 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1178, allocations: 0 / 346.6 MB, free: 7.25 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.1179, allocations: 4 kB / 346.6 MB, free: 7.246 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.04e-05/0.1179, allocations: 3.953 kB / 346.6 MB, free: 7.242 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.991e-05/0.118, allocations: 12 kB / 346.6 MB, free: 7.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.1182, allocations: 181.5 kB / 346.8 MB, free: 7.004 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001888/0.1184, allocations: 66.64 kB / 346.9 MB, free: 6.93 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/0.1184, allocations: 4 kB / 346.9 MB, free: 6.926 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.1184, allocations: 30.56 kB / 346.9 MB, free: 6.887 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.1184, allocations: 3.938 kB / 346.9 MB, free: 6.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0002544/0.1187, allocations: 85.78 kB / 347 MB, free: 6.793 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.437e-05/0.1188, allocations: 63.41 kB / 347 MB, free: 6.719 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001468/0.1189, allocations: 131.9 kB / 347.2 MB, free: 6.582 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.119, allocations: 25.7 kB / 347.2 MB, free: 6.551 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.637e-05/0.119, allocations: 158.5 kB / 347.3 MB, free: 6.395 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.982e-05/0.1191, allocations: 7.984 kB / 347.4 MB, free: 6.387 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-06/0.1191, allocations: 4 kB / 347.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.1192, allocations: 310.8 kB / 347.7 MB, free: 6.07 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.998e-05/0.1193, allocations: 8 kB / 347.7 MB, free: 6.062 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.976e-05/0.1193, allocations: 58.86 kB / 347.7 MB, free: 5.98 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.636e-05/0.1194, allocations: 20 kB / 347.7 MB, free: 5.961 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.1194, allocations: 3.938 kB / 347.7 MB, free: 5.957 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001816/0.1196, allocations: 81.56 kB / 347.8 MB, free: 5.871 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.1196, allocations: 7.984 kB / 347.8 MB, free: 5.863 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1197, allocations: 4 kB / 347.8 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.1197, allocations: 0 / 347.8 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.1198, allocations: 24.19 kB / 347.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1198, allocations: 0 / 347.9 MB, free: 5.836 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.29e-05/0.1199, allocations: 11.84 kB / 347.9 MB, free: 5.824 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.1199, allocations: 11.94 kB / 347.9 MB, free: 5.812 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: 0 () * 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.0001171/0.12, allocations: 121.8 kB / 348 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.1202, allocations: 77.53 kB / 348.1 MB, free: 5.602 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.67e-05/0.1203, allocations: 8.719 kB / 348.1 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1203, allocations: 0 / 348.1 MB, free: 5.594 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.1203, allocations: 4.188 kB / 348.1 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1203, allocations: 0 / 348.1 MB, free: 5.59 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001441/0.1205, allocations: 181.5 kB / 348.3 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1205, allocations: 0 / 348.3 MB, free: 5.363 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.1206, allocations: 12 kB / 348.3 MB, free: 5.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1206, allocations: 0 / 348.3 MB, free: 5.352 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1206, allocations: 4 kB / 348.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1206, allocations: 0 / 348.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1206, allocations: 0 / 348.3 MB, free: 5.348 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002389/0.1209, allocations: 112.9 kB / 348.4 MB, free: 5.219 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.256e-05/0.121, allocations: 101 kB / 348.5 MB, free: 5.102 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.225e-05/0.121, allocations: 3.938 kB / 348.5 MB, free: 5.098 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.913e-05/0.1211, allocations: 0 / 348.5 MB, free: 5.098 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.907e-06/0.1211, allocations: 0 / 348.5 MB, free: 5.098 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.1211, allocations: 4 kB / 348.5 MB, free: 5.094 MB / 282.7 MB Notification: Performance of sorting global known variables: time 9.67e-05/0.1212, allocations: 99.27 kB / 348.6 MB, free: 4.996 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1212, allocations: 0 / 348.6 MB, free: 4.996 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002591/0.1215, allocations: 12 kB / 348.6 MB, free: 4.984 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 (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.0001346/0.1216, allocations: 107.2 kB / 348.7 MB, free: 4.867 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001563/0.1218, allocations: 35.94 kB / 348.8 MB, free: 4.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.1218, allocations: 0 / 348.8 MB, free: 4.832 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.072e-06/0.1218, allocations: 3.938 kB / 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.0003345/0.1222, allocations: 46.72 kB / 348.8 MB, free: 4.785 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.1226, allocations: 213.5 kB / 349 MB, free: 4.539 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.1229, 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.371e-05/0.123, allocations: 7.438 kB / 349.7 MB, free: 3.805 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.123, allocations: 0 / 349.7 MB, free: 3.805 MB / 282.7 MB Notification: Performance of Templates: time 0.002875/0.1259, allocations: 0.7896 MB / 350.5 MB, free: 3.016 MB / 282.7 MB