Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Hold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.RealSignals.Hold") Notification: Performance of loadModel(Modelica): time 2.131/2.131, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.985e-05/2.976e-05, allocations: 4 kB / 294.6 MB, free: 11.39 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 50.42 MB / 345 MB, free: 8.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Hold): time 0.002404/0.1145, allocations: 1.304 MB / 346.3 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00112/0.1156, allocations: 455.1 kB / 346.7 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1158, allocations: 8 kB / 346.7 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.1158, allocations: 3.938 kB / 346.7 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001286/0.116, allocations: 7.969 kB / 346.7 MB, free: 7.145 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003174/0.1163, allocations: 47.83 kB / 346.8 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.64e-05/0.1164, allocations: 27.91 kB / 346.8 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.748e-05/0.1165, allocations: 11.98 kB / 346.8 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.016e-05/0.1166, allocations: 19.92 kB / 346.9 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.443e-05/0.1167, allocations: 19.92 kB / 346.9 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.719e-05/0.1167, allocations: 4 kB / 346.9 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1168, allocations: 4 kB / 346.9 MB, free: 7.012 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.131e-05/0.1168, allocations: 11.92 kB / 346.9 MB, free: 7 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.959e-05/0.1168, allocations: 4 kB / 346.9 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 9.668e-05/0.1169, allocations: 39.92 kB / 346.9 MB, free: 6.957 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.117, allocations: 0 / 346.9 MB, free: 6.957 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.117, allocations: 0 / 346.9 MB, free: 6.957 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.117, allocations: 0 / 346.9 MB, free: 6.957 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005372/0.1175, allocations: 367.5 kB / 347.3 MB, free: 6.551 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.1176, allocations: 12.03 kB / 347.3 MB, free: 6.539 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.1176, allocations: 15.77 kB / 347.3 MB, free: 6.523 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002718/0.1179, allocations: 195.4 kB / 347.5 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.118, allocations: 0 / 347.5 MB, free: 6.293 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.118, allocations: 4 kB / 347.5 MB, free: 6.289 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003972/0.1184, allocations: 142.7 kB / 347.7 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1185, allocations: 0 / 347.7 MB, free: 6.125 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.1185, allocations: 4 kB / 347.7 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1185, allocations: 0 / 347.7 MB, free: 6.121 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.1187, allocations: 39.86 kB / 347.7 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.1191, allocations: 275.6 kB / 348 MB, free: 5.754 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.1193, allocations: 102.3 kB / 348.1 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.183e-05/0.1194, allocations: 3.984 kB / 348.1 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1194, allocations: 34.69 kB / 348.1 MB, free: 5.57 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.874e-06/0.1194, allocations: 0 / 348.1 MB, free: 5.57 MB / 282.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004474/0.1199, allocations: 113.6 kB / 348.2 MB, free: 5.453 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.807e-05/0.12, allocations: 136.5 kB / 348.3 MB, free: 5.289 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.1202, allocations: 132.2 kB / 348.5 MB, free: 5.156 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1202, allocations: 25.7 kB / 348.5 MB, free: 5.125 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.672e-05/0.1203, allocations: 155.1 kB / 348.7 MB, free: 4.973 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.1204, allocations: 15.84 kB / 348.7 MB, free: 4.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.1204, allocations: 4 kB / 348.7 MB, free: 4.953 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1206, allocations: 314.8 kB / 349 MB, free: 4.637 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.36e-05/0.1207, allocations: 19.92 kB / 349 MB, free: 4.617 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001193/0.1208, allocations: 44.28 kB / 349 MB, free: 4.559 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.471e-05/0.1209, allocations: 23.94 kB / 349.1 MB, free: 4.535 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.1209, allocations: 0 / 349.1 MB, free: 4.535 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002641/0.1212, allocations: 85.61 kB / 349.2 MB, free: 4.445 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.1212, allocations: 4 kB / 349.2 MB, free: 4.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.1212, allocations: 4 kB / 349.2 MB, free: 4.438 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.1213, allocations: 3.984 kB / 349.2 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.1214, allocations: 12 kB / 349.2 MB, free: 4.422 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.1214, allocations: 3.953 kB / 349.2 MB, free: 4.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.098e-05/0.1215, allocations: 7.906 kB / 349.2 MB, free: 4.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.689e-05/0.1216, allocations: 7.984 kB / 349.2 MB, free: 4.402 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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.0001414/0.1217, allocations: 121.9 kB / 349.3 MB, free: 4.273 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/0.1219, allocations: 61.59 kB / 349.4 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.788e-05/0.122, allocations: 11.88 kB / 349.4 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.122, allocations: 3.938 kB / 349.4 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.122, allocations: 0 / 349.4 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.122, allocations: 11.94 kB / 349.4 MB, free: 4.18 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002683/0.1223, allocations: 173.6 kB / 349.6 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1223, allocations: 0 / 349.6 MB, free: 3.961 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.1224, allocations: 19.92 kB / 349.6 MB, free: 3.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.179e-06/0.1225, allocations: 4.062 kB / 349.6 MB, free: 3.938 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/0.1225, allocations: 8 kB / 349.6 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.846e-06/0.1225, allocations: 0 / 349.6 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1225, allocations: 128 / 349.6 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.1229, allocations: 239.1 kB / 349.8 MB, free: 3.652 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001038/0.123, allocations: 96.95 kB / 349.9 MB, free: 3.539 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.123, allocations: 7.984 kB / 349.9 MB, free: 3.531 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.1232, allocations: 4 kB / 349.9 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.1232, allocations: 0 / 349.9 MB, free: 3.527 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.1232, allocations: 12 kB / 350 MB, free: 3.516 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.1234, allocations: 110.1 kB / 350.1 MB, free: 3.41 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-07/0.1234, allocations: 0 / 350.1 MB, free: 3.41 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003053/0.1237, allocations: 8 kB / 350.1 MB, free: 3.402 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0001546/0.1239, allocations: 105.9 kB / 350.2 MB, free: 3.293 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000275/0.1242, allocations: 52.16 kB / 350.2 MB, free: 3.242 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1242, allocations: 0 / 350.2 MB, free: 3.242 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.52e-05/0.1243, allocations: 15.94 kB / 350.2 MB, free: 3.227 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000381/0.1247, allocations: 27.95 kB / 350.3 MB, free: 3.199 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006013/0.1253, allocations: 249.9 kB / 350.5 MB, free: 2.906 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003571/0.1257, allocations: 0.7043 MB / 351.2 MB, free: 2.176 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.027e-05/0.1257, allocations: 11.44 kB / 351.2 MB, free: 2.164 MB / 282.7 MB Notification: Performance of SimCode: time 1.473e-06/0.1257, allocations: 0 / 351.2 MB, free: 2.164 MB / 282.7 MB Notification: Performance of Templates: time 0.003221/0.129, allocations: 0.9004 MB / 352.1 MB, free: 1.266 MB / 282.7 MB