Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeClosingValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.526/2.526, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.451e-05/4.462e-05, allocations: 4 kB / 348.5 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1416, allocations: 61.89 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.766/8.907, allocations: 2.829 GB / 3.23 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/8.908, allocations: 80.8 kB / 3.23 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.84/11.75, allocations: 471.2 MB / 3.69 GB, free: 53.28 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.873e-06/11.75, allocations: 0 / 3.69 GB, free: 53.28 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.641e-05/11.75, allocations: 20.25 kB / 3.69 GB, free: 53.28 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.01057/11.76, allocations: 2.148 MB / 3.692 GB, free: 52.41 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/11.76, allocations: 10.47 kB / 3.692 GB, free: 52.41 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004155/11.76, allocations: 126.9 kB / 3.692 GB, free: 52.37 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003904/11.76, allocations: 375.2 kB / 3.693 GB, free: 52.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003291/11.77, allocations: 0.8783 MB / 3.694 GB, free: 52.06 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/11.77, allocations: 70.31 kB / 3.694 GB, free: 52.06 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002457/11.77, allocations: 81.7 kB / 3.694 GB, free: 52.06 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004688/11.77, allocations: 1.446 MB / 3.695 GB, free: 51.79 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.905e-05/11.77, allocations: 4.406 kB / 3.695 GB, free: 51.79 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001618/11.77, allocations: 38.89 kB / 3.695 GB, free: 51.79 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/11.77, allocations: 55.3 kB / 3.695 GB, free: 51.78 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004377/11.78, allocations: 1.234 MB / 3.696 GB, free: 51.78 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.01279/11.79, allocations: 6.558 MB / 3.703 GB, free: 47.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003325/11.79, allocations: 0.9359 MB / 3.704 GB, free: 47.55 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009672/11.79, allocations: 390.6 kB / 3.704 GB, free: 47.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1191/11.91, allocations: 32.11 MB / 3.735 GB, free: 28.07 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.736e-05/11.91, allocations: 39.47 kB / 3.735 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=57): time 5.209e-06/11.91, allocations: 0 / 3.735 GB, free: 28.04 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61): time 0.0138/11.93, allocations: 2.799 MB / 3.738 GB, free: 27.41 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.273e-05/11.93, allocations: 198.1 kB / 3.738 GB, free: 27.19 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/11.93, allocations: 0.6371 MB / 3.739 GB, free: 27.06 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002204/11.93, allocations: 38.92 kB / 3.739 GB, free: 27.03 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004621/11.93, allocations: 416.5 kB / 3.739 GB, free: 26.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/11.93, allocations: 210.8 kB / 3.74 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001061/11.93, allocations: 15.12 kB / 3.74 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001951/11.93, allocations: 386.5 kB / 3.74 GB, free: 26.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001219/11.93, allocations: 346.2 kB / 3.74 GB, free: 26.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/11.93, allocations: 0.5452 MB / 3.741 GB, free: 26.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001/11.93, allocations: 418.8 kB / 3.741 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/11.93, allocations: 3.719 kB / 3.741 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003226/11.94, allocations: 1.182 MB / 3.742 GB, free: 26.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005416/11.94, allocations: 2.272 MB / 3.745 GB, free: 23.66 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.93e-05/11.94, allocations: 7.469 kB / 3.745 GB, free: 23.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005329/11.94, allocations: 0.6583 MB / 3.745 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/11.94, allocations: 153.3 kB / 3.745 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002162/11.95, allocations: 1.255 MB / 3.747 GB, free: 23.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00176/11.95, allocations: 104.9 kB / 3.747 GB, free: 23.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/11.95, allocations: 40.56 kB / 3.747 GB, free: 23.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/11.95, allocations: 11.55 kB / 3.747 GB, free: 23.1 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003161/11.95, allocations: 1.047 MB / 3.748 GB, free: 23.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/11.95, allocations: 6.391 kB / 3.748 GB, free: 23.07 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002708/11.95, allocations: 401.8 kB / 3.748 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/11.96, allocations: 172.3 kB / 3.748 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001569/11.96, allocations: 1.061 MB / 3.749 GB, free: 22.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/11.96, allocations: 104.4 kB / 3.75 GB, free: 22.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001443/11.96, allocations: 40.83 kB / 3.75 GB, free: 22.51 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.0003509/11.96, allocations: 162.5 kB / 3.75 GB, free: 22.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002806/11.96, allocations: 84.81 kB / 3.75 GB, free: 22.36 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005576/11.97, allocations: 3.241 MB / 3.753 GB, free: 21.96 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.141e-05/11.97, allocations: 35.55 kB / 3.753 GB, free: 21.96 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/11.97, allocations: 0 / 3.753 GB, free: 21.96 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00395/11.97, allocations: 2.694 MB / 3.756 GB, free: 21.44 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008027/11.98, allocations: 4.477 MB / 3.76 GB, free: 20.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-05/11.98, allocations: 0 / 3.76 GB, free: 20.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/11.98, allocations: 176.6 kB / 3.76 GB, free: 20.99 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005623/11.98, allocations: 91.53 kB / 3.76 GB, free: 20.98 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/11.98, allocations: 19.92 kB / 3.76 GB, free: 20.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004832/11.98, allocations: 0.6487 MB / 3.761 GB, free: 20.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/11.98, allocations: 0 / 3.761 GB, free: 20.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007148/11.99, allocations: 2.748 MB / 3.764 GB, free: 35.97 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/11.99, allocations: 460.1 kB / 3.764 GB, free: 35.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002813/11.99, allocations: 14.16 kB / 3.764 GB, free: 35.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001667/11.99, allocations: 94.47 kB / 3.764 GB, free: 35.74 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/11.99, allocations: 55.8 kB / 3.764 GB, free: 35.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.907e-05/11.99, allocations: 33.42 kB / 3.764 GB, free: 35.74 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001579/11.99, allocations: 0.7872 MB / 3.765 GB, free: 35.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5.61e-07/11.99, allocations: 0 / 3.765 GB, free: 35.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008907/12, allocations: 1.739 MB / 3.767 GB, free: 35.36 MB / 0.5417 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.01843/12.02, allocations: 5.315 MB / 3.772 GB, free: 33.84 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004486/12.02, allocations: 1.651 MB / 3.774 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/12.02, allocations: 4.125 kB / 3.774 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.002038/12.03, allocations: 0.8378 MB / 3.774 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004647/12.03, allocations: 483.3 kB / 3.775 GB, free: 33.76 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01155/12.04, allocations: 3.179 MB / 3.778 GB, free: 32.86 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001242/12.04, allocations: 1.342 MB / 3.779 GB, free: 32.12 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003251/12.05, allocations: 0.9738 MB / 3.78 GB, free: 32.07 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/12.05, allocations: 0.5552 MB / 3.781 GB, free: 32.07 MB / 0.5417 GB Notification: Performance of SimCode: time 1.703e-06/12.05, allocations: 0 / 3.781 GB, free: 32.07 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1722/12.22, allocations: 70.37 MB / 3.849 GB, free: 4.664 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004528/12.22, allocations: 237.2 kB / 3.85 GB, free: 4.348 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.258/18.48, allocations: 4.062 kB / 3.85 GB, free: 4.344 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve_res.mat does not exist to compare? outputFormat=mat