Running command: translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadModel(Modelica): time 2.396/2.396, allocations: 224.7 MB / 241.1 MB, free: 1.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.603e-05/2.595e-05, allocations: 7.984 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1054, allocations: 50.42 MB / 345 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002221/0.1077, allocations: 1.246 MB / 346.2 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.1087, allocations: 451.1 kB / 346.7 MB, free: 7.223 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.648e-05/0.1088, allocations: 4 kB / 346.7 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.395e-05/0.1089, allocations: 7.922 kB / 346.7 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.109, allocations: 0 / 346.7 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.1093, allocations: 51.81 kB / 346.7 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 8.236e-05/0.1094, allocations: 27.97 kB / 346.8 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.988e-05/0.1095, allocations: 4 kB / 346.8 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.783e-05/0.1096, allocations: 15.92 kB / 346.8 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.761e-05/0.1097, allocations: 19.92 kB / 346.8 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.543e-05/0.1097, allocations: 0 / 346.8 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.1097, allocations: 0 / 346.8 MB, free: 7.094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.609e-05/0.1098, allocations: 7.938 kB / 346.8 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.742e-05/0.1098, allocations: 4 kB / 346.8 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.035e-05/0.1099, allocations: 39.92 kB / 346.8 MB, free: 7.043 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1099, allocations: 4 kB / 346.9 MB, free: 7.039 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1099, allocations: 0 / 346.9 MB, free: 7.039 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1099, allocations: 0 / 346.9 MB, free: 7.039 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005272/0.1105, allocations: 347.5 kB / 347.2 MB, free: 6.652 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.1105, allocations: 8.031 kB / 347.2 MB, free: 6.645 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.1106, allocations: 15.84 kB / 347.2 MB, free: 6.629 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002361/0.1108, allocations: 197.8 kB / 347.4 MB, free: 6.398 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.906e-05/0.1109, allocations: 4 kB / 347.4 MB, free: 6.395 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.1109, allocations: 11.94 kB / 347.4 MB, free: 6.383 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000328/0.1112, allocations: 101 kB / 347.5 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1113, allocations: 0 / 347.5 MB, free: 6.266 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.1113, allocations: 11.89 kB / 347.5 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.1113, allocations: 0 / 347.5 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001274/0.1114, allocations: 23.98 kB / 347.6 MB, free: 6.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003675/0.1118, allocations: 261.8 kB / 347.8 MB, free: 5.922 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.112, allocations: 49.14 kB / 347.9 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.333e-05/0.112, allocations: 4 kB / 347.9 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.112, allocations: 38.58 kB / 347.9 MB, free: 5.805 MB / 282.7 MB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.1121, allocations: 0 / 347.9 MB, free: 5.805 MB / 282.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003372/0.1124, allocations: 77.73 kB / 348 MB, free: 5.723 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.1125, allocations: 77.11 kB / 348.1 MB, free: 5.629 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.1126, allocations: 125.3 kB / 348.2 MB, free: 5.496 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.1127, allocations: 25.7 kB / 348.2 MB, free: 5.465 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.829e-05/0.1128, allocations: 158.6 kB / 348.4 MB, free: 5.309 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.1128, allocations: 7.844 kB / 348.4 MB, free: 5.301 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.1128, allocations: 0 / 348.4 MB, free: 5.301 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1129, allocations: 310.8 kB / 348.7 MB, free: 4.988 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.31e-05/0.113, allocations: 20.02 kB / 348.7 MB, free: 4.969 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.777e-05/0.1131, allocations: 17.72 kB / 348.7 MB, free: 4.945 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.272e-05/0.1132, allocations: 11.98 kB / 348.7 MB, free: 4.934 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1132, allocations: 0 / 348.7 MB, free: 4.934 MB / 282.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001848/0.1134, allocations: 57.69 kB / 348.8 MB, free: 4.871 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.839e-05/0.1134, allocations: 11.95 kB / 348.8 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1134, allocations: 0 / 348.8 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.1134, allocations: 0 / 348.8 MB, free: 4.859 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.1136, allocations: 11.98 kB / 348.8 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1136, allocations: 0 / 348.8 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.791e-05/0.1136, allocations: 0 / 348.8 MB, free: 4.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1137, allocations: 12.06 kB / 348.8 MB, free: 4.836 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001101/0.1138, allocations: 109.8 kB / 348.9 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.401e-05/0.1139, allocations: 49.53 kB / 349 MB, free: 4.664 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.675e-05/0.1139, allocations: 7.828 kB / 349 MB, free: 4.656 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.114, allocations: 4 kB / 349 MB, free: 4.652 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.114, allocations: 0 / 349 MB, free: 4.652 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.114, allocations: 0 / 349 MB, free: 4.652 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.1142, allocations: 169.6 kB / 349.1 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.1142, allocations: 0 / 349.1 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.653e-05/0.1143, allocations: 16.02 kB / 349.2 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1144, allocations: 0 / 349.2 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1144, allocations: 4 kB / 349.2 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1144, allocations: 7.891 kB / 349.2 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1144, allocations: 4 kB / 349.2 MB, free: 4.406 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000281/0.1147, allocations: 178 kB / 349.3 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.692e-05/0.1148, allocations: 93 kB / 349.4 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.1148, allocations: 7.953 kB / 349.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001061/0.115, allocations: 0 / 349.4 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.115, allocations: 4 kB / 349.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.115, allocations: 0 / 349.4 MB, free: 4.086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001105/0.1151, allocations: 113.9 kB / 349.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1152, allocations: 0 / 349.6 MB, free: 3.977 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002732/0.1154, allocations: 8.031 kB / 349.6 MB, free: 3.969 MB / 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001329/0.1156, allocations: 99.25 kB / 349.7 MB, free: 3.863 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.1158, allocations: 23.98 kB / 349.7 MB, free: 3.84 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.1158, allocations: 0 / 349.7 MB, free: 3.84 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.742e-05/0.1159, allocations: 16.11 kB / 349.7 MB, free: 3.824 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/0.1162, allocations: 15.97 kB / 349.7 MB, free: 3.809 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004493/0.1167, allocations: 215.2 kB / 349.9 MB, free: 3.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.117, allocations: 0.6928 MB / 350.6 MB, free: 2.84 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.096e-05/0.1171, allocations: 11.44 kB / 350.6 MB, free: 2.828 MB / 282.7 MB Notification: Performance of SimCode: time 8.51e-07/0.1171, allocations: 0 / 350.6 MB, free: 2.828 MB / 282.7 MB Notification: Performance of Templates: time 0.002673/0.1198, allocations: 0.6997 MB / 351.3 MB, free: 2.133 MB / 282.7 MB