Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.579/2.579, allocations: 270 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.091e-05/4.097e-05, allocations: 7.938 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1495/0.1496, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.746/8.895, allocations: 2.777 GB / 3.178 GB, free: 69.73 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003863/8.896, allocations: 88.33 kB / 3.178 GB, free: 69.68 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.495/10.39, allocations: 239.4 MB / 3.411 GB, free: 48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.156e-06/10.39, allocations: 0 / 3.411 GB, free: 48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.654e-05/10.39, allocations: 15.92 kB / 3.411 GB, free: 47.98 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.008155/10.4, allocations: 1.278 MB / 3.413 GB, free: 46.66 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/10.4, allocations: 8.031 kB / 3.413 GB, free: 46.65 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002105/10.4, allocations: 74.53 kB / 3.413 GB, free: 46.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00498/10.4, allocations: 252 kB / 3.413 GB, free: 46.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/10.41, allocations: 424.1 kB / 3.413 GB, free: 45.87 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.699e-05/10.41, allocations: 32.78 kB / 3.413 GB, free: 45.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001204/10.41, allocations: 32 kB / 3.413 GB, free: 45.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0032/10.41, allocations: 0.6187 MB / 3.414 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.883e-05/10.41, allocations: 4 kB / 3.414 GB, free: 45.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/10.41, allocations: 12 kB / 3.414 GB, free: 45.12 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/10.41, allocations: 8 kB / 3.414 GB, free: 45.12 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003177/10.41, allocations: 0.5284 MB / 3.415 GB, free: 44.59 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.006322/10.42, allocations: 2.723 MB / 3.417 GB, free: 41.62 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003586/10.42, allocations: 0.4986 MB / 3.418 GB, free: 41.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/10.42, allocations: 148.8 kB / 3.418 GB, free: 40.97 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1136/10.54, allocations: 24.15 MB / 3.441 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.544e-05/10.54, allocations: 34.56 kB / 3.441 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 5.21e-06/10.54, allocations: 0 / 3.441 GB, free: 13.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.004908/10.54, allocations: 0.6657 MB / 3.442 GB, free: 13.22 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.308e-05/10.54, allocations: 110.8 kB / 3.442 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007957/10.54, allocations: 335.1 kB / 3.443 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.374e-05/10.54, allocations: 37.64 kB / 3.443 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/10.54, allocations: 228.1 kB / 3.443 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/10.54, allocations: 94.64 kB / 3.443 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.521e-05/10.54, allocations: 4 kB / 3.443 GB, free: 12.38 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001263/10.54, allocations: 346.8 kB / 3.443 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004441/10.54, allocations: 112 kB / 3.443 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005467/10.55, allocations: 227.5 kB / 3.444 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005155/10.55, allocations: 145.9 kB / 3.444 GB, free: 11.51 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-06/10.55, allocations: 4 kB / 3.444 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001528/10.55, allocations: 388.8 kB / 3.444 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00041/10.55, allocations: 1.406 MB / 3.445 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/10.55, allocations: 4 kB / 3.445 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.792e-05/10.55, allocations: 8 kB / 3.445 GB, free: 9.594 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/10.55, allocations: 103.9 kB / 3.446 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/10.55, allocations: 7.938 kB / 3.446 GB, free: 9.484 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/10.55, allocations: 83.5 kB / 3.446 GB, free: 9.402 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.544e-05/10.55, allocations: 23.98 kB / 3.446 GB, free: 9.379 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/10.55, allocations: 4 kB / 3.446 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001313/10.55, allocations: 319.6 kB / 3.446 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/10.55, allocations: 4 kB / 3.446 GB, free: 9.059 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/10.55, allocations: 4 kB / 3.446 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/10.55, allocations: 112.3 kB / 3.446 GB, free: 8.945 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.501e-05/10.55, allocations: 7.984 kB / 3.446 GB, free: 8.938 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009875/10.55, allocations: 75.55 kB / 3.446 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.543e-05/10.55, allocations: 20 kB / 3.446 GB, free: 8.844 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 44 * 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.000214/10.55, allocations: 128.8 kB / 3.446 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000168/10.55, allocations: 43.53 kB / 3.446 GB, free: 8.668 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004106/10.56, allocations: 1.908 MB / 3.448 GB, free: 6.746 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.669e-05/10.56, allocations: 31.94 kB / 3.448 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/10.56, allocations: 4 kB / 3.448 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.167e-05/10.56, allocations: 0 / 3.448 GB, free: 6.711 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/10.56, allocations: 1.047 MB / 3.449 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/10.56, allocations: 0 / 3.449 GB, free: 5.613 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000949/10.56, allocations: 91.81 kB / 3.449 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.206e-05/10.56, allocations: 0 / 3.449 GB, free: 5.523 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.937e-05/10.56, allocations: 15.98 kB / 3.449 GB, free: 5.508 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.576e-06/10.56, allocations: 4 kB / 3.449 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/10.56, allocations: 0 / 3.449 GB, free: 5.504 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/10.56, allocations: 1.042 MB / 3.45 GB, free: 4.449 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005653/10.56, allocations: 271.2 kB / 3.451 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001636/10.57, allocations: 8 kB / 3.451 GB, free: 4.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009422/10.57, allocations: 39.97 kB / 3.451 GB, free: 4.117 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/10.57, allocations: 35.89 kB / 3.451 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.98e-05/10.57, allocations: 15.98 kB / 3.451 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009143/10.57, allocations: 361.6 kB / 3.451 GB, free: 3.711 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.092e-06/10.57, allocations: 4 kB / 3.451 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007957/10.58, allocations: 1.178 MB / 3.452 GB, free: 2.527 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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 31 * 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.4245/11, allocations: 2.908 MB / 3.455 GB, free: 82.49 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002034/11, allocations: 0.7243 MB / 3.456 GB, free: 82.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/11, allocations: 0.7188 kB / 3.456 GB, free: 82.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008285/11, allocations: 490 kB / 3.456 GB, free: 82.47 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00221/11.01, allocations: 225.9 kB / 3.456 GB, free: 82.47 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007196/11.01, allocations: 1.701 MB / 3.458 GB, free: 82.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006357/11.01, allocations: 1.006 MB / 3.459 GB, free: 81.46 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001759/11.01, allocations: 0.5647 MB / 3.46 GB, free: 81.44 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005591/11.02, allocations: 283.5 kB / 3.46 GB, free: 81.43 MB / 0.5261 GB Notification: Performance of SimCode: time 1.442e-06/11.02, allocations: 0.8125 kB / 3.46 GB, free: 81.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1156/11.13, allocations: 43.7 MB / 3.503 GB, free: 80.5 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001963/11.13, allocations: 224 kB / 3.503 GB, free: 80.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.701/15.83, allocations: 0 / 3.503 GB, free: 80.27 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat