Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.494/2.494, allocations: 270 MB / 283.6 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.469e-05/5.474e-05, allocations: 8 kB / 348.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5494/0.5495, allocations: 61.87 MB / 410.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.053/9.602, allocations: 2.776 GB / 3.177 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/9.603, allocations: 86.5 kB / 3.177 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.371/10.97, allocations: 236.3 MB / 3.408 GB, free: 79.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.084e-06/10.97, allocations: 0 / 3.408 GB, free: 79.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.876e-05/10.97, allocations: 11.22 kB / 3.408 GB, free: 79.7 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.005891/10.98, allocations: 1.276 MB / 3.409 GB, free: 78.87 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/10.98, allocations: 11.38 kB / 3.409 GB, free: 78.87 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/10.98, allocations: 68.11 kB / 3.409 GB, free: 78.81 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/10.98, allocations: 246.1 kB / 3.409 GB, free: 78.78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001068/10.98, allocations: 416.1 kB / 3.41 GB, free: 78.47 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/10.98, allocations: 32.03 kB / 3.41 GB, free: 78.46 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.102e-05/10.98, allocations: 30.34 kB / 3.41 GB, free: 78.45 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/10.99, allocations: 0.5957 MB / 3.41 GB, free: 78.18 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.177e-05/10.99, allocations: 7.906 kB / 3.41 GB, free: 78.17 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.711e-05/10.99, allocations: 15.53 kB / 3.41 GB, free: 78.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/10.99, allocations: 7 kB / 3.41 GB, free: 78.16 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001814/10.99, allocations: 0.5132 MB / 3.411 GB, free: 78.02 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.004566/10.99, allocations: 2.627 MB / 3.413 GB, free: 75.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/10.99, allocations: 421.9 kB / 3.414 GB, free: 75.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003689/11, allocations: 143.2 kB / 3.414 GB, free: 75.66 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07799/11.07, allocations: 24.15 MB / 3.437 GB, free: 59.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.993e-05/11.07, allocations: 38.56 kB / 3.438 GB, free: 59.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 3.035e-06/11.07, allocations: 0 / 3.438 GB, free: 59.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.003086/11.08, allocations: 0.6449 MB / 3.438 GB, free: 58.92 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/11.08, allocations: 114.3 kB / 3.438 GB, free: 58.79 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005403/11.08, allocations: 333.7 kB / 3.439 GB, free: 58.47 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.992e-05/11.08, allocations: 29.7 kB / 3.439 GB, free: 58.44 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001687/11.08, allocations: 214.8 kB / 3.439 GB, free: 58.24 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/11.08, allocations: 86.2 kB / 3.439 GB, free: 58.16 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/11.08, allocations: 7.938 kB / 3.439 GB, free: 58.16 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001068/11.08, allocations: 346 kB / 3.439 GB, free: 57.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003068/11.08, allocations: 107.7 kB / 3.439 GB, free: 57.72 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003553/11.08, allocations: 203.6 kB / 3.44 GB, free: 57.49 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/11.08, allocations: 131.3 kB / 3.44 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/11.08, allocations: 0 / 3.44 GB, free: 57.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001086/11.08, allocations: 380.4 kB / 3.44 GB, free: 57.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000276/11.08, allocations: 1.049 MB / 3.441 GB, free: 55.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/11.08, allocations: 0 / 3.441 GB, free: 55.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/11.08, allocations: 8 kB / 3.441 GB, free: 55.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008842/11.08, allocations: 109.1 kB / 3.441 GB, free: 55.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/11.08, allocations: 7.938 kB / 3.441 GB, free: 55.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008767/11.08, allocations: 80.48 kB / 3.441 GB, free: 55.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.905e-05/11.08, allocations: 19.89 kB / 3.441 GB, free: 55.72 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/11.08, allocations: 7.938 kB / 3.441 GB, free: 55.71 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008902/11.08, allocations: 300.2 kB / 3.442 GB, free: 55.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/11.08, allocations: 4 kB / 3.442 GB, free: 55.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/11.08, allocations: 4 kB / 3.442 GB, free: 55.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008019/11.08, allocations: 111 kB / 3.442 GB, free: 55.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/11.08, allocations: 8.203 kB / 3.442 GB, free: 55.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007495/11.08, allocations: 70.09 kB / 3.442 GB, free: 55.28 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/11.08, allocations: 19.83 kB / 3.442 GB, free: 55.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 4 (V1.state_b.phase,V1.state_a.phase,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 38 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002063/11.09, allocations: 132.4 kB / 3.442 GB, free: 55.13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/11.09, allocations: 39.53 kB / 3.442 GB, free: 55.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002876/11.09, allocations: 1.916 MB / 3.444 GB, free: 53.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.807e-05/11.09, allocations: 34.62 kB / 3.444 GB, free: 53.35 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.096e-05/11.09, allocations: 3.953 kB / 3.444 GB, free: 53.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/11.09, allocations: 3.422 kB / 3.444 GB, free: 53.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/11.09, allocations: 1.035 MB / 3.445 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/11.09, allocations: 0 / 3.445 GB, free: 52.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007069/11.09, allocations: 93.66 kB / 3.445 GB, free: 52.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/11.09, allocations: 4 kB / 3.445 GB, free: 52.35 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.955e-05/11.09, allocations: 5.406 kB / 3.445 GB, free: 52.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/11.09, allocations: 4 kB / 3.445 GB, free: 52.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.325e-06/11.09, allocations: 0 / 3.445 GB, free: 52.34 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001614/11.09, allocations: 1.032 MB / 3.446 GB, free: 51.38 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004829/11.09, allocations: 261.6 kB / 3.446 GB, free: 51.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000117/11.09, allocations: 11.42 kB / 3.446 GB, free: 51.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006786/11.09, allocations: 39.55 kB / 3.446 GB, free: 51.09 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001215/11.09, allocations: 38.56 kB / 3.446 GB, free: 51.07 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/11.09, allocations: 19.84 kB / 3.446 GB, free: 51.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005904/11.09, allocations: 360 kB / 3.447 GB, free: 50.72 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.11e-07/11.09, allocations: 0 / 3.447 GB, free: 50.72 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005826/11.1, allocations: 1.194 MB / 3.448 GB, free: 49.55 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01158/11.11, allocations: 2.966 MB / 3.451 GB, free: 46.91 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001596/11.11, allocations: 0.6976 MB / 3.451 GB, free: 46.25 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/11.11, allocations: 1.375 kB / 3.451 GB, free: 46.25 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000694/11.11, allocations: 492 kB / 3.452 GB, free: 45.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002119/11.12, allocations: 227.1 kB / 3.452 GB, free: 45.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006213/11.12, allocations: 1.699 MB / 3.454 GB, free: 44.07 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004924/11.12, allocations: 0.9988 MB / 3.455 GB, free: 43.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001436/11.12, allocations: 0.5582 MB / 3.455 GB, free: 42.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004531/11.13, allocations: 266 kB / 3.456 GB, free: 42.57 MB / 0.5261 GB Notification: Performance of SimCode: time 1.322e-06/11.13, allocations: 0 / 3.456 GB, free: 42.57 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1055/11.23, allocations: 43.88 MB / 3.498 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002733/11.23, allocations: 216.5 kB / 3.499 GB, free: 4.188 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.835/16.07, allocations: 0 / 3.499 GB, free: 4.188 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat