Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.642/2.642, allocations: 270 MB / 282.6 MB, free: 1.844 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.751e-05/4.76e-05, allocations: 7.938 kB / 347.1 MB, free: 3.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4406, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9823/1.423, allocations: 317.4 MB / 0.7093 GB, free: 8.352 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/1.423, allocations: 80.77 kB / 0.7094 GB, free: 8.309 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.7278/2.151, allocations: 99.73 MB / 0.8068 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.505e-06/2.151, allocations: 0 / 0.8068 GB, free: 130.6 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.448e-05/2.151, allocations: 16 kB / 0.8068 GB, free: 130.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.002174/2.153, allocations: 0.8275 MB / 0.8076 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/2.153, allocations: 8.031 kB / 0.8076 GB, free: 129.7 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001366/2.154, allocations: 66.53 kB / 0.8077 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003633/2.154, allocations: 55.44 kB / 0.8077 GB, free: 129.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/2.155, allocations: 475.7 kB / 0.8082 GB, free: 129 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.149e-05/2.155, allocations: 24.55 kB / 0.8082 GB, free: 129 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.681e-05/2.155, allocations: 28 kB / 0.8082 GB, free: 129 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001088/2.157, allocations: 0.5074 MB / 0.8087 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/2.157, allocations: 4 kB / 0.8087 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/2.157, allocations: 19.97 kB / 0.8087 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.899e-05/2.157, allocations: 28.55 kB / 0.8088 GB, free: 128.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009738/2.158, allocations: 441 kB / 0.8092 GB, free: 128 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004536/2.162, allocations: 2.254 MB / 0.8114 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005494/2.163, allocations: 226.5 kB / 0.8116 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002728/2.163, allocations: 128.8 kB / 0.8117 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00155/2.165, allocations: 1.057 MB / 0.8128 GB, free: 124 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003569/2.165, allocations: 219.4 kB / 0.813 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 2.795e-06/2.165, allocations: 4 kB / 0.813 GB, free: 123.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0007526/2.166, allocations: 294.8 kB / 0.8133 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.346e-05/2.166, allocations: 243.3 kB / 0.8135 GB, free: 123.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007259/2.167, allocations: 459.9 kB / 0.8139 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/2.167, allocations: 29.7 kB / 0.814 GB, free: 122.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001883/2.167, allocations: 317.8 kB / 0.8143 GB, free: 122.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.59e-05/2.167, allocations: 67.11 kB / 0.8143 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.341e-05/2.167, allocations: 8 kB / 0.8143 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.006e-05/2.167, allocations: 330.8 kB / 0.8146 GB, free: 122 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002957/2.168, allocations: 116.4 kB / 0.8148 GB, free: 121.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/2.168, allocations: 292.4 kB / 0.815 GB, free: 121.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003961/2.168, allocations: 195.2 kB / 0.8152 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/2.168, allocations: 4 kB / 0.8152 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001086/2.169, allocations: 465.2 kB / 0.8157 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003741/2.17, allocations: 1.696 MB / 0.8173 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/2.17, allocations: 8 kB / 0.8173 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.606e-05/2.17, allocations: 4 kB / 0.8173 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006234/2.171, allocations: 75.91 kB / 0.8174 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/2.171, allocations: 15.92 kB / 0.8174 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008165/2.171, allocations: 59.36 kB / 0.8175 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.12e-05/2.171, allocations: 24 kB / 0.8175 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/2.172, allocations: 0 / 0.8175 GB, free: 118.8 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00104/2.173, allocations: 445.2 kB / 0.8179 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/2.173, allocations: 4 kB / 0.8179 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/2.173, allocations: 8.562 kB / 0.8179 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005094/2.173, allocations: 79.84 kB / 0.818 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/2.173, allocations: 11.95 kB / 0.818 GB, free: 118.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/2.174, allocations: 35.73 kB / 0.8181 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/2.174, allocations: 27.98 kB / 0.8181 GB, free: 118.2 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.0001847/2.174, allocations: 162.5 kB / 0.8182 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000121/2.174, allocations: 47.44 kB / 0.8183 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009147/2.175, allocations: 358.5 kB / 0.8186 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/2.175, allocations: 4.062 kB / 0.8186 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/2.175, allocations: 7.953 kB / 0.8186 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/2.175, allocations: 0 / 0.8186 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005702/2.176, allocations: 409.2 kB / 0.819 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/2.176, allocations: 3.938 kB / 0.819 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002271/2.176, allocations: 27.92 kB / 0.8191 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/2.176, allocations: 4 kB / 0.8191 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.94e-05/2.176, allocations: 15.98 kB / 0.8191 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/2.176, allocations: 0 / 0.8191 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/2.176, allocations: 0 / 0.8191 GB, free: 117.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000674/2.177, allocations: 357 kB / 0.8194 GB, free: 116.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001501/2.177, allocations: 140.4 kB / 0.8196 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001221/2.177, allocations: 8 kB / 0.8196 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005099/2.177, allocations: 19.98 kB / 0.8196 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.355e-05/2.178, allocations: 11.98 kB / 0.8196 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.761e-05/2.178, allocations: 11.95 kB / 0.8196 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005501/2.178, allocations: 361.6 kB / 0.8199 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.463e-06/2.178, allocations: 0 / 0.8199 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001815/2.18, allocations: 479.4 kB / 0.8204 GB, free: 115.7 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.002492/2.183, allocations: 1.318 MB / 0.8217 GB, free: 114.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001337/2.184, allocations: 0.6201 MB / 0.8223 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/2.184, allocations: 0 / 0.8223 GB, free: 113.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002514/2.184, allocations: 181.4 kB / 0.8225 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/2.186, allocations: 193.5 kB / 0.8227 GB, free: 113.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002289/2.188, allocations: 0.799 MB / 0.8234 GB, free: 112.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/2.188, allocations: 0.8512 MB / 0.8243 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003285/2.189, allocations: 155.4 kB / 0.8244 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.312e-06/2.189, allocations: 0 / 0.8244 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.101/5.29, allocations: 12.59 MB / 0.8367 GB, free: 98.96 MB / 0.5261 GB