Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeClosingValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.519/2.519, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.142e-05/4.151e-05, allocations: 8 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4442, allocations: 58.82 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.653/9.097, allocations: 2.824 GB / 3.198 GB, free: 98.04 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002541/9.097, allocations: 83.56 kB / 3.198 GB, free: 98 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.278/11.38, allocations: 466.1 MB / 3.653 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.765e-06/11.38, allocations: 0 / 3.653 GB, free: 39.67 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.665e-05/11.38, allocations: 23.94 kB / 3.653 GB, free: 39.65 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.009828/11.39, allocations: 2.159 MB / 3.655 GB, free: 37.66 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/11.39, allocations: 12.03 kB / 3.655 GB, free: 37.64 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004181/11.39, allocations: 123.3 kB / 3.655 GB, free: 37.54 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003821/11.39, allocations: 377.2 kB / 3.655 GB, free: 37.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003321/11.39, allocations: 0.8799 MB / 3.656 GB, free: 36.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/11.39, allocations: 69.91 kB / 3.656 GB, free: 36.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002871/11.39, allocations: 83.7 kB / 3.656 GB, free: 36.35 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004676/11.4, allocations: 1.451 MB / 3.658 GB, free: 35.08 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.398e-05/11.4, allocations: 3.938 kB / 3.658 GB, free: 35.07 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001663/11.4, allocations: 32 kB / 3.658 GB, free: 35.04 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/11.4, allocations: 52.84 kB / 3.658 GB, free: 35 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004386/11.4, allocations: 1.235 MB / 3.659 GB, free: 33.96 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01238/11.42, allocations: 6.567 MB / 3.666 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003231/11.42, allocations: 0.9212 MB / 3.666 GB, free: 26.87 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008638/11.42, allocations: 395.9 kB / 3.667 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1018/11.52, allocations: 32.11 MB / 3.698 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.548e-05/11.52, allocations: 47.08 kB / 3.698 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=57): time 4.088e-06/11.52, allocations: 0 / 3.698 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61): time 0.01118/11.53, allocations: 2.804 MB / 3.701 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/11.53, allocations: 188.5 kB / 3.701 GB, free: 5.273 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00148/11.53, allocations: 0.6366 MB / 3.702 GB, free: 4.637 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001975/11.53, allocations: 41.64 kB / 3.702 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004467/11.54, allocations: 418.7 kB / 3.702 GB, free: 4.176 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/11.54, allocations: 211.4 kB / 3.702 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.265e-05/11.54, allocations: 16 kB / 3.702 GB, free: 3.957 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002286/11.54, allocations: 394.7 kB / 3.703 GB, free: 3.562 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009667/11.54, allocations: 341.4 kB / 3.703 GB, free: 3.227 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/11.54, allocations: 0.539 MB / 3.704 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/11.54, allocations: 427 kB / 3.704 GB, free: 2.188 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/11.54, allocations: 3.953 kB / 3.704 GB, free: 2.184 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003405/11.54, allocations: 1.182 MB / 3.705 GB, free: 0.9883 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.4185/11.96, allocations: 2.259 MB / 3.707 GB, free: 69.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.084e-05/11.96, allocations: 7.125 kB / 3.707 GB, free: 69.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006875/11.97, allocations: 0.6604 MB / 3.708 GB, free: 69.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/11.97, allocations: 157.1 kB / 3.708 GB, free: 69.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002275/11.97, allocations: 1.257 MB / 3.709 GB, free: 68.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/11.97, allocations: 102.8 kB / 3.71 GB, free: 68.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001573/11.97, allocations: 39.91 kB / 3.71 GB, free: 68.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/11.97, allocations: 11.47 kB / 3.71 GB, free: 68.7 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00341/11.98, allocations: 1.051 MB / 3.711 GB, free: 68.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.417e-05/11.98, allocations: 6.5 kB / 3.711 GB, free: 68.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00279/11.98, allocations: 398.5 kB / 3.711 GB, free: 68.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/11.98, allocations: 166.4 kB / 3.711 GB, free: 68.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/11.98, allocations: 1.063 MB / 3.712 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/11.99, allocations: 105.1 kB / 3.712 GB, free: 68.16 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/11.99, allocations: 36.84 kB / 3.712 GB, free: 68.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 (valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase,sink.state.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.0004097/11.99, allocations: 159.2 kB / 3.713 GB, free: 68.05 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003192/11.99, allocations: 85.19 kB / 3.713 GB, free: 68.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005541/11.99, allocations: 3.235 MB / 3.716 GB, free: 67.84 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.695e-05/11.99, allocations: 36.94 kB / 3.716 GB, free: 67.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.759e-06/11.99, allocations: 6.938 kB / 3.716 GB, free: 67.84 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003735/12, allocations: 2.681 MB / 3.718 GB, free: 67.33 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00802/12, allocations: 4.484 MB / 3.723 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.141e-05/12, allocations: 2.719 kB / 3.723 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001336/12.01, allocations: 177.4 kB / 3.723 GB, free: 66.91 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005471/12.01, allocations: 89.8 kB / 3.723 GB, free: 66.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-05/12.01, allocations: 21.77 kB / 3.723 GB, free: 66.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004617/12.01, allocations: 0.653 MB / 3.724 GB, free: 66.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/12.01, allocations: 0 / 3.724 GB, free: 66.38 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004601/12.01, allocations: 2.74 MB / 3.726 GB, free: 65.91 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/12.01, allocations: 462.1 kB / 3.727 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003313/12.01, allocations: 19.14 kB / 3.727 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/12.01, allocations: 85.31 kB / 3.727 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/12.01, allocations: 68.5 kB / 3.727 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.31e-05/12.01, allocations: 34.33 kB / 3.727 GB, free: 65.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001504/12.02, allocations: 0.7844 MB / 3.728 GB, free: 65.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.21e-07/12.02, allocations: 0 / 3.728 GB, free: 65.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008187/12.02, allocations: 1.738 MB / 3.73 GB, free: 65.61 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 21 ($cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,source.medium.phase,pipe.statesFM[2].phase,sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01657/12.04, allocations: 5.309 MB / 3.735 GB, free: 64.41 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004061/12.04, allocations: 1.654 MB / 3.736 GB, free: 64.38 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/12.04, allocations: 0 / 3.736 GB, free: 64.38 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001823/12.05, allocations: 0.8344 MB / 3.737 GB, free: 64.38 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004474/12.05, allocations: 483.2 kB / 3.738 GB, free: 64.36 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01074/12.06, allocations: 3.182 MB / 3.741 GB, free: 63.72 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009093/12.06, allocations: 1.343 MB / 3.742 GB, free: 63 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002877/12.07, allocations: 0.9819 MB / 3.743 GB, free: 62.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009889/12.07, allocations: 0.5519 MB / 3.744 GB, free: 62.97 MB / 0.5261 GB Notification: Performance of SimCode: time 1.062e-06/12.07, allocations: 0 / 3.744 GB, free: 62.97 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1898/12.26, allocations: 70.33 MB / 3.812 GB, free: 59.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002433/12.26, allocations: 233.3 kB / 3.812 GB, free: 59.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.769/18.03, allocations: 0 / 3.812 GB, free: 59.68 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve_res.mat does not exist to compare? outputFormat=mat