Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_DynamicPipeClosingValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.413/2.413, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.948e-05/3.93e-05, allocations: 4 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4342, allocations: 54.85 MB / 359.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.178/8.612, allocations: 2.655 GB / 3.007 GB, free: 105.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/8.613, allocations: 78.02 kB / 3.007 GB, free: 105.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.416/11.03, allocations: 463.8 MB / 3.46 GB, free: 26.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.014e-06/11.03, allocations: 4 kB / 3.46 GB, free: 26.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.332e-05/11.03, allocations: 23.91 kB / 3.46 GB, free: 26.28 MB / 490.7 MB 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.009588/11.04, allocations: 2.143 MB / 3.462 GB, free: 24.3 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/11.04, allocations: 12.03 kB / 3.462 GB, free: 24.29 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003704/11.04, allocations: 124.5 kB / 3.462 GB, free: 24.18 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003732/11.04, allocations: 383.4 kB / 3.462 GB, free: 23.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003066/11.05, allocations: 0.874 MB / 3.463 GB, free: 23.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.924e-05/11.05, allocations: 67.64 kB / 3.463 GB, free: 23.07 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001966/11.05, allocations: 78.41 kB / 3.463 GB, free: 22.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004431/11.05, allocations: 1.452 MB / 3.465 GB, free: 21.72 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.218e-05/11.05, allocations: 0 / 3.465 GB, free: 21.72 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/11.05, allocations: 33.56 kB / 3.465 GB, free: 21.69 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001173/11.05, allocations: 60.5 kB / 3.465 GB, free: 21.64 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004162/11.06, allocations: 1.234 MB / 3.466 GB, free: 20.6 MB / 490.7 MB 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.01189/11.07, allocations: 6.56 MB / 3.472 GB, free: 13.96 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003084/11.07, allocations: 0.9224 MB / 3.473 GB, free: 13.01 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007738/11.07, allocations: 385 kB / 3.474 GB, free: 12.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4727/11.54, allocations: 32.1 MB / 3.505 GB, free: 54.15 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.851e-05/11.54, allocations: 42.34 kB / 3.505 GB, free: 54.11 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=57): time 4.048e-06/11.54, allocations: 1.188 kB / 3.505 GB, free: 54.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=61): time 0.01206/11.56, allocations: 2.795 MB / 3.508 GB, free: 53.59 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.686e-05/11.56, allocations: 194.3 kB / 3.508 GB, free: 53.37 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00161/11.56, allocations: 0.6385 MB / 3.508 GB, free: 53.24 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002369/11.56, allocations: 39.27 kB / 3.508 GB, free: 53.21 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004381/11.56, allocations: 412 kB / 3.509 GB, free: 53.05 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003936/11.56, allocations: 213.9 kB / 3.509 GB, free: 52.95 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.844e-05/11.56, allocations: 16.91 kB / 3.509 GB, free: 52.95 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002284/11.56, allocations: 394 kB / 3.509 GB, free: 52.63 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001015/11.56, allocations: 345.2 kB / 3.51 GB, free: 52.63 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001226/11.56, allocations: 0.541 MB / 3.51 GB, free: 52.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/11.56, allocations: 416.9 kB / 3.511 GB, free: 52.39 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/11.56, allocations: 3.781 kB / 3.511 GB, free: 52.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003899/11.57, allocations: 1.185 MB / 3.512 GB, free: 52.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005435/11.57, allocations: 2.267 MB / 3.514 GB, free: 49.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.131e-05/11.57, allocations: 6.875 kB / 3.514 GB, free: 49.95 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005498/11.57, allocations: 0.64 MB / 3.515 GB, free: 49.94 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001257/11.57, allocations: 160.2 kB / 3.515 GB, free: 49.94 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002445/11.58, allocations: 1.259 MB / 3.516 GB, free: 49.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/11.58, allocations: 103.5 kB / 3.516 GB, free: 49.41 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002061/11.58, allocations: 38.23 kB / 3.516 GB, free: 49.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/11.58, allocations: 3.438 kB / 3.516 GB, free: 49.41 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003636/11.58, allocations: 1.052 MB / 3.517 GB, free: 49.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.942e-05/11.58, allocations: 6.094 kB / 3.517 GB, free: 49.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002923/11.59, allocations: 397.6 kB / 3.518 GB, free: 49.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/11.59, allocations: 170.6 kB / 3.518 GB, free: 49.37 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/11.59, allocations: 1.063 MB / 3.519 GB, free: 48.84 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/11.59, allocations: 103.7 kB / 3.519 GB, free: 48.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/11.59, allocations: 41.19 kB / 3.519 GB, free: 48.83 MB / 0.4948 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.0003946/11.59, allocations: 151.9 kB / 3.519 GB, free: 48.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003902/11.59, allocations: 87.77 kB / 3.519 GB, free: 48.68 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006535/11.6, allocations: 3.236 MB / 3.522 GB, free: 48.38 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-05/11.6, allocations: 43.16 kB / 3.522 GB, free: 48.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/11.6, allocations: 1.062 kB / 3.522 GB, free: 48.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004699/11.6, allocations: 2.693 MB / 3.525 GB, free: 47.86 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009372/11.61, allocations: 4.482 MB / 3.529 GB, free: 47.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.488e-05/11.61, allocations: 3.375 kB / 3.529 GB, free: 47.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001437/11.61, allocations: 171.9 kB / 3.53 GB, free: 47.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005622/11.62, allocations: 97.78 kB / 3.53 GB, free: 47.45 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001485/11.62, allocations: 22.8 kB / 3.53 GB, free: 47.45 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004945/11.62, allocations: 0.6395 MB / 3.53 GB, free: 46.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/11.62, allocations: 3.656 kB / 3.53 GB, free: 46.93 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00501/11.62, allocations: 2.741 MB / 3.533 GB, free: 46.45 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/11.62, allocations: 459.6 kB / 3.533 GB, free: 46.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000404/11.62, allocations: 18.88 kB / 3.534 GB, free: 46.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001653/11.62, allocations: 90.09 kB / 3.534 GB, free: 46.27 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002685/11.62, allocations: 68.97 kB / 3.534 GB, free: 46.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/11.62, allocations: 25.08 kB / 3.534 GB, free: 46.26 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001636/11.63, allocations: 0.7877 MB / 3.534 GB, free: 46.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.12e-07/11.63, allocations: 0 / 3.534 GB, free: 46.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008949/11.64, allocations: 1.729 MB / 3.536 GB, free: 46.1 MB / 0.4948 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.01725/11.65, allocations: 5.31 MB / 3.541 GB, free: 44.85 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004376/11.66, allocations: 1.653 MB / 3.543 GB, free: 44.82 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/11.66, allocations: 0 / 3.543 GB, free: 44.82 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001923/11.66, allocations: 0.8422 MB / 3.544 GB, free: 44.81 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004588/11.66, allocations: 467.1 kB / 3.544 GB, free: 44.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/11.68, allocations: 3.183 MB / 3.547 GB, free: 44.15 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00107/11.68, allocations: 1.347 MB / 3.549 GB, free: 43.44 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.003235/11.68, allocations: 0.9753 MB / 3.55 GB, free: 43.42 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/11.68, allocations: 0.5547 MB / 3.55 GB, free: 43.41 MB / 0.4948 GB Notification: Performance of SimCode: time 1.673e-06/11.68, allocations: 0 / 3.55 GB, free: 43.41 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.199/11.88, allocations: 70.25 MB / 3.619 GB, free: 40.21 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002735/11.88, allocations: 241.2 kB / 3.619 GB, free: 39.89 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.558/17.44, allocations: 0 / 3.619 GB, free: 39.89 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeClosingValve_res.mat does not exist to compare? outputFormat=mat