Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2") Notification: Performance of loadModel(Modelica): time 2.066/2.066, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.345e-05/2.345e-05, allocations: 0 / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1088, allocations: 50.41 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.HoldWithDAeffects2): time 0.002718/0.1116, allocations: 1.523 MB / 346.5 MB, free: 7.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.113, allocations: 0.5458 MB / 347 MB, free: 6.859 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.1132, allocations: 8 kB / 347.1 MB, free: 6.852 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.618e-05/0.1132, allocations: 11.88 kB / 347.1 MB, free: 6.84 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.1134, allocations: 27.88 kB / 347.1 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.1139, allocations: 83.77 kB / 347.2 MB, free: 6.73 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.1141, allocations: 75.8 kB / 347.2 MB, free: 6.656 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1143, allocations: 32.14 kB / 347.3 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.1144, allocations: 39.8 kB / 347.3 MB, free: 6.586 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001075/0.1145, allocations: 35.84 kB / 347.4 MB, free: 6.551 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.821e-05/0.1146, allocations: 4 kB / 347.4 MB, free: 6.547 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.012e-05/0.1146, allocations: 7.938 kB / 347.4 MB, free: 6.539 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.178e-05/0.1147, allocations: 15.92 kB / 347.4 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.906e-05/0.1147, allocations: 8 kB / 347.4 MB, free: 6.516 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001719/0.1149, allocations: 95.78 kB / 347.5 MB, free: 6.422 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1149, allocations: 4 kB / 347.5 MB, free: 6.418 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.1149, allocations: 0 / 347.5 MB, free: 6.418 MB / 282.7 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.115, allocations: 0 / 347.5 MB, free: 6.418 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007165/0.1157, allocations: 415.4 kB / 347.9 MB, free: 5.965 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/0.1157, allocations: 8.031 kB / 347.9 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.084e-05/0.1158, allocations: 23.67 kB / 347.9 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003799/0.1162, allocations: 235.7 kB / 348.2 MB, free: 5.66 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.1162, allocations: 4.188 kB / 348.2 MB, free: 5.656 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.751e-05/0.1163, allocations: 11.98 kB / 348.2 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000897/0.1172, allocations: 302.8 kB / 348.5 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.143e-05/0.1172, allocations: 0 / 348.5 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.1173, allocations: 0 / 348.5 MB, free: 5.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.927e-06/0.1173, allocations: 4 kB / 348.5 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003924/0.1177, allocations: 87.89 kB / 348.6 MB, free: 5.23 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006334/0.1183, allocations: 431.3 kB / 349 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007335/0.1191, allocations: 306.2 kB / 349.3 MB, free: 4.383 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.476e-05/0.1191, allocations: 12.03 kB / 349.3 MB, free: 4.371 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.152e-05/0.1192, allocations: 38.56 kB / 349.3 MB, free: 4.324 MB / 282.7 MB Notification: Performance of pre-optimization done (n=18): time 2.505e-06/0.1192, allocations: 0 / 349.3 MB, free: 4.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=18): time 0.0009359/0.1201, allocations: 245.2 kB / 349.6 MB, free: 4.078 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/0.1203, allocations: 196.1 kB / 349.8 MB, free: 3.844 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000237/0.1205, allocations: 154.6 kB / 349.9 MB, free: 3.688 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.974e-05/0.1206, allocations: 33.7 kB / 349.9 MB, free: 3.648 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.995e-05/0.1207, allocations: 162.9 kB / 350.1 MB, free: 3.484 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.1207, allocations: 19.83 kB / 350.1 MB, free: 3.465 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.107e-05/0.1208, allocations: 4 kB / 350.1 MB, free: 3.461 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1209, allocations: 318.8 kB / 350.4 MB, free: 3.141 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.121, allocations: 27.94 kB / 350.5 MB, free: 3.113 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.1213, allocations: 143.4 kB / 350.6 MB, free: 2.918 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.1214, allocations: 47.97 kB / 350.6 MB, free: 2.871 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.1215, allocations: 4 kB / 350.6 MB, free: 2.867 MB / 282.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004454/0.1219, allocations: 173.4 kB / 350.8 MB, free: 2.691 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.122, allocations: 7.938 kB / 350.8 MB, free: 2.684 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.122, allocations: 4 kB / 350.8 MB, free: 2.68 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.122, allocations: 8 kB / 350.8 MB, free: 2.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.1223, allocations: 35.98 kB / 350.9 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.1223, allocations: 11.92 kB / 350.9 MB, free: 2.625 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.1225, allocations: 20.22 kB / 350.9 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.1225, allocations: 12 kB / 350.9 MB, free: 2.594 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001739/0.1227, allocations: 141.7 kB / 351.1 MB, free: 2.445 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004816/0.1232, allocations: 149.3 kB / 351.2 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.707e-05/0.1233, allocations: 25.39 kB / 351.2 MB, free: 2.266 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.1233, allocations: 4 kB / 351.2 MB, free: 2.262 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.1233, allocations: 4.031 kB / 351.2 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.1233, allocations: 4.234 kB / 351.2 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.1238, allocations: 213.5 kB / 351.4 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/0.1238, allocations: 7.984 kB / 351.5 MB, free: 1.988 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002823/0.1241, allocations: 39.92 kB / 351.5 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/0.1241, allocations: 3.984 kB / 351.5 MB, free: 1.945 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.1241, allocations: 8 kB / 351.5 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.837e-06/0.1241, allocations: 3.984 kB / 351.5 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.1242, allocations: 4 kB / 351.5 MB, free: 1.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007197/0.1249, allocations: 419.9 kB / 351.9 MB, free: 1.469 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.125, allocations: 108.9 kB / 352 MB, free: 1.344 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.1251, allocations: 7.953 kB / 352 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002308/0.1253, allocations: 23.98 kB / 352.1 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.029e-05/0.1254, allocations: 0 / 352.1 MB, free: 1.312 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.1254, allocations: 8 kB / 352.1 MB, free: 1.305 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001681/0.1256, allocations: 137.1 kB / 352.2 MB, free: 1.172 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1256, allocations: 0 / 352.2 MB, free: 1.172 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004303/0.1261, allocations: 20 kB / 352.2 MB, free: 1.152 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001416/0.1262, allocations: 103.2 kB / 352.3 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004821/0.1267, allocations: 132.7 kB / 352.5 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.1267, allocations: 0 / 352.5 MB, free: 0.9141 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.402e-05/0.1268, allocations: 20.05 kB / 352.5 MB, free: 0.8945 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007886/0.1276, allocations: 104.1 kB / 352.6 MB, free: 0.793 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009555/0.1286, allocations: 401.9 kB / 353 MB, free: 364 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004081/0.129, allocations: 0.7319 MB / 353.7 MB, free: 15.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.884e-05/0.1291, allocations: 19.44 kB / 353.7 MB, free: 15.58 MB / 298.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1291, allocations: 0 / 353.7 MB, free: 15.58 MB / 298.7 MB Notification: Performance of Templates: time 0.005161/0.1343, allocations: 1.768 MB / 355.5 MB, free: 13.82 MB / 298.7 MB