Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValveDiscrete",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.117/2.117, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.741e-05/3.755e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1076, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.039/8.147, allocations: 2.477 GB / 2.791 GB, free: 90.16 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/8.147, allocations: 81.94 kB / 2.791 GB, free: 90.12 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.092/9.239, allocations: 211.5 MB / 2.998 GB, free: 44.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/9.239, allocations: 3.719 kB / 2.998 GB, free: 44.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.458e-05/9.239, allocations: 8 kB / 2.998 GB, free: 44.19 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.005334/9.245, allocations: 1.14 MB / 2.999 GB, free: 43.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.474e-05/9.245, allocations: 8.031 kB / 2.999 GB, free: 43 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001186/9.245, allocations: 70.53 kB / 2.999 GB, free: 42.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00244/9.247, allocations: 215 kB / 2.999 GB, free: 42.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009384/9.248, allocations: 393 kB / 3 GB, free: 42.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.625e-05/9.248, allocations: 24.78 kB / 3 GB, free: 42.28 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-05/9.248, allocations: 28 kB / 3 GB, free: 42.25 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/9.25, allocations: 0.5787 MB / 3 GB, free: 41.64 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/9.25, allocations: 0 / 3 GB, free: 41.64 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.246e-05/9.25, allocations: 16 kB / 3 GB, free: 41.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/9.25, allocations: 8 kB / 3 GB, free: 41.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/9.252, allocations: 0.4899 MB / 3.001 GB, free: 41.12 MB / 426.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.003704/9.256, allocations: 2.526 MB / 3.003 GB, free: 38.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001774/9.258, allocations: 413.8 kB / 3.004 GB, free: 37.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000318/9.258, allocations: 128.8 kB / 3.004 GB, free: 37.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5006/9.759, allocations: 51.58 MB / 3.054 GB, free: 74.46 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.629e-05/9.759, allocations: 35.25 kB / 3.054 GB, free: 74.43 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 3.125e-06/9.759, allocations: 0 / 3.054 GB, free: 74.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.003042/9.762, allocations: 0.6122 MB / 3.055 GB, free: 74.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/9.762, allocations: 109.6 kB / 3.055 GB, free: 74.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004612/9.762, allocations: 252.3 kB / 3.055 GB, free: 74.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/9.762, allocations: 30.36 kB / 3.055 GB, free: 74.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/9.763, allocations: 220.5 kB / 3.055 GB, free: 74.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.736e-05/9.763, allocations: 83.09 kB / 3.055 GB, free: 73.99 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/9.763, allocations: 6.031 kB / 3.055 GB, free: 73.99 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001036/9.763, allocations: 339.8 kB / 3.056 GB, free: 73.68 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/9.763, allocations: 96.98 kB / 3.056 GB, free: 73.67 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/9.764, allocations: 211.2 kB / 3.056 GB, free: 73.53 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/9.764, allocations: 118.3 kB / 3.056 GB, free: 73.53 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/9.764, allocations: 1.156 kB / 3.056 GB, free: 73.53 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009144/9.765, allocations: 357.7 kB / 3.056 GB, free: 73.48 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.332e-05/9.765, allocations: 7.031 kB / 3.056 GB, free: 73.48 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/9.765, allocations: 4.188 kB / 3.056 GB, free: 73.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-05/9.765, allocations: 10.86 kB / 3.056 GB, free: 73.48 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006793/9.766, allocations: 98.92 kB / 3.057 GB, free: 73.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/9.766, allocations: 8.625 kB / 3.057 GB, free: 73.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005708/9.766, allocations: 61.58 kB / 3.057 GB, free: 73.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-05/9.766, allocations: 24.52 kB / 3.057 GB, free: 73.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 5 (SourceP1.medium.phase,SinkP1.medium.phase,Opening.y,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0001312/9.767, allocations: 128.7 kB / 3.057 GB, free: 73.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.119e-05/9.767, allocations: 31.84 kB / 3.057 GB, free: 73.35 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003032/9.77, allocations: 1.841 MB / 3.059 GB, free: 73.16 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.504e-05/9.77, allocations: 35.25 kB / 3.059 GB, free: 73.15 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/9.77, allocations: 0 / 3.059 GB, free: 73.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/9.77, allocations: 0 / 3.059 GB, free: 73.15 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/9.771, allocations: 0.9802 MB / 3.06 GB, free: 72.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/9.771, allocations: 1.938 kB / 3.06 GB, free: 72.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006141/9.772, allocations: 80.22 kB / 3.06 GB, free: 72.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/9.772, allocations: 1.281 kB / 3.06 GB, free: 72.92 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.989e-05/9.772, allocations: 8.594 kB / 3.06 GB, free: 72.92 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/9.772, allocations: 1.344 kB / 3.06 GB, free: 72.92 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/9.772, allocations: 6.797 kB / 3.06 GB, free: 72.92 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001518/9.774, allocations: 0.976 MB / 3.061 GB, free: 72.7 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002477/9.774, allocations: 211.9 kB / 3.061 GB, free: 72.56 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.55e-05/9.774, allocations: 7.469 kB / 3.061 GB, free: 72.56 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005171/9.775, allocations: 42.62 kB / 3.061 GB, free: 72.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001216/9.775, allocations: 33.3 kB / 3.061 GB, free: 72.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/9.775, allocations: 17.77 kB / 3.061 GB, free: 72.55 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004254/9.775, allocations: 252.5 kB / 3.061 GB, free: 72.47 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.11e-07/9.775, allocations: 0 / 3.061 GB, free: 72.47 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005204/9.78, allocations: 1.006 MB / 3.062 GB, free: 72.46 MB / 442.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: 19 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase,Opening.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * 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.01122/9.792, allocations: 2.791 MB / 3.065 GB, free: 71.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001284/9.793, allocations: 0.5074 MB / 3.065 GB, free: 71.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.789e-06/9.793, allocations: 1.344 kB / 3.065 GB, free: 71.66 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007033/9.794, allocations: 469.4 kB / 3.066 GB, free: 71.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/9.795, allocations: 180.3 kB / 3.066 GB, free: 71.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2441/10.04, allocations: 75.44 MB / 3.14 GB, free: 68.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/10.04, allocations: 0.9829 MB / 3.141 GB, free: 67.79 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007571/10.04, allocations: 248.1 kB / 3.141 GB, free: 67.65 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003988/10.04, allocations: 251.2 kB / 3.141 GB, free: 67.62 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/10.04, allocations: 0 / 3.141 GB, free: 67.62 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1037/10.15, allocations: 40.07 MB / 3.18 GB, free: 40.86 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002748/10.15, allocations: 205.4 kB / 3.18 GB, free: 40.63 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.189/14.33, allocations: 0 / 3.18 GB, free: 40.63 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete_res.mat does not exist to compare? outputFormat=mat