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.398/2.398, allocations: 235 MB / 247.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.061e-05/5.074e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4505/0.4506, allocations: 54.85 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.28/8.73, allocations: 2.655 GB / 3.007 GB, free: 104.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/8.731, allocations: 75.47 kB / 3.007 GB, free: 104.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.275/11.01, allocations: 463.8 MB / 3.459 GB, free: 25 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.793e-06/11.01, allocations: 0 / 3.459 GB, free: 25 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001135/11.01, allocations: 25.89 kB / 3.46 GB, free: 24.98 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.01003/11.02, allocations: 2.146 MB / 3.462 GB, free: 23 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.004e-05/11.02, allocations: 8.031 kB / 3.462 GB, free: 22.99 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004188/11.02, allocations: 129.5 kB / 3.462 GB, free: 22.88 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00387/11.02, allocations: 379.9 kB / 3.462 GB, free: 22.58 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003193/11.02, allocations: 0.8821 MB / 3.463 GB, free: 21.82 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/11.02, allocations: 64.97 kB / 3.463 GB, free: 21.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002965/11.02, allocations: 80.05 kB / 3.463 GB, free: 21.69 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004551/11.03, allocations: 1.457 MB / 3.465 GB, free: 20.41 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.696e-05/11.03, allocations: 4 kB / 3.465 GB, free: 20.41 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/11.03, allocations: 33.97 kB / 3.465 GB, free: 20.38 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000116/11.03, allocations: 61.77 kB / 3.465 GB, free: 20.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004266/11.03, allocations: 1.244 MB / 3.466 GB, free: 19.27 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.01238/11.05, allocations: 6.565 MB / 3.472 GB, free: 12.66 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003298/11.05, allocations: 0.9274 MB / 3.473 GB, free: 11.7 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008935/11.05, allocations: 396.8 kB / 3.474 GB, free: 11.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4815/11.53, allocations: 32.09 MB / 3.505 GB, free: 53.57 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/11.53, allocations: 39.44 kB / 3.505 GB, free: 53.53 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=57): time 4.448e-06/11.53, allocations: 3.031 kB / 3.505 GB, free: 53.53 MB / 0.4948 GB Notification: Performance of matching and sorting (n=61): time 0.01117/11.54, allocations: 2.802 MB / 3.508 GB, free: 53.01 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/11.54, allocations: 190 kB / 3.508 GB, free: 52.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001432/11.54, allocations: 0.6411 MB / 3.508 GB, free: 52.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002171/11.54, allocations: 37.36 kB / 3.508 GB, free: 52.63 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003882/11.55, allocations: 415.6 kB / 3.509 GB, free: 52.47 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/11.55, allocations: 214.3 kB / 3.509 GB, free: 52.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-05/11.55, allocations: 11.94 kB / 3.509 GB, free: 52.37 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001773/11.55, allocations: 397.6 kB / 3.509 GB, free: 52.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009779/11.55, allocations: 345.4 kB / 3.51 GB, free: 52.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/11.55, allocations: 0.5459 MB / 3.51 GB, free: 51.82 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/11.55, allocations: 418.8 kB / 3.511 GB, free: 51.81 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/11.55, allocations: 2.094 kB / 3.511 GB, free: 51.81 MB / 0.4948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003448/11.55, allocations: 1.198 MB / 3.512 GB, free: 51.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005385/11.55, allocations: 2.272 MB / 3.514 GB, free: 49.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.556e-05/11.55, allocations: 10.16 kB / 3.514 GB, free: 49.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005411/11.56, allocations: 0.6406 MB / 3.515 GB, free: 49.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/11.56, allocations: 161 kB / 3.515 GB, free: 49.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002504/11.56, allocations: 1.257 MB / 3.516 GB, free: 48.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001925/11.56, allocations: 99.8 kB / 3.516 GB, free: 48.82 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/11.56, allocations: 40.27 kB / 3.516 GB, free: 48.82 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/11.56, allocations: 4.297 kB / 3.516 GB, free: 48.82 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003658/11.57, allocations: 1.066 MB / 3.517 GB, free: 48.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.546e-05/11.57, allocations: 7.156 kB / 3.517 GB, free: 48.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002865/11.57, allocations: 400.6 kB / 3.518 GB, free: 48.79 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/11.57, allocations: 170.3 kB / 3.518 GB, free: 48.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/11.57, allocations: 1.066 MB / 3.519 GB, free: 48.26 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/11.58, allocations: 106.1 kB / 3.519 GB, free: 48.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/11.58, allocations: 39.89 kB / 3.519 GB, free: 48.25 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.0003818/11.58, allocations: 154.3 kB / 3.519 GB, free: 48.15 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003458/11.58, allocations: 86.03 kB / 3.519 GB, free: 48.11 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006331/11.58, allocations: 3.233 MB / 3.522 GB, free: 47.8 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.625e-05/11.58, allocations: 36.55 kB / 3.522 GB, free: 47.8 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/11.58, allocations: 0 / 3.522 GB, free: 47.8 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004492/11.59, allocations: 2.696 MB / 3.525 GB, free: 47.28 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007926/11.6, allocations: 4.48 MB / 3.529 GB, free: 46.88 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/11.6, allocations: 2.531 kB / 3.53 GB, free: 46.88 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001322/11.6, allocations: 182.1 kB / 3.53 GB, free: 46.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005193/11.6, allocations: 89.16 kB / 3.53 GB, free: 46.87 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.968e-05/11.6, allocations: 21.98 kB / 3.53 GB, free: 46.87 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004669/11.6, allocations: 0.6437 MB / 3.53 GB, free: 46.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/11.6, allocations: 3.75 kB / 3.53 GB, free: 46.35 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004508/11.6, allocations: 2.742 MB / 3.533 GB, free: 45.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/11.6, allocations: 461.4 kB / 3.534 GB, free: 45.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00026/11.6, allocations: 14.62 kB / 3.534 GB, free: 45.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/11.61, allocations: 91.88 kB / 3.534 GB, free: 45.69 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002072/11.61, allocations: 67.09 kB / 3.534 GB, free: 45.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.488e-05/11.61, allocations: 34.44 kB / 3.534 GB, free: 45.68 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001552/11.61, allocations: 0.7876 MB / 3.534 GB, free: 45.57 MB / 0.4948 GB Notification: Performance of sort global known variables: time 4.61e-07/11.61, allocations: 0 / 3.534 GB, free: 45.57 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.008162/11.62, allocations: 1.729 MB / 3.536 GB, free: 45.52 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.01707/11.63, allocations: 5.298 MB / 3.541 GB, free: 44.29 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00408/11.64, allocations: 1.681 MB / 3.543 GB, free: 44.24 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.633e-06/11.64, allocations: 0 / 3.543 GB, free: 44.24 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001637/11.64, allocations: 0.8435 MB / 3.544 GB, free: 44.23 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004182/11.64, allocations: 480.1 kB / 3.544 GB, free: 44.22 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01044/11.65, allocations: 3.186 MB / 3.547 GB, free: 43.57 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008898/11.65, allocations: 1.346 MB / 3.549 GB, free: 42.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.002876/11.66, allocations: 0.9699 MB / 3.55 GB, free: 42.84 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009142/11.66, allocations: 0.5561 MB / 3.55 GB, free: 42.83 MB / 0.4948 GB Notification: Performance of SimCode: time 1.072e-06/11.66, allocations: 0 / 3.55 GB, free: 42.83 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1848/11.84, allocations: 70.21 MB / 3.619 GB, free: 39.72 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/11.84, allocations: 238.6 kB / 3.619 GB, free: 39.41 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.827/17.67, allocations: 0 / 3.619 GB, free: 39.41 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