Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Valves_TestCheckValve",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.576/2.576, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.619e-05/2.615e-05, allocations: 4 kB / 299.6 MB, free: 6.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4004, allocations: 54.86 MB / 354.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.293/8.693, allocations: 2.606 GB / 2.952 GB, free: 106.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003147/8.694, allocations: 87.98 kB / 2.952 GB, free: 106.9 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.289/9.982, allocations: 229.7 MB / 3.176 GB, free: 82.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.603e-06/9.982, allocations: 0 / 3.176 GB, free: 82.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 3.952e-05/9.983, allocations: 7.531 kB / 3.176 GB, free: 82.7 MB / 490.7 MB 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.005942/9.988, allocations: 1.272 MB / 3.177 GB, free: 82.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/9.989, allocations: 10.31 kB / 3.177 GB, free: 82.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003041/9.992, allocations: 250.2 kB / 3.178 GB, free: 82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001129/9.993, allocations: 422.4 kB / 3.178 GB, free: 81.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/9.993, allocations: 22.27 kB / 3.178 GB, free: 81.76 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.911e-05/9.993, allocations: 17.19 kB / 3.178 GB, free: 81.76 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000909/9.994, allocations: 337.3 kB / 3.178 GB, free: 81.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008625/9.995, allocations: 404.8 kB / 3.179 GB, free: 81.62 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/9.995, allocations: 0 / 3.179 GB, free: 81.62 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.222e-05/9.995, allocations: 7.406 kB / 3.179 GB, free: 81.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/9.995, allocations: 7.812 kB / 3.179 GB, free: 81.62 MB / 490.7 MB 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.008698/10, allocations: 3.907 MB / 3.183 GB, free: 78.98 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006445/10, allocations: 228.6 kB / 3.183 GB, free: 78.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002939/10, allocations: 131.5 kB / 3.183 GB, free: 78.95 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1973/10.2, allocations: 50.23 MB / 3.232 GB, free: 51.38 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.897e-05/10.2, allocations: 45.62 kB / 3.232 GB, free: 51.32 MB / 490.7 MB Notification: Performance of pre-optimization done (n=24): time 3.768e-06/10.2, allocations: 0 / 3.232 GB, free: 51.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=24): time 0.003412/10.21, allocations: 0.5394 MB / 3.233 GB, free: 51.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/10.21, allocations: 113 kB / 3.233 GB, free: 51.14 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004913/10.21, allocations: 276.7 kB / 3.233 GB, free: 51.04 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.247e-05/10.21, allocations: 31.98 kB / 3.233 GB, free: 51.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/10.21, allocations: 236.3 kB / 3.233 GB, free: 50.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.715e-05/10.21, allocations: 81 kB / 3.233 GB, free: 50.81 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.465e-05/10.21, allocations: 0 / 3.233 GB, free: 50.81 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.539e-05/10.21, allocations: 347.7 kB / 3.234 GB, free: 50.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000298/10.21, allocations: 98.73 kB / 3.234 GB, free: 50.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003576/10.21, allocations: 229.3 kB / 3.234 GB, free: 50.34 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001661/10.21, allocations: 221.4 kB / 3.234 GB, free: 50.32 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/10.21, allocations: 0 / 3.234 GB, free: 50.32 MB / 490.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002305/10.21, allocations: 455.3 kB / 3.235 GB, free: 50.25 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003542/10.21, allocations: 1.49 MB / 3.236 GB, free: 48.69 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/10.21, allocations: 3.719 kB / 3.236 GB, free: 48.69 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/10.21, allocations: 3.625 kB / 3.236 GB, free: 48.69 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/10.21, allocations: 119.5 kB / 3.236 GB, free: 48.68 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/10.21, allocations: 11.58 kB / 3.236 GB, free: 48.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009416/10.21, allocations: 72.17 kB / 3.236 GB, free: 48.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.788e-05/10.21, allocations: 17.69 kB / 3.236 GB, free: 48.66 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/10.21, allocations: 3.688 kB / 3.236 GB, free: 48.66 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001897/10.22, allocations: 363.5 kB / 3.237 GB, free: 48.63 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/10.22, allocations: 3.938 kB / 3.237 GB, free: 48.63 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/10.22, allocations: 6.562 kB / 3.237 GB, free: 48.63 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009749/10.22, allocations: 119.5 kB / 3.237 GB, free: 48.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/10.22, allocations: 6.531 kB / 3.237 GB, free: 48.62 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008374/10.22, allocations: 53.27 kB / 3.237 GB, free: 48.61 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.997e-05/10.22, allocations: 26.92 kB / 3.237 GB, free: 48.61 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (43): * Single equations (assignments): 43 * 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.0002001/10.22, allocations: 127.4 kB / 3.237 GB, free: 48.48 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002009/10.22, allocations: 333.9 kB / 3.237 GB, free: 48.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001046/10.22, allocations: 38.97 kB / 3.237 GB, free: 48.41 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003889/10.22, allocations: 1.702 MB / 3.239 GB, free: 48.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-05/10.22, allocations: 26.38 kB / 3.239 GB, free: 48.17 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/10.22, allocations: 0 / 3.239 GB, free: 48.17 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/10.22, allocations: 7.922 kB / 3.239 GB, free: 48.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/10.23, allocations: 0.8461 MB / 3.24 GB, free: 47.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.235e-06/10.23, allocations: 3.812 kB / 3.24 GB, free: 47.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007813/10.23, allocations: 86.12 kB / 3.24 GB, free: 47.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.124e-05/10.23, allocations: 0 / 3.24 GB, free: 47.94 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.313e-05/10.23, allocations: 3.969 kB / 3.24 GB, free: 47.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/10.23, allocations: 3.469 kB / 3.24 GB, free: 47.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/10.23, allocations: 3.969 kB / 3.24 GB, free: 47.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002411/10.23, allocations: 0.9723 MB / 3.241 GB, free: 47.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004107/10.23, allocations: 250.6 kB / 3.241 GB, free: 47.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001362/10.23, allocations: 0 / 3.241 GB, free: 47.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007851/10.23, allocations: 34.89 kB / 3.241 GB, free: 47.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001441/10.23, allocations: 38.58 kB / 3.241 GB, free: 47.54 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-05/10.23, allocations: 11.59 kB / 3.241 GB, free: 47.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0004769/10.23, allocations: 284.9 kB / 3.241 GB, free: 47.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.31e-07/10.23, allocations: 0 / 3.241 GB, free: 47.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006197/10.24, allocations: 1.155 MB / 3.243 GB, free: 47.26 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.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 (36): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.01407/10.25, allocations: 2.965 MB / 3.246 GB, free: 46.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001659/10.25, allocations: 0.6679 MB / 3.246 GB, free: 46.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/10.25, allocations: 4.438 kB / 3.246 GB, free: 46.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007257/10.25, allocations: 432.4 kB / 3.247 GB, free: 46.19 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002108/10.26, allocations: 169.7 kB / 3.247 GB, free: 46.18 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2201/10.48, allocations: 54.91 MB / 3.3 GB, free: 12.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/10.48, allocations: 0.9762 MB / 3.301 GB, free: 11.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001762/10.48, allocations: 0.5489 MB / 3.302 GB, free: 11.06 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005132/10.48, allocations: 259.3 kB / 3.302 GB, free: 10.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.312e-06/10.48, allocations: 0 / 3.302 GB, free: 10.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4955/10.98, allocations: 37.48 MB / 3.339 GB, free: 67.34 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003085/10.98, allocations: 193.2 kB / 3.339 GB, free: 67.15 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.457/15.43, allocations: 0 / 3.339 GB, free: 67.15 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Valves.TestCheckValve_res.mat does not exist to compare? outputFormat=mat