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 1.95/1.95, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.316e-05/2.326e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 48.7 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.135, allocations: 304.4 MB / 0.6061 GB, free: 19.18 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/1.136, allocations: 82.58 kB / 0.6062 GB, free: 19.14 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6681/1.804, allocations: 95.53 MB / 0.6995 GB, free: 115.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.443e-06/1.804, allocations: 0 / 0.6995 GB, free: 115.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.462e-05/1.804, allocations: 8 kB / 0.6995 GB, free: 115.3 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.002054/1.806, allocations: 0.8212 MB / 0.7003 GB, free: 114.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/1.806, allocations: 8.031 kB / 0.7003 GB, free: 114.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003054/1.806, allocations: 60.03 kB / 0.7004 GB, free: 114.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001108/1.808, allocations: 475.6 kB / 0.7008 GB, free: 113.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.286e-05/1.808, allocations: 15.94 kB / 0.7008 GB, free: 113.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.689e-05/1.808, allocations: 16 kB / 0.7008 GB, free: 113.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001232/1.809, allocations: 381.2 kB / 0.7012 GB, free: 113.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008862/1.81, allocations: 467.7 kB / 0.7017 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/1.81, allocations: 3.938 kB / 0.7017 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.901e-05/1.81, allocations: 4 kB / 0.7017 GB, free: 113 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.13e-05/1.81, allocations: 28.55 kB / 0.7017 GB, free: 112.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004035/1.814, allocations: 2.182 MB / 0.7038 GB, free: 110.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004341/1.815, allocations: 190.9 kB / 0.704 GB, free: 110.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002056/1.815, allocations: 101 kB / 0.7041 GB, free: 110.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001521/1.816, allocations: 1.033 MB / 0.7051 GB, free: 109.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000229/1.817, allocations: 141.1 kB / 0.7052 GB, free: 109 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 2.374e-06/1.817, allocations: 0 / 0.7052 GB, free: 109 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007794/1.817, allocations: 225 kB / 0.7055 GB, free: 108.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.275e-05/1.817, allocations: 162.2 kB / 0.7056 GB, free: 108.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005219/1.818, allocations: 381 kB / 0.706 GB, free: 108.2 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.848e-05/1.818, allocations: 25.7 kB / 0.706 GB, free: 108.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/1.818, allocations: 349.1 kB / 0.7063 GB, free: 107.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/1.818, allocations: 43.39 kB / 0.7064 GB, free: 107.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.491e-05/1.818, allocations: 4 kB / 0.7064 GB, free: 107.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.956e-05/1.818, allocations: 326.8 kB / 0.7067 GB, free: 107.5 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002167/1.819, allocations: 96.84 kB / 0.7068 GB, free: 107.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003273/1.819, allocations: 321.5 kB / 0.7071 GB, free: 107 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00492/1.824, allocations: 0.6074 MB / 0.7077 GB, free: 106.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/1.824, allocations: 0 / 0.7077 GB, free: 106.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.005496/1.829, allocations: 0.8565 MB / 0.7085 GB, free: 105.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005991/1.83, allocations: 2.818 MB / 0.7113 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/1.83, allocations: 8 kB / 0.7113 GB, free: 102.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/1.83, allocations: 12 kB / 0.7113 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005488/1.831, allocations: 87.92 kB / 0.7114 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/1.831, allocations: 15.94 kB / 0.7114 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006353/1.831, allocations: 51.52 kB / 0.7114 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.271e-05/1.831, allocations: 27.98 kB / 0.7115 GB, free: 102.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.248e-06/1.831, allocations: 7.938 kB / 0.7115 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005218/1.837, allocations: 0.7979 MB / 0.7123 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/1.837, allocations: 8 kB / 0.7123 GB, free: 101.5 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/1.837, allocations: 12 kB / 0.7123 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/1.837, allocations: 83.83 kB / 0.7124 GB, free: 101.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/1.837, allocations: 12.69 kB / 0.7124 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004054/1.838, allocations: 39.67 kB / 0.7124 GB, free: 101.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.495e-05/1.838, allocations: 24 kB / 0.7124 GB, free: 101.3 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.0001597/1.838, allocations: 162.4 kB / 0.7126 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006766/1.839, allocations: 229 kB / 0.7128 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.557e-05/1.839, allocations: 43.44 kB / 0.7128 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007914/1.839, allocations: 253.2 kB / 0.7131 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/1.84, allocations: 0 / 0.7131 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.84, allocations: 4 kB / 0.7131 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/1.84, allocations: 0 / 0.7131 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004504/1.84, allocations: 329.8 kB / 0.7134 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.84, allocations: 48 / 0.7134 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/1.84, allocations: 35.86 kB / 0.7134 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/1.84, allocations: 4 kB / 0.7134 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.833e-05/1.84, allocations: 0 / 0.7134 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/1.84, allocations: 4 kB / 0.7134 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/1.84, allocations: 0 / 0.7134 GB, free: 100.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006172/1.841, allocations: 252.5 kB / 0.7137 GB, free: 99.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001146/1.841, allocations: 128.5 kB / 0.7138 GB, free: 99.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/1.841, allocations: 7.953 kB / 0.7138 GB, free: 99.76 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003111/1.841, allocations: 15.98 kB / 0.7138 GB, free: 99.75 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.607e-05/1.842, allocations: 8.078 kB / 0.7138 GB, free: 99.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/1.842, allocations: 11.94 kB / 0.7138 GB, free: 99.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003614/1.842, allocations: 287.3 kB / 0.7141 GB, free: 99.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.842, allocations: 0 / 0.7141 GB, free: 99.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001851/1.844, allocations: 439.2 kB / 0.7145 GB, free: 99.02 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.002162/1.846, allocations: 1.183 MB / 0.7157 GB, free: 97.85 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009444/1.847, allocations: 0.5318 MB / 0.7162 GB, free: 97.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.257e-06/1.847, allocations: 1.5 kB / 0.7162 GB, free: 97.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001604/1.847, allocations: 135.3 kB / 0.7163 GB, free: 97.15 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009991/1.848, allocations: 126 kB / 0.7165 GB, free: 97.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00209/1.85, allocations: 0.7795 MB / 0.7172 GB, free: 96.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/1.851, allocations: 0.8463 MB / 0.7181 GB, free: 95.33 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002624/1.851, allocations: 143.4 kB / 0.7182 GB, free: 95.19 MB / 426.7 MB Notification: Performance of SimCode: time 1.002e-06/1.851, allocations: 0 / 0.7182 GB, free: 95.19 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.791/4.642, allocations: 11.33 MB / 0.7293 GB, free: 83.86 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