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.471/2.471, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.419e-05, allocations: 0 / 299.5 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4331, allocations: 54.85 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.797/8.231, allocations: 2.654 GB / 3 GB, free: 120.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/8.231, allocations: 88.38 kB / 3.001 GB, free: 120.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.295/10.53, allocations: 459.2 MB / 3.449 GB, free: 41.3 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.723e-06/10.53, allocations: 0 / 3.449 GB, free: 41.3 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.204e-05/10.53, allocations: 27.16 kB / 3.449 GB, free: 41.29 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.009516/10.54, allocations: 2.144 MB / 3.451 GB, free: 40.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/10.54, allocations: 6.438 kB / 3.451 GB, free: 40.03 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003735/10.54, allocations: 378.8 kB / 3.452 GB, free: 39.94 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00305/10.54, allocations: 0.8759 MB / 3.452 GB, free: 39.45 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.789e-05/10.54, allocations: 40.28 kB / 3.452 GB, free: 39.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/10.54, allocations: 45.31 kB / 3.452 GB, free: 39.42 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002203/10.55, allocations: 0.9249 MB / 3.453 GB, free: 38.59 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002208/10.55, allocations: 1.092 MB / 3.454 GB, free: 37.58 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.644e-05/10.55, allocations: 0 / 3.454 GB, free: 37.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001252/10.55, allocations: 4 kB / 3.454 GB, free: 37.57 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/10.55, allocations: 53.55 kB / 3.454 GB, free: 37.53 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.6916/11.24, allocations: 101.3 MB / 3.553 GB, free: 37.65 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/11.24, allocations: 486 kB / 3.554 GB, free: 37.62 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005458/11.24, allocations: 273.5 kB / 3.554 GB, free: 37.61 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05102/11.29, allocations: 16.78 MB / 3.57 GB, free: 26.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/11.29, allocations: 40.44 kB / 3.57 GB, free: 26.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 4.809e-06/11.29, allocations: 0.5625 kB / 3.57 GB, free: 26.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=46): time 0.01042/11.3, allocations: 2.264 MB / 3.573 GB, free: 26.37 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/11.3, allocations: 132.3 kB / 3.573 GB, free: 26.21 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/11.3, allocations: 0.5602 MB / 3.573 GB, free: 26.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/11.3, allocations: 25.7 kB / 3.573 GB, free: 26.06 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/11.3, allocations: 479.4 kB / 3.574 GB, free: 25.86 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/11.3, allocations: 159.5 kB / 3.574 GB, free: 25.77 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/11.3, allocations: 0 / 3.574 GB, free: 25.77 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001361/11.3, allocations: 379.6 kB / 3.574 GB, free: 25.46 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007267/11.31, allocations: 329.3 kB / 3.575 GB, free: 25.46 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008589/11.31, allocations: 0.521 MB / 3.575 GB, free: 25.22 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006761/11.31, allocations: 0.9473 MB / 3.576 GB, free: 25.2 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.696e-05/11.31, allocations: 3.969 kB / 3.576 GB, free: 25.2 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.009226/11.32, allocations: 1.664 MB / 3.578 GB, free: 25.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005535/11.32, allocations: 2.272 MB / 3.58 GB, free: 22.72 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.934e-05/11.32, allocations: 3.344 kB / 3.58 GB, free: 22.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002875/11.33, allocations: 478.7 kB / 3.58 GB, free: 22.7 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/11.33, allocations: 157.8 kB / 3.581 GB, free: 22.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00282/11.33, allocations: 1.351 MB / 3.582 GB, free: 22.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00204/11.33, allocations: 121.3 kB / 3.582 GB, free: 22.16 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/11.33, allocations: 38.89 kB / 3.582 GB, free: 22.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/11.33, allocations: 3.625 kB / 3.582 GB, free: 22.16 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008613/11.34, allocations: 1.482 MB / 3.583 GB, free: 22.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.171e-05/11.34, allocations: 6.594 kB / 3.584 GB, free: 22.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002434/11.34, allocations: 381.1 kB / 3.584 GB, free: 22.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/11.34, allocations: 176.5 kB / 3.584 GB, free: 22.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/11.35, allocations: 1.068 MB / 3.585 GB, free: 21.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001585/11.35, allocations: 104.4 kB / 3.585 GB, free: 21.55 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/11.35, allocations: 41.09 kB / 3.585 GB, free: 21.55 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,pipe.statesFM[2].phase,sink.medium.phase,source.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.0003315/11.35, allocations: 131.8 kB / 3.585 GB, free: 21.45 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002776/11.35, allocations: 0.7236 MB / 3.586 GB, free: 21.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001733/11.35, allocations: 83.33 kB / 3.586 GB, free: 21.32 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003954/11.36, allocations: 1.86 MB / 3.588 GB, free: 21.16 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.194e-05/11.36, allocations: 23.34 kB / 3.588 GB, free: 21.16 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.864e-06/11.36, allocations: 1.125 kB / 3.588 GB, free: 21.16 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00301/11.36, allocations: 1.781 MB / 3.59 GB, free: 20.73 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005837/11.36, allocations: 2.843 MB / 3.592 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.927e-06/11.36, allocations: 0 / 3.592 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009293/11.37, allocations: 123 kB / 3.593 GB, free: 20.36 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003889/11.37, allocations: 82.06 kB / 3.593 GB, free: 20.35 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.109e-05/11.37, allocations: 10.98 kB / 3.593 GB, free: 20.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005353/11.37, allocations: 0.6746 MB / 3.593 GB, free: 19.82 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/11.37, allocations: 6.141 kB / 3.593 GB, free: 19.82 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003972/11.37, allocations: 1.965 MB / 3.595 GB, free: 19.49 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006895/11.37, allocations: 253.9 kB / 3.596 GB, free: 19.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002344/11.37, allocations: 10.42 kB / 3.596 GB, free: 19.34 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/11.37, allocations: 65.56 kB / 3.596 GB, free: 19.34 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/11.37, allocations: 45.41 kB / 3.596 GB, free: 19.33 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.849e-05/11.37, allocations: 20.22 kB / 3.596 GB, free: 19.33 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007372/11.37, allocations: 428.5 kB / 3.596 GB, free: 19.24 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.81e-07/11.37, allocations: 0 / 3.596 GB, free: 19.24 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.007813/11.38, allocations: 1.641 MB / 3.598 GB, free: 19.24 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (pipe.mediums[1].p,pipe.mediums[1].h) * Number of discrete variables: 11 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pipe.statesFM[2].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01709/11.4, allocations: 4.753 MB / 3.602 GB, free: 17.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003427/11.4, allocations: 1.408 MB / 3.604 GB, free: 17.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/11.4, allocations: 2.188 kB / 3.604 GB, free: 17.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/11.4, allocations: 0.5786 MB / 3.604 GB, free: 17.91 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003065/11.41, allocations: 317.3 kB / 3.605 GB, free: 17.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009155/11.42, allocations: 2.466 MB / 3.607 GB, free: 17.25 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/11.42, allocations: 1.168 MB / 3.608 GB, free: 32.53 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002954/11.42, allocations: 1.076 MB / 3.609 GB, free: 32.49 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008351/11.42, allocations: 388.6 kB / 3.61 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of SimCode: time 1.252e-06/11.42, allocations: 0 / 3.61 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1656/11.59, allocations: 53.74 MB / 3.662 GB, free: 22.6 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002448/11.59, allocations: 189.6 kB / 3.662 GB, free: 22.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.838/16.42, allocations: 4 kB / 3.662 GB, free: 22.4 MB / 0.5105 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