Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.556/2.556, allocations: 270 MB / 283.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.228e-05/4.238e-05, allocations: 7.984 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.132, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.227/1.359, allocations: 317.4 MB / 0.7107 GB, free: 86.89 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/1.36, allocations: 89.19 kB / 0.7108 GB, free: 86.84 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.4039/1.763, allocations: 99.73 MB / 0.8082 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.703e-06/1.764, allocations: 0 / 0.8082 GB, free: 5.664 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.808e-05/1.764, allocations: 8 kB / 0.8082 GB, free: 5.656 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.002157/1.766, allocations: 0.8274 MB / 0.809 GB, free: 4.777 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.752e-05/1.766, allocations: 12.03 kB / 0.809 GB, free: 4.766 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/1.766, allocations: 70.47 kB / 0.8091 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003186/1.766, allocations: 55.44 kB / 0.8091 GB, free: 4.633 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/1.768, allocations: 471.8 kB / 0.8096 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.239e-05/1.768, allocations: 20.56 kB / 0.8096 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-05/1.768, allocations: 31.98 kB / 0.8096 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/1.769, allocations: 0.5152 MB / 0.8101 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/1.769, allocations: 0 / 0.8101 GB, free: 3.527 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-05/1.769, allocations: 12 kB / 0.8101 GB, free: 3.516 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.9e-05/1.769, allocations: 32.48 kB / 0.8102 GB, free: 3.484 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/1.77, allocations: 433.1 kB / 0.8106 GB, free: 3.062 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004949/1.775, allocations: 2.262 MB / 0.8128 GB, free: 0.6523 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006123/1.776, allocations: 218.7 kB / 0.813 GB, free: 440 kB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003236/1.776, allocations: 128.8 kB / 0.8131 GB, free: 308 kB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3823/2.159, allocations: 1.054 MB / 0.8141 GB, free: 144.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004888/2.159, allocations: 209.3 kB / 0.8143 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=18): time 2.925e-06/2.159, allocations: 1 kB / 0.8143 GB, free: 144.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=18): time 0.0009749/2.16, allocations: 305.7 kB / 0.8146 GB, free: 144.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.161e-05/2.16, allocations: 237.5 kB / 0.8149 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009666/2.161, allocations: 466.5 kB / 0.8153 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.916e-05/2.161, allocations: 32.11 kB / 0.8153 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002537/2.162, allocations: 280.3 kB / 0.8156 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.695e-05/2.162, allocations: 61.64 kB / 0.8157 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/2.162, allocations: 5.281 kB / 0.8157 GB, free: 143.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001216/2.162, allocations: 356 kB / 0.816 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003619/2.162, allocations: 121.8 kB / 0.8161 GB, free: 143.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005034/2.163, allocations: 292.7 kB / 0.8164 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004733/2.163, allocations: 200 kB / 0.8166 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/2.163, allocations: 1.062 kB / 0.8166 GB, free: 143.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001449/2.165, allocations: 0.4928 MB / 0.8171 GB, free: 143 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005033/2.165, allocations: 1.69 MB / 0.8187 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/2.165, allocations: 4.375 kB / 0.8187 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.573e-05/2.165, allocations: 6.375 kB / 0.8187 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006578/2.166, allocations: 77.62 kB / 0.8188 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/2.166, allocations: 9.062 kB / 0.8188 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000846/2.167, allocations: 66.34 kB / 0.8189 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.158e-05/2.167, allocations: 26.25 kB / 0.8189 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/2.167, allocations: 3.188 kB / 0.8189 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001294/2.168, allocations: 453.7 kB / 0.8193 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/2.168, allocations: 4.75 kB / 0.8193 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.836e-05/2.168, allocations: 7.344 kB / 0.8194 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/2.169, allocations: 76.38 kB / 0.8194 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.501e-05/2.169, allocations: 10.98 kB / 0.8194 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007378/2.17, allocations: 51.66 kB / 0.8195 GB, free: 141.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.112e-05/2.17, allocations: 22.52 kB / 0.8195 GB, free: 141.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.000253/2.17, allocations: 164 kB / 0.8197 GB, free: 141 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/2.17, allocations: 51.09 kB / 0.8197 GB, free: 141 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001049/2.171, allocations: 360.8 kB / 0.8201 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/2.171, allocations: 5.25 kB / 0.8201 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/2.171, allocations: 0.9844 kB / 0.8201 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/2.171, allocations: 2.125 kB / 0.8201 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007535/2.172, allocations: 415.1 kB / 0.8205 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.269e-06/2.172, allocations: 1.688 kB / 0.8205 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002377/2.172, allocations: 23.09 kB / 0.8205 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/2.172, allocations: 1.375 kB / 0.8205 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.377e-05/2.173, allocations: 15.22 kB / 0.8205 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.929e-06/2.173, allocations: 4.625 kB / 0.8205 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/2.173, allocations: 0 / 0.8205 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008707/2.173, allocations: 368.9 kB / 0.8209 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/2.174, allocations: 129.3 kB / 0.821 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/2.174, allocations: 11.92 kB / 0.821 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004957/2.174, allocations: 19.22 kB / 0.821 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.296e-05/2.174, allocations: 10.86 kB / 0.821 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.226e-05/2.174, allocations: 11.45 kB / 0.821 GB, free: 140.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00068/2.175, allocations: 362.6 kB / 0.8214 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.11e-07/2.175, allocations: 4.031 kB / 0.8214 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002137/2.177, allocations: 479.8 kB / 0.8218 GB, free: 140.4 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.002813/2.18, allocations: 1.297 MB / 0.8231 GB, free: 139.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001619/2.182, allocations: 0.6328 MB / 0.8237 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/2.182, allocations: 1.156 kB / 0.8237 GB, free: 139.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003289/2.182, allocations: 179.2 kB / 0.8239 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001743/2.184, allocations: 185.9 kB / 0.8241 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002699/2.187, allocations: 0.7789 MB / 0.8248 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/2.187, allocations: 0.8531 MB / 0.8257 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001231/2.188, allocations: 198.9 kB / 0.8259 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000289/2.189, allocations: 148.6 kB / 0.826 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.262e-06/2.189, allocations: 1.031 kB / 0.826 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06153/2.25, allocations: 17.54 MB / 0.8431 GB, free: 138 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/2.251, allocations: 201.5 kB / 0.8433 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.516/5.766, allocations: 0 / 0.8433 GB, free: 137.8 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat does not exist to compare? outputFormat=mat