Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.143/2.143, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.261e-05/4.275e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/1.189, allocations: 304.8 MB / 0.6119 GB, free: 43.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000374/1.19, allocations: 81.45 kB / 0.612 GB, free: 43.46 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6564/1.846, allocations: 96.28 MB / 0.706 GB, free: 112.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.983e-06/1.846, allocations: 4 kB / 0.706 GB, free: 112.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.953e-05/1.846, allocations: 11.81 kB / 0.706 GB, free: 112.9 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002094/1.848, allocations: 0.8172 MB / 0.7068 GB, free: 112.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.848, allocations: 11.59 kB / 0.7068 GB, free: 112.2 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001082/1.849, allocations: 62.41 kB / 0.7069 GB, free: 112.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003264/1.849, allocations: 62.06 kB / 0.707 GB, free: 112.1 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001208/1.85, allocations: 485.7 kB / 0.7074 GB, free: 111.7 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.845e-05/1.85, allocations: 19.88 kB / 0.7074 GB, free: 111.7 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.282e-05/1.85, allocations: 27.38 kB / 0.7075 GB, free: 111.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/1.851, allocations: 0.5094 MB / 0.708 GB, free: 111.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/1.851, allocations: 0 / 0.708 GB, free: 111.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.064e-05/1.851, allocations: 11.84 kB / 0.708 GB, free: 111.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.45e-05/1.852, allocations: 29.75 kB / 0.708 GB, free: 111.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009749/1.853, allocations: 437.4 kB / 0.7084 GB, free: 111.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00438/1.857, allocations: 2.238 MB / 0.7106 GB, free: 109.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005182/1.857, allocations: 211.3 kB / 0.7108 GB, free: 109 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/1.858, allocations: 102.9 kB / 0.7109 GB, free: 109 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001572/1.859, allocations: 1.036 MB / 0.7119 GB, free: 108 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00027/1.86, allocations: 145.5 kB / 0.7121 GB, free: 107.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 2.504e-06/1.86, allocations: 0 / 0.7121 GB, free: 107.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005643/1.86, allocations: 229.4 kB / 0.7123 GB, free: 107.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/1.86, allocations: 158 kB / 0.7124 GB, free: 107.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006559/1.861, allocations: 431.3 kB / 0.7128 GB, free: 107.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/1.861, allocations: 33.69 kB / 0.7129 GB, free: 107.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/1.861, allocations: 343.1 kB / 0.7132 GB, free: 107 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5e-05/1.861, allocations: 47.11 kB / 0.7132 GB, free: 106.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.834e-05/1.861, allocations: 11.16 kB / 0.7132 GB, free: 106.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/1.861, allocations: 334.7 kB / 0.7136 GB, free: 106.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/1.862, allocations: 93.45 kB / 0.7137 GB, free: 106.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/1.862, allocations: 321.9 kB / 0.714 GB, free: 106.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/1.862, allocations: 189.5 kB / 0.7141 GB, free: 106.1 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/1.862, allocations: 0 / 0.7141 GB, free: 106.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001008/1.863, allocations: 490.5 kB / 0.7146 GB, free: 105.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006061/1.864, allocations: 2.823 MB / 0.7174 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/1.864, allocations: 7.094 kB / 0.7174 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.397e-05/1.864, allocations: 14.72 kB / 0.7174 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005813/1.865, allocations: 80.7 kB / 0.7175 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.181e-05/1.865, allocations: 18.27 kB / 0.7175 GB, free: 102.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006664/1.865, allocations: 66.84 kB / 0.7175 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.315e-05/1.866, allocations: 22.59 kB / 0.7176 GB, free: 102.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.395e-06/1.866, allocations: 3.781 kB / 0.7176 GB, free: 102.7 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009368/1.867, allocations: 456 kB / 0.718 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.867, allocations: 11.08 kB / 0.718 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/1.867, allocations: 11.03 kB / 0.718 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004934/1.867, allocations: 82.16 kB / 0.7181 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/1.867, allocations: 17.42 kB / 0.7181 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004102/1.868, allocations: 42.22 kB / 0.7182 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-05/1.868, allocations: 27.48 kB / 0.7182 GB, free: 102.4 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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.000162/1.868, allocations: 168.4 kB / 0.7183 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.798e-05/1.868, allocations: 42.97 kB / 0.7184 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006992/1.869, allocations: 282.6 kB / 0.7187 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/1.869, allocations: 0 / 0.7187 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.869, allocations: 0 / 0.7187 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/1.869, allocations: 7.984 kB / 0.7187 GB, free: 102 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/1.869, allocations: 373.1 kB / 0.719 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/1.869, allocations: 3.953 kB / 0.719 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/1.869, allocations: 19.88 kB / 0.719 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.099e-06/1.869, allocations: 4 kB / 0.719 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/1.869, allocations: 7.984 kB / 0.7191 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/1.869, allocations: 4 kB / 0.7191 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.869, allocations: 3.938 kB / 0.7191 GB, free: 101.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004975/1.87, allocations: 280.2 kB / 0.7193 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001241/1.87, allocations: 132.5 kB / 0.7195 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.536e-05/1.87, allocations: 8 kB / 0.7195 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/1.87, allocations: 12 kB / 0.7195 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/1.871, allocations: 7.984 kB / 0.7195 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/1.871, allocations: 7.984 kB / 0.7195 GB, free: 101.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004706/1.871, allocations: 333.6 kB / 0.7198 GB, free: 100.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.613e-06/1.871, allocations: 4 kB / 0.7198 GB, free: 100.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001772/1.873, allocations: 451.2 kB / 0.7202 GB, free: 100.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent) * Number of discrete states: 5 (p_table.last,p_table.nextEvent,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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.002243/1.875, allocations: 1.219 MB / 0.7214 GB, free: 99.09 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001255/1.876, allocations: 0.5643 MB / 0.722 GB, free: 98.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.876, allocations: 4 kB / 0.722 GB, free: 98.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001905/1.877, allocations: 131.4 kB / 0.7221 GB, free: 98.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001186/1.878, allocations: 126 kB / 0.7222 GB, free: 98.24 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002713/1.881, allocations: 0.8117 MB / 0.723 GB, free: 97.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000342/1.881, allocations: 0.8544 MB / 0.7239 GB, free: 96.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002832/1.881, allocations: 147.4 kB / 0.724 GB, free: 96.36 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/1.881, allocations: 0 / 0.724 GB, free: 96.36 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.852/4.733, allocations: 11.4 MB / 0.7351 GB, free: 84.97 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat does not exist to compare? outputFormat=mat