Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.95/1.95, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.325e-05/4.332e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1455, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.887/8.033, allocations: 2.545 GB / 2.859 GB, free: 11.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/8.033, allocations: 74.59 kB / 2.859 GB, free: 11.48 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.57/11.6, allocations: 0.5598 GB / 3.419 GB, free: 41.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.054e-06/11.6, allocations: 0 / 3.419 GB, free: 41.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002433/11.6, allocations: 40.94 kB / 3.419 GB, free: 41.98 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 320 * Number of variables: 320 Notification: Performance of Generate backend data structure: time 0.01319/11.62, allocations: 2.787 MB / 3.422 GB, free: 40.54 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/11.62, allocations: 11 kB / 3.422 GB, free: 40.54 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000847/11.62, allocations: 187.7 kB / 3.422 GB, free: 40.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005835/11.62, allocations: 0.5317 MB / 3.423 GB, free: 40.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005646/11.63, allocations: 1.419 MB / 3.424 GB, free: 40.05 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002473/11.63, allocations: 117.1 kB / 3.424 GB, free: 40.05 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005852/11.63, allocations: 124 kB / 3.424 GB, free: 40.04 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00695/11.64, allocations: 2.243 MB / 3.426 GB, free: 39.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.45e-05/11.64, allocations: 5.469 kB / 3.426 GB, free: 39.66 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002765/11.64, allocations: 58.16 kB / 3.426 GB, free: 39.66 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002062/11.64, allocations: 103.3 kB / 3.427 GB, free: 39.66 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007015/11.64, allocations: 1.933 MB / 3.428 GB, free: 39.65 MB / 458.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.0195/11.66, allocations: 9.64 MB / 3.438 GB, free: 33.72 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004475/11.67, allocations: 1.309 MB / 3.439 GB, free: 33.7 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/11.67, allocations: 0.6034 MB / 3.44 GB, free: 33.69 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05925/11.73, allocations: 18.83 MB / 3.458 GB, free: 21.94 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003831/11.73, allocations: 1.022 MB / 3.459 GB, free: 21.85 MB / 458.7 MB Notification: Performance of pre-optimization done (n=94): time 5.34e-06/11.73, allocations: 0 / 3.459 GB, free: 21.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=102): time 0.01837/11.75, allocations: 4.38 MB / 3.463 GB, free: 21.16 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/11.75, allocations: 280.8 kB / 3.464 GB, free: 20.84 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/11.75, allocations: 0.9701 MB / 3.465 GB, free: 20.67 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003607/11.75, allocations: 45.73 kB / 3.465 GB, free: 20.64 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007166/11.76, allocations: 0.6584 MB / 3.465 GB, free: 20.36 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005973/11.76, allocations: 359.4 kB / 3.466 GB, free: 20.14 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000145/11.76, allocations: 24.31 kB / 3.466 GB, free: 20.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001222/11.76, allocations: 355.5 kB / 3.466 GB, free: 19.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001688/11.76, allocations: 0.6059 MB / 3.467 GB, free: 19.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/11.76, allocations: 0.9263 MB / 3.467 GB, free: 19.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001826/11.76, allocations: 0.7614 MB / 3.468 GB, free: 19.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.648e-05/11.76, allocations: 6.344 kB / 3.468 GB, free: 19.43 MB / 458.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.005077/11.77, allocations: 1.84 MB / 3.47 GB, free: 19.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007498/11.77, allocations: 3.273 MB / 3.473 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.337e-05/11.77, allocations: 14.62 kB / 3.473 GB, free: 15.88 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007447/11.77, allocations: 130.5 kB / 3.473 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002758/11.77, allocations: 321.4 kB / 3.474 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/11.77, allocations: 1.258 MB / 3.475 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00273/11.78, allocations: 156.4 kB / 3.475 GB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003745/11.78, allocations: 65.58 kB / 3.475 GB, free: 14.81 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/11.78, allocations: 3.969 kB / 3.475 GB, free: 14.81 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004471/11.78, allocations: 1.668 MB / 3.477 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.784e-05/11.78, allocations: 14.8 kB / 3.477 GB, free: 14.74 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006198/11.78, allocations: 135.6 kB / 3.477 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/11.78, allocations: 323.6 kB / 3.477 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009311/11.78, allocations: 1.243 MB / 3.478 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002404/11.79, allocations: 156.9 kB / 3.479 GB, free: 13.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002224/11.79, allocations: 70.02 kB / 3.479 GB, free: 13.68 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 16 (pipe3.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,pipe1.state_a.phase,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,pipe3.state_b.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 147 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005247/11.79, allocations: 220.6 kB / 3.479 GB, free: 13.54 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00035/11.79, allocations: 134.1 kB / 3.479 GB, free: 13.46 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008215/11.8, allocations: 4.687 MB / 3.484 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.892e-05/11.8, allocations: 54.55 kB / 3.484 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.719e-06/11.8, allocations: 0 / 3.484 GB, free: 12.94 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006516/11.8, allocations: 3.916 MB / 3.487 GB, free: 12.48 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/11.82, allocations: 6.648 MB / 3.494 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/11.82, allocations: 0 / 3.494 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002062/11.82, allocations: 243.6 kB / 3.494 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/11.82, allocations: 173.1 kB / 3.494 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002643/11.82, allocations: 40.44 kB / 3.494 GB, free: 11.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001478/11.82, allocations: 1.287 MB / 3.496 GB, free: 26.86 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/11.82, allocations: 7.125 kB / 3.496 GB, free: 26.86 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008394/11.83, allocations: 4.142 MB / 3.5 GB, free: 26.43 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00172/11.83, allocations: 0.5277 MB / 3.5 GB, free: 26.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006085/11.83, allocations: 37.39 kB / 3.5 GB, free: 26.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00235/11.83, allocations: 118.1 kB / 3.5 GB, free: 26.17 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003967/11.83, allocations: 87.61 kB / 3.5 GB, free: 26.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000155/11.83, allocations: 39.89 kB / 3.5 GB, free: 26.16 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003445/11.84, allocations: 0.8507 MB / 3.501 GB, free: 26.05 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.012e-06/11.84, allocations: 8.594 kB / 3.501 GB, free: 26.04 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01532/11.85, allocations: 2.167 MB / 3.503 GB, free: 25.71 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (pipe1.mediums[1].p,pipe1.mediums[1].h,valveIncompressible1.filter.x[1],valveIncompressible1.filter.x[2],pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse24.region3boundary,$cse25.region3boundary,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent) * Number of discrete states: 5 (valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (118): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 15 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.03099/11.88, allocations: 6.977 MB / 3.51 GB, free: 23.81 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01207/11.9, allocations: 3.005 MB / 3.513 GB, free: 22.66 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/11.9, allocations: 0 / 3.513 GB, free: 22.66 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004953/11.9, allocations: 1.405 MB / 3.514 GB, free: 22.04 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008725/11.91, allocations: 0.5706 MB / 3.515 GB, free: 21.91 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7673/12.68, allocations: 124.4 MB / 3.637 GB, free: 47.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/12.68, allocations: 1.72 MB / 3.638 GB, free: 46.84 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.00569/12.68, allocations: 1.698 MB / 3.64 GB, free: 46.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001777/12.69, allocations: 0.8204 MB / 3.641 GB, free: 46.77 MB / 474.7 MB Notification: Performance of SimCode: time 1.593e-06/12.69, allocations: 1.312 kB / 3.641 GB, free: 46.77 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.199/12.89, allocations: 86.98 MB / 3.726 GB, free: 2.758 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/12.89, allocations: 217.5 kB / 3.726 GB, free: 2.539 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.427/20.31, allocations: 0 / 3.726 GB, free: 2.539 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2_res.mat does not exist to compare? outputFormat=mat