Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveCompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.981/1.981, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.33e-05/3.334e-05, allocations: 4 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.905/8.014, allocations: 2.496 GB / 2.811 GB, free: 67.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/8.014, allocations: 81.45 kB / 2.811 GB, free: 67.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.204/9.219, allocations: 231.2 MB / 3.037 GB, free: 5.816 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.074e-06/9.219, allocations: 4 kB / 3.037 GB, free: 5.812 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.203e-05/9.219, allocations: 8 kB / 3.037 GB, free: 5.805 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.006192/9.225, allocations: 1.259 MB / 3.038 GB, free: 4.496 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/9.225, allocations: 12.03 kB / 3.038 GB, free: 4.484 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001252/9.225, allocations: 70.53 kB / 3.038 GB, free: 4.406 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002757/9.228, allocations: 239.2 kB / 3.038 GB, free: 4.172 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/9.229, allocations: 444 kB / 3.038 GB, free: 3.699 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.054e-05/9.229, allocations: 28.78 kB / 3.039 GB, free: 3.668 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.051e-05/9.229, allocations: 36 kB / 3.039 GB, free: 3.633 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/9.231, allocations: 0.6113 MB / 3.039 GB, free: 2.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/9.231, allocations: 3.953 kB / 3.039 GB, free: 2.977 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.715e-05/9.231, allocations: 12 kB / 3.039 GB, free: 2.965 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/9.231, allocations: 12 kB / 3.039 GB, free: 2.953 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/9.233, allocations: 0.5245 MB / 3.04 GB, free: 2.426 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.3215/9.555, allocations: 2.643 MB / 3.042 GB, free: 47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/9.557, allocations: 492.8 kB / 3.043 GB, free: 46.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003787/9.558, allocations: 141.9 kB / 3.043 GB, free: 46.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2082/9.766, allocations: 55.1 MB / 3.097 GB, free: 32.21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.337e-05/9.766, allocations: 30.56 kB / 3.097 GB, free: 32.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=28): time 5.08e-06/9.766, allocations: 0 / 3.097 GB, free: 32.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=28): time 0.004232/9.77, allocations: 0.6544 MB / 3.097 GB, free: 32.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/9.771, allocations: 106.5 kB / 3.097 GB, free: 32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007079/9.771, allocations: 318.8 kB / 3.098 GB, free: 31.9 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.346e-05/9.771, allocations: 36.3 kB / 3.098 GB, free: 31.87 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002555/9.772, allocations: 288 kB / 3.098 GB, free: 31.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/9.772, allocations: 102.2 kB / 3.098 GB, free: 31.63 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-05/9.772, allocations: 7.625 kB / 3.098 GB, free: 31.63 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001904/9.772, allocations: 329 kB / 3.098 GB, free: 31.32 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003994/9.772, allocations: 105.2 kB / 3.099 GB, free: 31.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005604/9.773, allocations: 262.9 kB / 3.099 GB, free: 31.13 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005031/9.774, allocations: 141.8 kB / 3.099 GB, free: 31.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/9.774, allocations: 3.875 kB / 3.099 GB, free: 31.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001504/9.775, allocations: 387.9 kB / 3.099 GB, free: 31.07 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001069/9.776, allocations: 1.835 MB / 3.101 GB, free: 29.15 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.146e-05/9.776, allocations: 11.47 kB / 3.101 GB, free: 29.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.576e-05/9.776, allocations: 7.938 kB / 3.101 GB, free: 29.15 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/9.778, allocations: 114.6 kB / 3.101 GB, free: 29.15 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.812e-05/9.778, allocations: 12.73 kB / 3.101 GB, free: 29.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/9.779, allocations: 77.12 kB / 3.101 GB, free: 29.13 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.093e-05/9.779, allocations: 22.34 kB / 3.101 GB, free: 29.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/9.779, allocations: 3.625 kB / 3.101 GB, free: 29.13 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001393/9.78, allocations: 350.5 kB / 3.102 GB, free: 29.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/9.78, allocations: 3.25 kB / 3.102 GB, free: 29.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/9.78, allocations: 6.875 kB / 3.102 GB, free: 29.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/9.782, allocations: 113.4 kB / 3.102 GB, free: 29.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.149e-05/9.782, allocations: 9.094 kB / 3.102 GB, free: 29.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008087/9.782, allocations: 73.58 kB / 3.102 GB, free: 29.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.98e-05/9.783, allocations: 21.25 kB / 3.102 GB, free: 29.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (49): * Single equations (assignments): 49 * 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.0003079/9.783, allocations: 132.8 kB / 3.102 GB, free: 28.99 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002176/9.783, allocations: 41.84 kB / 3.102 GB, free: 28.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003847/9.787, allocations: 1.907 MB / 3.104 GB, free: 28.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.174e-05/9.787, allocations: 35.25 kB / 3.104 GB, free: 28.74 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.228e-06/9.787, allocations: 0 / 3.104 GB, free: 28.74 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/9.787, allocations: 0.5625 kB / 3.104 GB, free: 28.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002057/9.789, allocations: 1.03 MB / 3.105 GB, free: 28.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.839e-06/9.789, allocations: 3.953 kB / 3.105 GB, free: 28.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008568/9.79, allocations: 82.25 kB / 3.105 GB, free: 28.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.118e-05/9.79, allocations: 7.906 kB / 3.105 GB, free: 28.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.671e-05/9.79, allocations: 11.3 kB / 3.105 GB, free: 28.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.833e-06/9.79, allocations: 0 / 3.105 GB, free: 28.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/9.79, allocations: 0 / 3.105 GB, free: 28.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/9.792, allocations: 1.032 MB / 3.106 GB, free: 28.26 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005675/9.793, allocations: 260.5 kB / 3.106 GB, free: 28.11 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001568/9.793, allocations: 14.28 kB / 3.106 GB, free: 28.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008582/9.794, allocations: 36.08 kB / 3.106 GB, free: 28.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001419/9.794, allocations: 30.17 kB / 3.106 GB, free: 28.11 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.415e-05/9.794, allocations: 18.06 kB / 3.106 GB, free: 28.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0007366/9.795, allocations: 307.7 kB / 3.107 GB, free: 28.02 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.02e-07/9.795, allocations: 4 kB / 3.107 GB, free: 28.02 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007394/9.802, allocations: 1.149 MB / 3.108 GB, free: 28.01 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: 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.01529/9.818, allocations: 2.915 MB / 3.111 GB, free: 27.18 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002154/9.82, allocations: 0.7214 MB / 3.111 GB, free: 27.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/9.82, allocations: 0 / 3.111 GB, free: 27.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009678/9.821, allocations: 490.6 kB / 3.112 GB, free: 27.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/9.824, allocations: 201.2 kB / 3.112 GB, free: 27.14 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2678/10.09, allocations: 80.5 MB / 3.191 GB, free: 6.027 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000709/10.09, allocations: 1.012 MB / 3.192 GB, free: 5.105 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005795/10.09, allocations: 286.7 kB / 3.192 GB, free: 5.062 MB / 442.7 MB Notification: Performance of SimCode: time 1.543e-06/10.09, allocations: 0 / 3.192 GB, free: 5.062 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.966/14.06, allocations: 30.49 MB / 3.222 GB, free: 75.59 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveCompressible_res.mat does not exist to compare? outputFormat=mat