Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.545/2.545, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.316e-05/4.32e-05, allocations: 4 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1454, allocations: 61.88 MB / 410.4 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.358/1.504, allocations: 407.6 MB / 0.7988 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/1.504, allocations: 81.58 kB / 0.7989 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.091/2.595, allocations: 196.2 MB / 0.9905 GB, free: 39.17 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.194e-06/2.595, allocations: 0 / 0.9905 GB, free: 39.17 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.624e-05/2.595, allocations: 27.98 kB / 0.9905 GB, free: 39.14 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.004639/2.599, allocations: 1.354 MB / 0.9918 GB, free: 37.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/2.599, allocations: 11.97 kB / 0.9918 GB, free: 37.73 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003145/2.6, allocations: 126.4 kB / 0.992 GB, free: 37.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006731/2.6, allocations: 114.8 kB / 0.9921 GB, free: 37.49 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/2.603, allocations: 0.7843 MB / 0.9928 GB, free: 36.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/2.603, allocations: 124.6 kB / 0.993 GB, free: 36.53 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/2.603, allocations: 71.97 kB / 0.993 GB, free: 36.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002804/2.606, allocations: 1.173 MB / 0.9942 GB, free: 35.24 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.437e-05/2.606, allocations: 3.953 kB / 0.9942 GB, free: 35.23 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001555/2.606, allocations: 31.98 kB / 0.9942 GB, free: 35.2 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001528/2.607, allocations: 77.94 kB / 0.9943 GB, free: 35.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002749/2.609, allocations: 1.152 MB / 0.9954 GB, free: 33.97 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0124/2.622, allocations: 4.724 MB / 1 GB, free: 29.01 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001806/2.624, allocations: 0.6595 MB / 1.001 GB, free: 28.34 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009079/2.625, allocations: 418.3 kB / 1.001 GB, free: 27.93 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004929/2.63, allocations: 2.5 MB / 1.004 GB, free: 25.22 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/2.63, allocations: 39 kB / 1.004 GB, free: 25.17 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=52): time 3.737e-06/2.63, allocations: 4 kB / 1.004 GB, free: 25.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57): time 0.007556/2.637, allocations: 2.357 MB / 1.006 GB, free: 22.72 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.65e-05/2.637, allocations: 162.8 kB / 1.006 GB, free: 22.53 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/2.639, allocations: 0.8289 MB / 1.007 GB, free: 21.69 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002174/2.639, allocations: 37.7 kB / 1.007 GB, free: 21.65 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003713/2.64, allocations: 467.1 kB / 1.007 GB, free: 21.18 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/2.64, allocations: 201.2 kB / 1.007 GB, free: 20.98 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.866e-05/2.64, allocations: 16 kB / 1.007 GB, free: 20.97 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.435e-05/2.64, allocations: 341.9 kB / 1.008 GB, free: 20.63 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/2.641, allocations: 437.8 kB / 1.008 GB, free: 20.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/2.642, allocations: 0.6602 MB / 1.009 GB, free: 19.45 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001189/2.644, allocations: 0.4978 MB / 1.009 GB, free: 18.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/2.644, allocations: 8 kB / 1.009 GB, free: 18.94 MB / 0.5261 GB Notification: Performance of matching and sorting (n=112) (initialization): time 0.003677/2.647, allocations: 1.463 MB / 1.011 GB, free: 17.44 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005352/2.648, allocations: 2.451 MB / 1.013 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.697e-05/2.648, allocations: 4 kB / 1.013 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002653/2.651, allocations: 0.5021 MB / 1.014 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001568/2.652, allocations: 187.7 kB / 1.014 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003137/2.655, allocations: 2.927 MB / 1.017 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001848/2.657, allocations: 63.95 kB / 1.017 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/2.657, allocations: 43.98 kB / 1.017 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/2.657, allocations: 4 kB / 1.017 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003601/2.661, allocations: 1.326 MB / 1.018 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.412e-05/2.661, allocations: 15.88 kB / 1.018 GB, free: 9.512 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001616/2.663, allocations: 398.4 kB / 1.019 GB, free: 9.113 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001564/2.664, allocations: 191.7 kB / 1.019 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002695/2.667, allocations: 2.814 MB / 1.021 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/2.669, allocations: 47.97 kB / 1.022 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/2.669, allocations: 48.08 kB / 1.022 GB, free: 5.832 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004011/2.669, allocations: 160.7 kB / 1.022 GB, free: 5.668 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/2.67, allocations: 98.78 kB / 1.022 GB, free: 5.57 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003562/2.673, allocations: 1.383 MB / 1.023 GB, free: 4.141 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-05/2.673, allocations: 4 kB / 1.023 GB, free: 4.137 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/2.673, allocations: 4 kB / 1.023 GB, free: 4.133 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/2.673, allocations: 11.94 kB / 1.023 GB, free: 4.121 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005332/2.679, allocations: 2.33 MB / 1.025 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/2.679, allocations: 0 / 1.025 GB, free: 1.699 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008745/2.68, allocations: 95.94 kB / 1.026 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002497/2.682, allocations: 0.4942 MB / 1.026 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/2.682, allocations: 23.98 kB / 1.026 GB, free: 1.078 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3795/3.062, allocations: 2.899 MB / 1.029 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/3.062, allocations: 1.156 kB / 1.029 GB, free: 106.5 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004912/3.067, allocations: 1.764 MB / 1.031 GB, free: 106.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001002/3.068, allocations: 311.1 kB / 1.031 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002725/3.068, allocations: 12.77 kB / 1.031 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001284/3.069, allocations: 46.98 kB / 1.031 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/3.07, allocations: 58.5 kB / 1.031 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/3.07, allocations: 32.67 kB / 1.031 GB, free: 106.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001487/3.071, allocations: 0.6507 MB / 1.032 GB, free: 106 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.11e-07/3.071, allocations: 0 / 1.032 GB, free: 106 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004165/3.076, allocations: 0.8848 MB / 1.033 GB, free: 106 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.007776/3.083, allocations: 3.202 MB / 1.036 GB, free: 105 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00712/3.091, allocations: 1.871 MB / 1.037 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.117e-06/3.091, allocations: 4.781 kB / 1.037 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002119/3.093, allocations: 0.5627 MB / 1.038 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003763/3.097, allocations: 388.9 kB / 1.038 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008285/3.105, allocations: 1.931 MB / 1.04 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008882/3.106, allocations: 1.082 MB / 1.041 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003244/3.109, allocations: 494.5 kB / 1.042 GB, free: 103.6 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008335/3.11, allocations: 341.9 kB / 1.042 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of SimCode: time 1.563e-06/3.11, allocations: 0 / 1.042 GB, free: 103.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1099/3.22, allocations: 39.41 MB / 1.081 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003384/3.22, allocations: 236.2 kB / 1.081 GB, free: 102 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.82/8.041, allocations: 0 / 1.081 GB, free: 102 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat does not exist to compare? outputFormat=mat