Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.576/2.576, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.297e-05/4.315e-05, allocations: 4 kB / 323.5 MB, free: 4.219 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4394, allocations: 58.83 MB / 382.3 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.612/9.051, allocations: 2.825 GB / 3.198 GB, free: 99.88 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/9.052, allocations: 75.16 kB / 3.198 GB, free: 99.84 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.389/12.44, allocations: 0.5766 GB / 3.775 GB, free: 40.86 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.034e-06/12.44, allocations: 0 / 3.775 GB, free: 40.86 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002482/12.44, allocations: 44.94 kB / 3.775 GB, free: 40.85 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 322 * Number of variables: 322 Notification: Performance of Generate backend data structure: time 0.01285/12.45, allocations: 2.867 MB / 3.778 GB, free: 39.37 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.92e-05/12.45, allocations: 7.875 kB / 3.778 GB, free: 39.37 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007643/12.45, allocations: 189.3 kB / 3.778 GB, free: 39.32 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005877/12.46, allocations: 0.5435 MB / 3.778 GB, free: 39.23 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005633/12.47, allocations: 1.425 MB / 3.78 GB, free: 38.87 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002109/12.47, allocations: 116.6 kB / 3.78 GB, free: 38.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005609/12.47, allocations: 121.8 kB / 3.78 GB, free: 38.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007206/12.47, allocations: 2.261 MB / 3.782 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.792e-05/12.47, allocations: 9.875 kB / 3.782 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002676/12.47, allocations: 55.58 kB / 3.782 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002018/12.47, allocations: 100.3 kB / 3.782 GB, free: 38.48 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006977/12.48, allocations: 1.953 MB / 3.784 GB, free: 38.46 MB / 0.5105 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.02144/12.5, allocations: 9.808 MB / 3.794 GB, free: 32.53 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004639/12.51, allocations: 1.334 MB / 3.795 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/12.51, allocations: 0.6362 MB / 3.796 GB, free: 32.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08119/12.59, allocations: 24.52 MB / 3.82 GB, free: 33.28 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005998/12.6, allocations: 1.055 MB / 3.821 GB, free: 33.19 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=96): time 7.244e-06/12.6, allocations: 0 / 3.821 GB, free: 33.19 MB / 0.5261 GB Notification: Performance of matching and sorting (n=104): time 0.03513/12.63, allocations: 4.473 MB / 3.825 GB, free: 32.46 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001816/12.63, allocations: 278 kB / 3.825 GB, free: 32.15 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005712/12.64, allocations: 1.019 MB / 3.826 GB, free: 31.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0003238/12.64, allocations: 43.8 kB / 3.827 GB, free: 31.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008068/12.64, allocations: 0.6433 MB / 3.827 GB, free: 31.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005514/12.64, allocations: 356.6 kB / 3.827 GB, free: 31.47 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/12.64, allocations: 27.78 kB / 3.828 GB, free: 31.47 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002152/12.64, allocations: 352.7 kB / 3.828 GB, free: 31.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007056/12.65, allocations: 0.6191 MB / 3.828 GB, free: 31.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002179/12.65, allocations: 0.9054 MB / 3.829 GB, free: 30.85 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002141/12.65, allocations: 0.7577 MB / 3.83 GB, free: 30.79 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/12.65, allocations: 0 / 3.83 GB, free: 30.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.01881/12.67, allocations: 1.868 MB / 3.832 GB, free: 30.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001434/12.67, allocations: 2.764 MB / 3.835 GB, free: 27.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.305e-05/12.67, allocations: 10.62 kB / 3.835 GB, free: 27.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009772/12.67, allocations: 132.9 kB / 3.835 GB, free: 27.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003444/12.68, allocations: 311.7 kB / 3.835 GB, free: 27.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001631/12.68, allocations: 1.252 MB / 3.836 GB, free: 26.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003565/12.68, allocations: 160.3 kB / 3.836 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003264/12.68, allocations: 59.58 kB / 3.836 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/12.68, allocations: 3.938 kB / 3.836 GB, free: 26.66 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004966/12.69, allocations: 1.688 MB / 3.838 GB, free: 26.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.592e-05/12.69, allocations: 7.781 kB / 3.838 GB, free: 26.59 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006479/12.69, allocations: 133.3 kB / 3.838 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002678/12.69, allocations: 310.9 kB / 3.839 GB, free: 26.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/12.69, allocations: 1.257 MB / 3.84 GB, free: 25.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/12.69, allocations: 154.4 kB / 3.84 GB, free: 25.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002302/12.69, allocations: 65.03 kB / 3.84 GB, free: 25.45 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 17 (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,valveOpening1.nextEventScaled,pipe3.state_b.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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.0005933/12.7, allocations: 226 kB / 3.84 GB, free: 25.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004192/12.7, allocations: 139 kB / 3.84 GB, free: 25.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009032/12.7, allocations: 4.727 MB / 3.845 GB, free: 23.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.459e-05/12.7, allocations: 58.08 kB / 3.845 GB, free: 23.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/12.7, allocations: 0 / 3.845 GB, free: 23.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007051/12.71, allocations: 3.964 MB / 3.849 GB, free: 21.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/12.73, allocations: 6.775 MB / 3.855 GB, free: 18.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.384e-05/12.73, allocations: 7.938 kB / 3.855 GB, free: 18.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00213/12.73, allocations: 246.1 kB / 3.856 GB, free: 18.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001057/12.73, allocations: 174 kB / 3.856 GB, free: 18.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003278/12.73, allocations: 46.2 kB / 3.856 GB, free: 18.14 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/12.73, allocations: 1.282 MB / 3.857 GB, free: 16.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/12.73, allocations: 0 / 3.857 GB, free: 16.99 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008356/12.74, allocations: 4.226 MB / 3.861 GB, free: 14.89 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001672/12.74, allocations: 0.5529 MB / 3.862 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006282/12.74, allocations: 39.52 kB / 3.862 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0023/12.74, allocations: 128.3 kB / 3.862 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000416/12.74, allocations: 85.67 kB / 3.862 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001746/12.74, allocations: 47.27 kB / 3.862 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002165/12.75, allocations: 0.9753 MB / 3.863 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.32e-07/12.75, allocations: 4 kB / 3.863 GB, free: 13.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01018/12.76, allocations: 2.208 MB / 3.865 GB, free: 11.12 MB / 0.5261 GB 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: 36 ($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,valveOpening1.nextEventScaled) * Number of discrete states: 6 (valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (119): * Single equations (assignments): 101 * 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.02206/12.78, allocations: 7.06 MB / 3.872 GB, free: 4.914 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008924/12.79, allocations: 3.051 MB / 3.875 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/12.79, allocations: 0 / 3.875 GB, free: 2.082 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003566/12.79, allocations: 1.422 MB / 3.877 GB, free: 0.7539 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006139/12.8, allocations: 0.6381 MB / 3.877 GB, free: 292 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01742/12.81, allocations: 4.934 MB / 3.882 GB, free: 12.02 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002152/12.82, allocations: 1.722 MB / 3.884 GB, free: 10.62 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.006283/12.82, allocations: 1.736 MB / 3.885 GB, free: 9.582 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00207/12.83, allocations: 0.825 MB / 3.886 GB, free: 8.824 MB / 0.5418 GB Notification: Performance of SimCode: time 1.393e-06/12.83, allocations: 0 / 3.886 GB, free: 8.824 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.668/13.49, allocations: 89.48 MB / 3.974 GB, free: 61.47 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/13.49, allocations: 221.7 kB / 3.974 GB, free: 61.25 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.457/20.95, allocations: 0 / 3.974 GB, free: 61.25 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2_res.mat does not exist to compare? outputFormat=mat