Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.337/2.337, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.485e-05/2.497e-05, allocations: 4 kB / 299.5 MB, free: 6.465 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4463, allocations: 54.85 MB / 354.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8258/1.272, allocations: 310.6 MB / 0.6493 GB, free: 11.93 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/1.273, allocations: 84.14 kB / 0.6494 GB, free: 11.88 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6819/1.954, allocations: 95.63 MB / 0.7428 GB, free: 112.4 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.445e-06/1.955, allocations: 0 / 0.7428 GB, free: 112.4 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.506e-05/1.955, allocations: 15.94 kB / 0.7428 GB, free: 112.4 MB / 474.7 MB 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.002466/1.957, allocations: 0.8237 MB / 0.7436 GB, free: 111.5 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.626e-05/1.957, allocations: 12.03 kB / 0.7436 GB, free: 111.5 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004665/1.958, allocations: 55.44 kB / 0.7437 GB, free: 111.4 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/1.959, allocations: 475.7 kB / 0.7441 GB, free: 110.9 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.421e-05/1.959, allocations: 12 kB / 0.7441 GB, free: 110.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.372e-05/1.959, allocations: 16 kB / 0.7442 GB, free: 110.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001282/1.961, allocations: 389.1 kB / 0.7445 GB, free: 110.5 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/1.962, allocations: 475.6 kB / 0.745 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.038e-05/1.962, allocations: 0 / 0.745 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.526e-05/1.962, allocations: 4 kB / 0.745 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.106e-05/1.962, allocations: 36.53 kB / 0.745 GB, free: 110 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005624/1.968, allocations: 2.182 MB / 0.7471 GB, free: 107.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004725/1.968, allocations: 198.6 kB / 0.7473 GB, free: 107.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/1.969, allocations: 109.2 kB / 0.7474 GB, free: 107.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001686/1.97, allocations: 1.049 MB / 0.7485 GB, free: 106.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000256/1.971, allocations: 145 kB / 0.7486 GB, free: 106 MB / 474.7 MB Notification: Performance of pre-optimization done (n=15): time 2.785e-06/1.971, allocations: 0 / 0.7486 GB, free: 106 MB / 474.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007751/1.972, allocations: 209.8 kB / 0.7488 GB, free: 105.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/1.972, allocations: 166.2 kB / 0.749 GB, free: 105.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005703/1.972, allocations: 377.1 kB / 0.7493 GB, free: 105.2 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/1.972, allocations: 29.7 kB / 0.7494 GB, free: 105.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002144/1.972, allocations: 311 kB / 0.7496 GB, free: 104.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.909e-05/1.972, allocations: 47.44 kB / 0.7497 GB, free: 104.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.499e-05/1.973, allocations: 0 / 0.7497 GB, free: 104.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 9.502e-05/1.973, allocations: 358.8 kB / 0.75 GB, free: 104.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/1.973, allocations: 96.84 kB / 0.7501 GB, free: 104.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003297/1.973, allocations: 321.5 kB / 0.7504 GB, free: 104 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004974/1.978, allocations: 0.621 MB / 0.751 GB, free: 103.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.311e-05/1.978, allocations: 96 / 0.751 GB, free: 103.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.005752/1.984, allocations: 0.8744 MB / 0.7519 GB, free: 102.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006045/1.985, allocations: 2.818 MB / 0.7546 GB, free: 99.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.474e-05/1.985, allocations: 8 kB / 0.7547 GB, free: 99.41 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.129e-05/1.985, allocations: 8 kB / 0.7547 GB, free: 99.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/1.985, allocations: 91.83 kB / 0.7547 GB, free: 99.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/1.985, allocations: 15.94 kB / 0.7548 GB, free: 99.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006526/1.986, allocations: 59.36 kB / 0.7548 GB, free: 99.24 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.295e-05/1.986, allocations: 20 kB / 0.7548 GB, free: 99.22 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/1.986, allocations: 4 kB / 0.7548 GB, free: 99.22 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005407/1.992, allocations: 0.7925 MB / 0.7556 GB, free: 98.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/1.992, allocations: 8 kB / 0.7556 GB, free: 98.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/1.992, allocations: 12.09 kB / 0.7556 GB, free: 98.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/1.992, allocations: 83.84 kB / 0.7557 GB, free: 98.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.471e-05/1.992, allocations: 19.92 kB / 0.7557 GB, free: 98.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005761/1.993, allocations: 39.62 kB / 0.7558 GB, free: 98.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.478e-05/1.993, allocations: 31.94 kB / 0.7558 GB, free: 98.23 MB / 474.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: 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 (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.000206/1.993, allocations: 163.2 kB / 0.756 GB, free: 98.06 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007655/1.994, allocations: 222.3 kB / 0.7562 GB, free: 97.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.692e-05/1.994, allocations: 43.48 kB / 0.7562 GB, free: 97.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008175/1.995, allocations: 248.3 kB / 0.7564 GB, free: 97.55 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/1.995, allocations: 0 / 0.7564 GB, free: 97.55 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/1.995, allocations: 4.047 kB / 0.7565 GB, free: 97.55 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.995, allocations: 3.984 kB / 0.7565 GB, free: 97.54 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004926/1.995, allocations: 337.8 kB / 0.7568 GB, free: 97.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/1.995, allocations: 3.953 kB / 0.7568 GB, free: 97.17 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001695/1.996, allocations: 19.98 kB / 0.7568 GB, free: 97.15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.996, allocations: 0 / 0.7568 GB, free: 97.15 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.369e-05/1.996, allocations: 4 kB / 0.7568 GB, free: 97.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/1.996, allocations: 0 / 0.7568 GB, free: 97.15 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.996, allocations: 96 / 0.7568 GB, free: 97.15 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007058/1.996, allocations: 268.7 kB / 0.7571 GB, free: 96.87 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001438/1.997, allocations: 128.4 kB / 0.7572 GB, free: 96.72 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/1.997, allocations: 8 kB / 0.7572 GB, free: 96.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/1.997, allocations: 11.98 kB / 0.7572 GB, free: 96.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/1.997, allocations: 7.984 kB / 0.7572 GB, free: 96.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.262e-05/1.997, allocations: 11.98 kB / 0.7572 GB, free: 96.68 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004106/1.998, allocations: 286.9 kB / 0.7575 GB, free: 96.41 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.998, allocations: 4 kB / 0.7575 GB, free: 96.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001907/1.999, allocations: 443.3 kB / 0.7579 GB, free: 95.97 MB / 474.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: 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 (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.002428/2.002, allocations: 1.178 MB / 0.7591 GB, free: 94.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001114/2.003, allocations: 0.5908 MB / 0.7597 GB, free: 94.16 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/2.003, allocations: 8.062 kB / 0.7597 GB, free: 94.15 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001872/2.003, allocations: 155.3 kB / 0.7598 GB, free: 93.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/2.004, allocations: 141.8 kB / 0.7599 GB, free: 93.85 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/2.007, allocations: 0.769 MB / 0.7607 GB, free: 93.04 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/2.007, allocations: 0.851 MB / 0.7615 GB, free: 92.16 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009952/2.008, allocations: 162.7 kB / 0.7617 GB, free: 92 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/2.009, allocations: 143.4 kB / 0.7618 GB, free: 91.86 MB / 474.7 MB Notification: Performance of SimCode: time 2.375e-06/2.009, allocations: 0 / 0.7618 GB, free: 91.86 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06248/2.071, allocations: 13.36 MB / 0.7749 GB, free: 78.52 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/2.071, allocations: 172.9 kB / 0.775 GB, free: 78.33 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.917/4.988, allocations: 0 / 0.775 GB, free: 78.33 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat does not exist to compare? outputFormat=mat