Running command: translateModel(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe") Notification: Performance of loadModel(ModelicaTest): time 2.388/2.388, allocations: 270 MB / 282.7 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.796e-05, allocations: 0 / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3306/0.3306, allocations: 61.88 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6859/1.017, allocations: 317.4 MB / 0.7092 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/1.017, allocations: 90.94 kB / 0.7093 GB, free: 10.73 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6105/1.627, allocations: 99.74 MB / 0.8067 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.187e-06/1.627, allocations: 0 / 0.8067 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.255e-05/1.627, allocations: 16 kB / 0.8067 GB, free: 133.6 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001638/1.629, allocations: 0.8197 MB / 0.8075 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/1.629, allocations: 8.031 kB / 0.8075 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003223/1.63, allocations: 63.36 kB / 0.8076 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009707/1.631, allocations: 459.9 kB / 0.808 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/1.631, allocations: 24.56 kB / 0.808 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.874e-05/1.631, allocations: 27.98 kB / 0.8081 GB, free: 132.1 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009299/1.632, allocations: 0.5114 MB / 0.8086 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/1.632, allocations: 0 / 0.8086 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.7e-05/1.632, allocations: 19.98 kB / 0.8086 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.392e-05/1.632, allocations: 32.48 kB / 0.8086 GB, free: 131.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008242/1.633, allocations: 437 kB / 0.809 GB, free: 131 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003586/1.636, allocations: 2.254 MB / 0.8112 GB, free: 128.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/1.637, allocations: 222.8 kB / 0.8115 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002355/1.637, allocations: 128.8 kB / 0.8116 GB, free: 128.3 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001403/1.638, allocations: 1.057 MB / 0.8126 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003321/1.639, allocations: 215.2 kB / 0.8128 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 3.572e-06/1.639, allocations: 4 kB / 0.8128 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0006537/1.639, allocations: 306.6 kB / 0.8131 GB, free: 126.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.857e-05/1.64, allocations: 239.3 kB / 0.8133 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006654/1.64, allocations: 459.9 kB / 0.8138 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.639e-05/1.64, allocations: 29.7 kB / 0.8138 GB, free: 125.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/1.64, allocations: 321.7 kB / 0.8141 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.06e-05/1.641, allocations: 63.19 kB / 0.8142 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.754e-05/1.641, allocations: 4 kB / 0.8142 GB, free: 125.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.026e-05/1.641, allocations: 330.8 kB / 0.8145 GB, free: 125.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002614/1.641, allocations: 120.4 kB / 0.8146 GB, free: 124.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/1.641, allocations: 289.7 kB / 0.8149 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003435/1.642, allocations: 199.1 kB / 0.8151 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.578e-06/1.642, allocations: 4 kB / 0.8151 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009785/1.643, allocations: 469.8 kB / 0.8155 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003424/1.643, allocations: 1.692 MB / 0.8172 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.643, allocations: 4 kB / 0.8172 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.61e-05/1.643, allocations: 8 kB / 0.8172 GB, free: 122.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/1.643, allocations: 75.89 kB / 0.8173 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.408e-05/1.644, allocations: 7.938 kB / 0.8173 GB, free: 122 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006173/1.644, allocations: 67.36 kB / 0.8173 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/1.644, allocations: 20 kB / 0.8174 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/1.644, allocations: 4 kB / 0.8174 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00094/1.645, allocations: 445.2 kB / 0.8178 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.371e-06/1.645, allocations: 4 kB / 0.8178 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/1.645, allocations: 8.562 kB / 0.8178 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/1.646, allocations: 75.84 kB / 0.8179 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/1.646, allocations: 15.98 kB / 0.8179 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004045/1.646, allocations: 39.69 kB / 0.8179 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/1.646, allocations: 20 kB / 0.8179 GB, free: 121.3 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * 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.0001677/1.646, allocations: 171.9 kB / 0.8181 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/1.646, allocations: 51.44 kB / 0.8181 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000766/1.647, allocations: 358.5 kB / 0.8185 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.904e-06/1.647, allocations: 4 kB / 0.8185 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.056e-06/1.647, allocations: 0 / 0.8185 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.88e-06/1.647, allocations: 3.953 kB / 0.8185 GB, free: 120.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004933/1.648, allocations: 409.2 kB / 0.8189 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.412e-06/1.648, allocations: 0 / 0.8189 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/1.648, allocations: 31.98 kB / 0.8189 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.956e-06/1.648, allocations: 0 / 0.8189 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.539e-05/1.648, allocations: 12 kB / 0.8189 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/1.648, allocations: 4 kB / 0.8189 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/1.648, allocations: 0 / 0.8189 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006077/1.649, allocations: 358 kB / 0.8193 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001378/1.649, allocations: 132.5 kB / 0.8194 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001073/1.649, allocations: 8 kB / 0.8194 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003678/1.649, allocations: 27.89 kB / 0.8194 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.961e-05/1.649, allocations: 7.984 kB / 0.8194 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-05/1.649, allocations: 12 kB / 0.8195 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005146/1.65, allocations: 373.4 kB / 0.8198 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.82e-07/1.65, allocations: 0 / 0.8198 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001547/1.652, allocations: 471.5 kB / 0.8203 GB, free: 118.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.001294/1.653, allocations: 0.523 MB / 0.8208 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001189/1.654, allocations: 0.6167 MB / 0.8214 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.965e-06/1.654, allocations: 0.875 kB / 0.8214 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002271/1.654, allocations: 177 kB / 0.8215 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/1.655, allocations: 190.7 kB / 0.8217 GB, free: 117.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/1.657, allocations: 0.5635 MB / 0.8223 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/1.657, allocations: 0.859 MB / 0.8231 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/1.657, allocations: 43.42 kB / 0.8232 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of SimCode: time 1.658e-06/1.657, allocations: 0 / 0.8232 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.01724/1.674, allocations: 10.46 MB / 0.8334 GB, free: 105.4 MB / 0.5261 GB