Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeClosingValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.427/2.427, allocations: 270.1 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.895e-05/3.912e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1459, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.918/9.064, allocations: 2.829 GB / 3.23 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002432/9.064, allocations: 83.45 kB / 3.23 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.873/11.94, allocations: 471.2 MB / 3.69 GB, free: 54.12 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.234e-06/11.94, allocations: 0 / 3.69 GB, free: 54.12 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001054/11.94, allocations: 20.25 kB / 3.69 GB, free: 54.12 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: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.01118/11.95, allocations: 2.148 MB / 3.692 GB, free: 53.26 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/11.95, allocations: 14.44 kB / 3.692 GB, free: 53.26 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004469/11.95, allocations: 122.8 kB / 3.692 GB, free: 53.22 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004011/11.95, allocations: 372 kB / 3.693 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003469/11.96, allocations: 0.8872 MB / 3.694 GB, free: 52.91 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/11.96, allocations: 66.94 kB / 3.694 GB, free: 52.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002037/11.96, allocations: 77.12 kB / 3.694 GB, free: 52.91 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004503/11.96, allocations: 1.448 MB / 3.695 GB, free: 52.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.069e-05/11.96, allocations: 3.188 kB / 3.695 GB, free: 52.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/11.96, allocations: 38.84 kB / 3.695 GB, free: 52.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001166/11.96, allocations: 50.98 kB / 3.695 GB, free: 52.63 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004284/11.97, allocations: 1.239 MB / 3.696 GB, free: 52.63 MB / 0.5261 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.01278/11.98, allocations: 6.566 MB / 3.703 GB, free: 48.47 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003308/11.98, allocations: 0.9284 MB / 3.704 GB, free: 48.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008963/11.98, allocations: 388.9 kB / 3.704 GB, free: 48.38 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1039/12.09, allocations: 32.11 MB / 3.735 GB, free: 28.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.319e-05/12.09, allocations: 43.19 kB / 3.735 GB, free: 28.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=57): time 4.268e-06/12.09, allocations: 0 / 3.735 GB, free: 28.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61): time 0.01024/12.1, allocations: 2.807 MB / 3.738 GB, free: 28.24 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.88e-05/12.1, allocations: 195.2 kB / 3.738 GB, free: 28.02 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/12.1, allocations: 0.6327 MB / 3.739 GB, free: 27.89 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002441/12.1, allocations: 39.95 kB / 3.739 GB, free: 27.86 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000372/12.1, allocations: 416.3 kB / 3.739 GB, free: 27.67 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003093/12.1, allocations: 206.7 kB / 3.74 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.283e-05/12.1, allocations: 16.5 kB / 3.74 GB, free: 27.54 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001662/12.1, allocations: 388.4 kB / 3.74 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/12.1, allocations: 353.5 kB / 3.74 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/12.1, allocations: 0.538 MB / 3.741 GB, free: 26.99 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/12.1, allocations: 414.6 kB / 3.741 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/12.1, allocations: 3.344 kB / 3.741 GB, free: 26.98 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003377/12.11, allocations: 1.189 MB / 3.742 GB, free: 26.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006752/12.11, allocations: 2.266 MB / 3.745 GB, free: 24.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/12.11, allocations: 7.562 kB / 3.745 GB, free: 24.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005405/12.11, allocations: 0.6585 MB / 3.745 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/12.11, allocations: 158.8 kB / 3.745 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/12.12, allocations: 1.259 MB / 3.747 GB, free: 23.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/12.12, allocations: 108.2 kB / 3.747 GB, free: 23.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/12.12, allocations: 41.56 kB / 3.747 GB, free: 23.93 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/12.12, allocations: 7.609 kB / 3.747 GB, free: 23.93 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003084/12.12, allocations: 1.048 MB / 3.748 GB, free: 23.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.615e-05/12.12, allocations: 15 kB / 3.748 GB, free: 23.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002655/12.12, allocations: 395.7 kB / 3.748 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/12.13, allocations: 168.9 kB / 3.748 GB, free: 23.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/12.13, allocations: 1.059 MB / 3.749 GB, free: 23.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/12.13, allocations: 105.8 kB / 3.75 GB, free: 23.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/12.13, allocations: 38.53 kB / 3.75 GB, free: 23.34 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.0003461/12.13, allocations: 164.1 kB / 3.75 GB, free: 23.23 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002923/12.13, allocations: 83.78 kB / 3.75 GB, free: 23.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005615/12.14, allocations: 3.233 MB / 3.753 GB, free: 22.79 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.304e-05/12.14, allocations: 40.73 kB / 3.753 GB, free: 22.79 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/12.14, allocations: 3.938 kB / 3.753 GB, free: 22.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004028/12.14, allocations: 2.689 MB / 3.756 GB, free: 22.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008229/12.15, allocations: 4.48 MB / 3.76 GB, free: 21.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.209e-05/12.15, allocations: 0 / 3.76 GB, free: 21.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/12.15, allocations: 178 kB / 3.76 GB, free: 21.82 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005762/12.15, allocations: 93.23 kB / 3.76 GB, free: 21.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000101/12.15, allocations: 27.58 kB / 3.76 GB, free: 21.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000497/12.15, allocations: 0.6428 MB / 3.761 GB, free: 21.29 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/12.15, allocations: 0 / 3.761 GB, free: 21.29 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004773/12.16, allocations: 2.746 MB / 3.764 GB, free: 20.8 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/12.16, allocations: 463.4 kB / 3.764 GB, free: 20.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002815/12.16, allocations: 14.69 kB / 3.764 GB, free: 20.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001457/12.16, allocations: 89.55 kB / 3.764 GB, free: 20.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002038/12.16, allocations: 64.06 kB / 3.764 GB, free: 20.57 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.697e-05/12.16, allocations: 26.34 kB / 3.764 GB, free: 20.57 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00159/12.16, allocations: 0.7864 MB / 3.765 GB, free: 20.45 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.51e-07/12.16, allocations: 0 / 3.765 GB, free: 20.45 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009404/12.17, allocations: 1.743 MB / 3.767 GB, free: 20.19 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.01855/12.19, allocations: 5.309 MB / 3.772 GB, free: 18.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004184/12.19, allocations: 1.659 MB / 3.774 GB, free: 18.63 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.734e-06/12.19, allocations: 0 / 3.774 GB, free: 18.63 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001875/12.2, allocations: 0.8338 MB / 3.774 GB, free: 18.63 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004619/12.2, allocations: 479.8 kB / 3.775 GB, free: 18.59 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/12.21, allocations: 3.182 MB / 3.778 GB, free: 17.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009566/12.21, allocations: 1.344 MB / 3.779 GB, free: 16.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003026/12.22, allocations: 0.9782 MB / 3.78 GB, free: 16.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/12.22, allocations: 0.5539 MB / 3.781 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of SimCode: time 2.144e-06/12.22, allocations: 0 / 3.781 GB, free: 16.89 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1691/12.39, allocations: 70.36 MB / 3.849 GB, free: 5.332 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000365/12.39, allocations: 244.7 kB / 3.85 GB, free: 5.008 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.464/18.85, allocations: 0 / 3.85 GB, free: 5.008 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve_res.mat does not exist to compare? outputFormat=mat