Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Pipes_StaticPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.735/2.735, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 5.752e-05/5.778e-05, allocations: 10.58 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.4307, allocations: 58.84 MB / 382.3 MB, free: 10.22 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8384/1.269, allocations: 316.6 MB / 0.6826 GB, free: 9.371 MB / 490.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/1.27, allocations: 84.08 kB / 0.6827 GB, free: 9.328 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7503/2.02, allocations: 97.5 MB / 0.7779 GB, free: 135.3 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.154e-06/2.02, allocations: 0 / 0.7779 GB, free: 135.3 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 6.397e-05/2.02, allocations: 12 kB / 0.7779 GB, free: 135.2 MB / 0.4949 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.002723/2.023, allocations: 0.8325 MB / 0.7787 GB, free: 134.4 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/2.023, allocations: 12.03 kB / 0.7787 GB, free: 134.4 MB / 0.4949 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00016/2.023, allocations: 62.55 kB / 0.7788 GB, free: 134.3 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005337/2.024, allocations: 67.31 kB / 0.7788 GB, free: 134.2 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001606/2.025, allocations: 463.8 kB / 0.7793 GB, free: 133.7 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.017e-05/2.025, allocations: 20.56 kB / 0.7793 GB, free: 133.7 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001077/2.025, allocations: 31.98 kB / 0.7793 GB, free: 133.7 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/2.027, allocations: 0.5152 MB / 0.7798 GB, free: 133.1 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/2.027, allocations: 0 / 0.7798 GB, free: 133.1 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001016/2.027, allocations: 12 kB / 0.7798 GB, free: 133.1 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.339e-05/2.027, allocations: 28.55 kB / 0.7799 GB, free: 133.1 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/2.029, allocations: 441 kB / 0.7803 GB, free: 132.6 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005532/2.034, allocations: 2.262 MB / 0.7825 GB, free: 130.2 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006299/2.035, allocations: 223.5 kB / 0.7827 GB, free: 130 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003209/2.035, allocations: 124.8 kB / 0.7828 GB, free: 129.9 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001818/2.037, allocations: 1.061 MB / 0.7839 GB, free: 128.7 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003869/2.037, allocations: 220.4 kB / 0.7841 GB, free: 128.5 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=18): time 2.785e-06/2.037, allocations: 0 / 0.7841 GB, free: 128.5 MB / 0.4949 GB Notification: Performance of matching and sorting (n=18): time 0.0007711/2.038, allocations: 303.3 kB / 0.7844 GB, free: 128.2 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.378e-05/2.038, allocations: 235.3 kB / 0.7846 GB, free: 127.9 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007994/2.039, allocations: 463.9 kB / 0.785 GB, free: 127.4 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 9.137e-05/2.039, allocations: 29.7 kB / 0.7851 GB, free: 127.4 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/2.04, allocations: 291.3 kB / 0.7853 GB, free: 127.1 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 7.3e-05/2.04, allocations: 59.19 kB / 0.7854 GB, free: 127 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-05/2.04, allocations: 8 kB / 0.7854 GB, free: 127 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0001047/2.04, allocations: 358.7 kB / 0.7857 GB, free: 126.7 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003154/2.04, allocations: 120.4 kB / 0.7859 GB, free: 126.5 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/2.041, allocations: 291.9 kB / 0.7861 GB, free: 126.2 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003999/2.041, allocations: 198.9 kB / 0.7863 GB, free: 126 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-06/2.041, allocations: 4 kB / 0.7863 GB, free: 126 MB / 0.4949 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001168/2.042, allocations: 0.4934 MB / 0.7868 GB, free: 125.5 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003868/2.043, allocations: 1.681 MB / 0.7884 GB, free: 123.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/2.043, allocations: 7.984 kB / 0.7885 GB, free: 123.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.634e-05/2.043, allocations: 8 kB / 0.7885 GB, free: 123.6 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006003/2.043, allocations: 75.84 kB / 0.7885 GB, free: 123.6 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.653e-05/2.043, allocations: 8 kB / 0.7885 GB, free: 123.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008344/2.044, allocations: 67.36 kB / 0.7886 GB, free: 123.5 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.251e-05/2.044, allocations: 23.98 kB / 0.7886 GB, free: 123.5 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/2.044, allocations: 9.828 kB / 0.7886 GB, free: 123.5 MB / 0.4949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001046/2.045, allocations: 445.5 kB / 0.7891 GB, free: 123 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/2.045, allocations: 8 kB / 0.7891 GB, free: 123 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/2.045, allocations: 4 kB / 0.7891 GB, free: 123 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005164/2.046, allocations: 83.83 kB / 0.7892 GB, free: 122.9 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.197e-05/2.046, allocations: 7.938 kB / 0.7892 GB, free: 122.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006746/2.047, allocations: 47.67 kB / 0.7892 GB, free: 122.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.114e-05/2.047, allocations: 16 kB / 0.7892 GB, free: 122.9 MB / 0.4949 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.0002972/2.047, allocations: 172.1 kB / 0.7894 GB, free: 122.7 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001837/2.047, allocations: 59.28 kB / 0.7894 GB, free: 122.6 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001366/2.049, allocations: 354.6 kB / 0.7898 GB, free: 122.3 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.358e-06/2.049, allocations: 4 kB / 0.7898 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/2.049, allocations: 3.938 kB / 0.7898 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.264e-05/2.049, allocations: 3.984 kB / 0.7898 GB, free: 122.2 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009086/2.05, allocations: 409.2 kB / 0.7902 GB, free: 121.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/2.05, allocations: 0 / 0.7902 GB, free: 121.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002399/2.05, allocations: 27.98 kB / 0.7902 GB, free: 121.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/2.05, allocations: 4 kB / 0.7902 GB, free: 121.8 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.132e-05/2.05, allocations: 7.953 kB / 0.7902 GB, free: 121.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/2.05, allocations: 0 / 0.7902 GB, free: 121.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/2.05, allocations: 0 / 0.7902 GB, free: 121.8 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00076/2.051, allocations: 365 kB / 0.7906 GB, free: 121.4 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000172/2.051, allocations: 140.4 kB / 0.7907 GB, free: 121.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/2.051, allocations: 11.95 kB / 0.7907 GB, free: 121.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005334/2.052, allocations: 11.98 kB / 0.7907 GB, free: 121.2 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.978e-05/2.052, allocations: 19.97 kB / 0.7907 GB, free: 121.2 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.973e-05/2.052, allocations: 12.05 kB / 0.7908 GB, free: 121.2 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0005626/2.052, allocations: 365.6 kB / 0.7911 GB, free: 120.8 MB / 0.4949 GB Notification: Performance of sort global known variables: time 4.31e-07/2.052, allocations: 0 / 0.7911 GB, free: 120.8 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.001778/2.054, allocations: 471.4 kB / 0.7916 GB, free: 120.4 MB / 0.4949 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.002447/2.057, allocations: 1.306 MB / 0.7928 GB, free: 119 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.001324/2.058, allocations: 0.6346 MB / 0.7935 GB, free: 118.4 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/2.058, allocations: 2.25 kB / 0.7935 GB, free: 118.4 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.0002491/2.058, allocations: 179.3 kB / 0.7936 GB, free: 118.2 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/2.06, allocations: 192 kB / 0.7938 GB, free: 118 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/2.062, allocations: 0.7661 MB / 0.7946 GB, free: 117.2 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003289/2.063, allocations: 0.856 MB / 0.7954 GB, free: 116.3 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.001104/2.064, allocations: 188.1 kB / 0.7956 GB, free: 116.1 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002703/2.064, allocations: 151.4 kB / 0.7957 GB, free: 116 MB / 0.4949 GB Notification: Performance of SimCode: time 1.102e-06/2.064, allocations: 7.938 kB / 0.7957 GB, free: 116 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0719/2.136, allocations: 17.52 MB / 0.8128 GB, free: 98.51 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002106/2.136, allocations: 203.2 kB / 0.813 GB, free: 98.28 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.304/5.44, allocations: 0 / 0.813 GB, free: 98.28 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Pipes.StaticPipe_res.mat does not exist to compare? outputFormat=mat