Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.469/2.469, allocations: 270 MB / 283.6 MB, free: 1.898 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.458e-05/3.468e-05, allocations: 0 / 348.5 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4082, allocations: 61.87 MB / 410.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.95/9.358, allocations: 2.776 GB / 3.177 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/9.359, allocations: 82.7 kB / 3.177 GB, free: 126.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.284/10.64, allocations: 236.3 MB / 3.408 GB, free: 80.89 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.024e-06/10.64, allocations: 0 / 3.408 GB, free: 80.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.387e-05/10.64, allocations: 11.88 kB / 3.408 GB, free: 80.89 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.006117/10.65, allocations: 1.275 MB / 3.409 GB, free: 80.07 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/10.65, allocations: 11.22 kB / 3.409 GB, free: 80.07 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001943/10.65, allocations: 69.44 kB / 3.409 GB, free: 80.01 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/10.65, allocations: 246.5 kB / 3.409 GB, free: 79.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/10.66, allocations: 420.7 kB / 3.41 GB, free: 79.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.976e-05/10.66, allocations: 30.78 kB / 3.41 GB, free: 79.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00011/10.66, allocations: 26.31 kB / 3.41 GB, free: 79.64 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003001/10.66, allocations: 0.5995 MB / 3.41 GB, free: 79.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/10.66, allocations: 0 / 3.41 GB, free: 79.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.837e-05/10.66, allocations: 15.12 kB / 3.41 GB, free: 79.36 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.648e-05/10.66, allocations: 15.41 kB / 3.41 GB, free: 79.35 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002693/10.66, allocations: 0.5115 MB / 3.411 GB, free: 79.21 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.006605/10.67, allocations: 2.624 MB / 3.413 GB, free: 77.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/10.67, allocations: 428.5 kB / 3.414 GB, free: 76.92 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004778/10.67, allocations: 139.1 kB / 3.414 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08409/10.76, allocations: 24.16 MB / 3.437 GB, free: 60.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.685e-05/10.76, allocations: 34.56 kB / 3.438 GB, free: 60.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=25): time 3.787e-06/10.76, allocations: 0 / 3.438 GB, free: 60.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=25): time 0.002988/10.76, allocations: 0.6471 MB / 3.438 GB, free: 59.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.874e-05/10.76, allocations: 106.8 kB / 3.438 GB, free: 59.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005392/10.76, allocations: 332.5 kB / 3.439 GB, free: 59.37 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.857e-05/10.76, allocations: 29.7 kB / 3.439 GB, free: 59.33 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001542/10.76, allocations: 214.7 kB / 3.439 GB, free: 59.13 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.082e-05/10.76, allocations: 85.91 kB / 3.439 GB, free: 59.06 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.376e-05/10.76, allocations: 4 kB / 3.439 GB, free: 59.05 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001024/10.76, allocations: 352.9 kB / 3.439 GB, free: 58.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002896/10.76, allocations: 106.7 kB / 3.439 GB, free: 58.61 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003542/10.76, allocations: 206.2 kB / 3.44 GB, free: 58.38 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003348/10.76, allocations: 125.7 kB / 3.44 GB, free: 58.27 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/10.76, allocations: 3.938 kB / 3.44 GB, free: 58.27 MB / 0.5261 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0009787/10.76, allocations: 384.6 kB / 3.44 GB, free: 57.92 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002589/10.76, allocations: 1.051 MB / 3.441 GB, free: 56.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/10.76, allocations: 8 kB / 3.441 GB, free: 56.78 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/10.76, allocations: 4 kB / 3.441 GB, free: 56.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000867/10.76, allocations: 108.5 kB / 3.441 GB, free: 56.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.632e-05/10.76, allocations: 7.938 kB / 3.441 GB, free: 56.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007973/10.76, allocations: 82.19 kB / 3.441 GB, free: 56.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/10.76, allocations: 19.19 kB / 3.441 GB, free: 56.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.397e-06/10.76, allocations: 4 kB / 3.441 GB, free: 56.59 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008027/10.77, allocations: 299.5 kB / 3.442 GB, free: 56.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/10.77, allocations: 0 / 3.442 GB, free: 56.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/10.77, allocations: 8 kB / 3.442 GB, free: 56.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007514/10.77, allocations: 105 kB / 3.442 GB, free: 56.24 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/10.77, allocations: 11.89 kB / 3.442 GB, free: 56.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007113/10.77, allocations: 70.44 kB / 3.442 GB, free: 56.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.872e-05/10.77, allocations: 19.42 kB / 3.442 GB, free: 56.15 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.0001623/10.77, allocations: 124.9 kB / 3.442 GB, free: 56.02 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/10.77, allocations: 39.53 kB / 3.442 GB, free: 55.98 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002742/10.77, allocations: 1.913 MB / 3.444 GB, free: 54.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-05/10.77, allocations: 27.02 kB / 3.444 GB, free: 54.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/10.77, allocations: 11.89 kB / 3.444 GB, free: 54.24 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/10.77, allocations: 3.516 kB / 3.444 GB, free: 54.24 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001579/10.77, allocations: 1.04 MB / 3.445 GB, free: 53.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.964e-06/10.77, allocations: 0 / 3.445 GB, free: 53.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007031/10.77, allocations: 86.56 kB / 3.445 GB, free: 53.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/10.77, allocations: 8 kB / 3.445 GB, free: 53.24 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.024e-05/10.77, allocations: 12 kB / 3.445 GB, free: 53.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/10.77, allocations: 0 / 3.445 GB, free: 53.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/10.77, allocations: 0 / 3.445 GB, free: 53.23 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001603/10.77, allocations: 1.034 MB / 3.446 GB, free: 52.26 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004051/10.77, allocations: 267.5 kB / 3.446 GB, free: 52.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/10.77, allocations: 8 kB / 3.446 GB, free: 52.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007286/10.78, allocations: 43.59 kB / 3.446 GB, free: 51.97 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001358/10.78, allocations: 31 kB / 3.446 GB, free: 51.96 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-05/10.78, allocations: 19.89 kB / 3.446 GB, free: 51.94 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006363/10.78, allocations: 359.5 kB / 3.447 GB, free: 51.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.41e-07/10.78, allocations: 0 / 3.447 GB, free: 51.61 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00614/10.78, allocations: 1.199 MB / 3.448 GB, free: 50.44 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.01232/10.79, allocations: 2.961 MB / 3.451 GB, free: 47.8 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00169/10.8, allocations: 0.7029 MB / 3.451 GB, free: 47.14 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/10.8, allocations: 1.375 kB / 3.451 GB, free: 47.14 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007572/10.8, allocations: 496.4 kB / 3.452 GB, free: 46.69 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002218/10.8, allocations: 212.2 kB / 3.452 GB, free: 46.54 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006573/10.81, allocations: 1.712 MB / 3.454 GB, free: 44.95 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/10.81, allocations: 0.9917 MB / 3.455 GB, free: 44.04 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001441/10.81, allocations: 0.559 MB / 3.455 GB, free: 43.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000475/10.81, allocations: 270.2 kB / 3.455 GB, free: 43.46 MB / 0.5261 GB Notification: Performance of SimCode: time 2.374e-06/10.81, allocations: 0 / 3.455 GB, free: 43.46 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1067/10.92, allocations: 43.89 MB / 3.498 GB, free: 5.879 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002522/10.92, allocations: 204.9 kB / 3.499 GB, free: 5.656 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.876/15.79, allocations: 0 / 3.499 GB, free: 5.656 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat