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.152/2.152, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.431e-05/3.442e-05, allocations: 3.984 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1038, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.222/1.326, allocations: 304.8 MB / 0.6119 GB, free: 43.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003797/1.326, allocations: 81.89 kB / 0.612 GB, free: 43.01 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.712/2.039, allocations: 96.28 MB / 0.706 GB, free: 114.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.804e-06/2.039, allocations: 0 / 0.706 GB, free: 114.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.004e-05/2.039, allocations: 23.56 kB / 0.7061 GB, free: 114.8 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.002133/2.041, allocations: 0.8076 MB / 0.7068 GB, free: 114.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/2.041, allocations: 7.75 kB / 0.7069 GB, free: 114.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001129/2.041, allocations: 67.36 kB / 0.7069 GB, free: 114.1 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003294/2.041, allocations: 65.95 kB / 0.707 GB, free: 114 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/2.043, allocations: 477.7 kB / 0.7074 GB, free: 113.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.253e-05/2.043, allocations: 30 kB / 0.7075 GB, free: 113.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.592e-05/2.043, allocations: 28.95 kB / 0.7075 GB, free: 113.6 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/2.044, allocations: 0.4963 MB / 0.708 GB, free: 113.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/2.044, allocations: 0 / 0.708 GB, free: 113.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/2.044, allocations: 17.83 kB / 0.708 GB, free: 113.3 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.857e-05/2.044, allocations: 22.64 kB / 0.708 GB, free: 113.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009538/2.045, allocations: 424.7 kB / 0.7084 GB, free: 113.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004687/2.05, allocations: 2.244 MB / 0.7106 GB, free: 111.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005379/2.05, allocations: 205.7 kB / 0.7108 GB, free: 111 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002358/2.051, allocations: 98.23 kB / 0.7109 GB, free: 111 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001856/2.052, allocations: 1.048 MB / 0.7119 GB, free: 110 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002916/2.053, allocations: 141.4 kB / 0.7121 GB, free: 109.9 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 2.815e-06/2.053, allocations: 0 / 0.7121 GB, free: 109.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006143/2.053, allocations: 226.8 kB / 0.7123 GB, free: 109.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.286e-05/2.053, allocations: 166 kB / 0.7124 GB, free: 109.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000731/2.054, allocations: 427.2 kB / 0.7128 GB, free: 109.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.84e-05/2.054, allocations: 29.58 kB / 0.7129 GB, free: 109.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002288/2.055, allocations: 349 kB / 0.7132 GB, free: 108.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/2.055, allocations: 38.61 kB / 0.7132 GB, free: 108.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/2.055, allocations: 11.41 kB / 0.7133 GB, free: 108.9 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.775e-05/2.055, allocations: 326.5 kB / 0.7136 GB, free: 108.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/2.055, allocations: 109 kB / 0.7137 GB, free: 108.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/2.055, allocations: 317.5 kB / 0.714 GB, free: 108.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/2.056, allocations: 192.8 kB / 0.7142 GB, free: 107.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/2.056, allocations: 0 / 0.7142 GB, free: 107.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001054/2.057, allocations: 467.3 kB / 0.7146 GB, free: 107.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006745/2.058, allocations: 2.818 MB / 0.7174 GB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.527e-05/2.058, allocations: 8 kB / 0.7174 GB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.506e-05/2.058, allocations: 12 kB / 0.7174 GB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/2.058, allocations: 83.84 kB / 0.7175 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.339e-05/2.058, allocations: 19.92 kB / 0.7175 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007805/2.059, allocations: 63.42 kB / 0.7175 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.626e-05/2.059, allocations: 24 kB / 0.7176 GB, free: 104.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/2.059, allocations: 4 kB / 0.7176 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009906/2.06, allocations: 425.8 kB / 0.718 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/2.06, allocations: 12 kB / 0.718 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/2.06, allocations: 8.062 kB / 0.718 GB, free: 103.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/2.061, allocations: 95.83 kB / 0.7181 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/2.061, allocations: 11.94 kB / 0.7181 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/2.061, allocations: 47.67 kB / 0.7181 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.906e-05/2.061, allocations: 20 kB / 0.7182 GB, free: 103.6 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.0002046/2.062, allocations: 170.4 kB / 0.7183 GB, free: 103.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/2.062, allocations: 39.53 kB / 0.7184 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007579/2.063, allocations: 291 kB / 0.7186 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.881e-06/2.063, allocations: 0 / 0.7186 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/2.063, allocations: 0 / 0.7186 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/2.063, allocations: 0 / 0.7186 GB, free: 103 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006363/2.063, allocations: 372.9 kB / 0.719 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/2.063, allocations: 7.953 kB / 0.719 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001898/2.064, allocations: 19.94 kB / 0.719 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/2.064, allocations: 4.031 kB / 0.719 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.461e-05/2.064, allocations: 11.94 kB / 0.719 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/2.064, allocations: 0 / 0.719 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/2.064, allocations: 3.984 kB / 0.719 GB, free: 102.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/2.064, allocations: 280.1 kB / 0.7193 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/2.064, allocations: 124.5 kB / 0.7194 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/2.064, allocations: 12 kB / 0.7194 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/2.065, allocations: 11.98 kB / 0.7194 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/2.065, allocations: 11.98 kB / 0.7194 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.317e-05/2.065, allocations: 4 kB / 0.7195 GB, free: 102.1 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005268/2.066, allocations: 329.6 kB / 0.7198 GB, free: 101.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.61e-07/2.066, allocations: 0 / 0.7198 GB, free: 101.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002082/2.068, allocations: 458.6 kB / 0.7202 GB, free: 101.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.002549/2.07, allocations: 1.223 MB / 0.7214 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001281/2.072, allocations: 0.5475 MB / 0.7219 GB, free: 99.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/2.072, allocations: 0 / 0.7219 GB, free: 99.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000194/2.072, allocations: 136.8 kB / 0.7221 GB, free: 99.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/2.073, allocations: 137.9 kB / 0.7222 GB, free: 99.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003135/2.076, allocations: 0.8156 MB / 0.723 GB, free: 98.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003544/2.077, allocations: 0.8427 MB / 0.7238 GB, free: 97.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003002/2.077, allocations: 151.4 kB / 0.724 GB, free: 97.39 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/2.077, allocations: 0 / 0.724 GB, free: 97.39 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.839/4.915, allocations: 11.39 MB / 0.7351 GB, free: 86.02 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