Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.447/2.447, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.778e-05/3.785e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1359, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.083/9.219, allocations: 2.83 GB / 3.23 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/9.219, allocations: 80.39 kB / 3.231 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.282/12.5, allocations: 0.583 GB / 3.813 GB, free: 32.71 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.224e-06/12.5, allocations: 0 / 3.813 GB, free: 32.71 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002558/12.5, allocations: 51.06 kB / 3.814 GB, free: 32.66 MB / 0.5261 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.01648/12.52, allocations: 2.849 MB / 3.816 GB, free: 29.92 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/12.52, allocations: 12.03 kB / 3.816 GB, free: 29.91 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008614/12.52, allocations: 183.5 kB / 3.817 GB, free: 29.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007283/12.53, allocations: 0.5525 MB / 3.817 GB, free: 29.18 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005985/12.53, allocations: 1.422 MB / 3.818 GB, free: 27.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002419/12.53, allocations: 121.1 kB / 3.819 GB, free: 27.62 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007733/12.53, allocations: 122.1 kB / 3.819 GB, free: 27.51 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007856/12.54, allocations: 2.265 MB / 3.821 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.549e-05/12.54, allocations: 11.88 kB / 3.821 GB, free: 25.11 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003386/12.54, allocations: 62.75 kB / 3.821 GB, free: 25.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002079/12.54, allocations: 90.27 kB / 3.821 GB, free: 24.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007013/12.55, allocations: 1.952 MB / 3.823 GB, free: 23 MB / 0.5261 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.0205/12.57, allocations: 9.796 MB / 3.833 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00457/12.57, allocations: 1.332 MB / 3.834 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00154/12.58, allocations: 0.624 MB / 3.834 GB, free: 10.5 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5087/13.08, allocations: 24.52 MB / 3.858 GB, free: 55.72 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005218/13.09, allocations: 1.051 MB / 3.859 GB, free: 55.64 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=96): time 6.021e-06/13.09, allocations: 2.562 kB / 3.859 GB, free: 55.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=104): time 0.02086/13.11, allocations: 4.464 MB / 3.864 GB, free: 55.12 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/13.11, allocations: 278.4 kB / 3.864 GB, free: 54.8 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/13.11, allocations: 1.021 MB / 3.865 GB, free: 54.64 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003853/13.11, allocations: 47.38 kB / 3.865 GB, free: 54.61 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008235/13.12, allocations: 0.6398 MB / 3.866 GB, free: 54.41 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006933/13.12, allocations: 357.9 kB / 3.866 GB, free: 54.23 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001606/13.12, allocations: 26.09 kB / 3.866 GB, free: 54.23 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001392/13.12, allocations: 355.4 kB / 3.866 GB, free: 53.93 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001882/13.12, allocations: 0.6211 MB / 3.867 GB, free: 53.93 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002183/13.12, allocations: 0.9046 MB / 3.868 GB, free: 53.62 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002148/13.12, allocations: 0.7616 MB / 3.869 GB, free: 53.58 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/13.12, allocations: 5.156 kB / 3.869 GB, free: 53.58 MB / 0.5417 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00611/13.13, allocations: 1.861 MB / 3.87 GB, free: 53.41 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006374/13.13, allocations: 2.761 MB / 3.873 GB, free: 50.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.463e-05/13.13, allocations: 8.578 kB / 3.873 GB, free: 50.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007834/13.13, allocations: 133.1 kB / 3.873 GB, free: 50.55 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002916/13.13, allocations: 316 kB / 3.874 GB, free: 50.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/13.13, allocations: 1.25 MB / 3.875 GB, free: 49.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/13.14, allocations: 161.1 kB / 3.875 GB, free: 49.51 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003158/13.14, allocations: 64.52 kB / 3.875 GB, free: 49.51 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/13.14, allocations: 4.438 kB / 3.875 GB, free: 49.51 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005177/13.14, allocations: 1.686 MB / 3.877 GB, free: 49.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.831e-05/13.14, allocations: 11 kB / 3.877 GB, free: 49.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000684/13.14, allocations: 132.2 kB / 3.877 GB, free: 49.42 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002762/13.15, allocations: 311.1 kB / 3.877 GB, free: 49.42 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/13.15, allocations: 1.259 MB / 3.878 GB, free: 48.38 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/13.15, allocations: 152.5 kB / 3.878 GB, free: 48.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003597/13.15, allocations: 65.94 kB / 3.879 GB, free: 48.38 MB / 0.5417 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.0005976/13.15, allocations: 218.2 kB / 3.879 GB, free: 48.24 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004813/13.15, allocations: 143.1 kB / 3.879 GB, free: 48.17 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01086/13.16, allocations: 4.734 MB / 3.884 GB, free: 47.71 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.871e-05/13.16, allocations: 55.66 kB / 3.884 GB, free: 47.71 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.143e-05/13.16, allocations: 1.062 kB / 3.884 GB, free: 47.71 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008117/13.17, allocations: 3.967 MB / 3.887 GB, free: 47.25 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/13.18, allocations: 6.765 MB / 3.894 GB, free: 46.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.524e-05/13.18, allocations: 0 / 3.894 GB, free: 46.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/13.19, allocations: 250.4 kB / 3.894 GB, free: 46.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/13.19, allocations: 185.4 kB / 3.894 GB, free: 46.71 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000362/13.19, allocations: 43.52 kB / 3.895 GB, free: 46.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009464/13.19, allocations: 1.283 MB / 3.896 GB, free: 45.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/13.19, allocations: 0 / 3.896 GB, free: 45.67 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00885/13.2, allocations: 4.222 MB / 3.9 GB, free: 45.24 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001799/13.2, allocations: 0.563 MB / 3.9 GB, free: 45.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007369/13.2, allocations: 31.53 kB / 3.9 GB, free: 45.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002196/13.2, allocations: 128.8 kB / 3.901 GB, free: 45.02 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003265/13.2, allocations: 95.12 kB / 3.901 GB, free: 45.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/13.2, allocations: 45.78 kB / 3.901 GB, free: 45.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.002121/13.21, allocations: 0.9769 MB / 3.902 GB, free: 44.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.402e-06/13.21, allocations: 0 / 3.902 GB, free: 44.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01091/13.22, allocations: 2.218 MB / 3.904 GB, free: 44.88 MB / 0.5417 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.0231/13.24, allocations: 7.07 MB / 3.911 GB, free: 43.77 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01028/13.25, allocations: 3.052 MB / 3.914 GB, free: 43.54 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/13.25, allocations: 0 / 3.914 GB, free: 43.54 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0046/13.26, allocations: 1.421 MB / 3.915 GB, free: 43.47 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008886/13.26, allocations: 0.64 MB / 3.916 GB, free: 43.45 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02149/13.29, allocations: 4.912 MB / 3.921 GB, free: 42.54 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/13.29, allocations: 1.721 MB / 3.922 GB, free: 41.81 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.005905/13.29, allocations: 1.735 MB / 3.924 GB, free: 41.77 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00182/13.3, allocations: 0.8282 MB / 3.925 GB, free: 41.77 MB / 0.5417 GB Notification: Performance of SimCode: time 1.343e-06/13.3, allocations: 0 / 3.925 GB, free: 41.77 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2145/13.51, allocations: 89.52 MB / 4.012 GB, free: 28.84 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002418/13.51, allocations: 229.5 kB / 4.012 GB, free: 28.57 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.463/20.97, allocations: 0 / 4.012 GB, free: 28.57 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes2_res.mat does not exist to compare? outputFormat=mat