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 2.228/2.228, allocations: 209.4 MB / 216.9 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.895e-05/2.895e-05, allocations: 6.25 kB / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 48.69 MB / 316.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.752/7.868, allocations: 2.496 GB / 2.805 GB, free: 97.03 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/7.868, allocations: 85.62 kB / 2.805 GB, free: 97.01 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.175/9.043, allocations: 228.5 MB / 3.028 GB, free: 39.41 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.994e-06/9.043, allocations: 0 / 3.028 GB, free: 39.41 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.565e-05/9.043, allocations: 16 kB / 3.028 GB, free: 39.39 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.005867/9.049, allocations: 1.258 MB / 3.029 GB, free: 38.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/9.049, allocations: 8.031 kB / 3.029 GB, free: 38.09 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00284/9.052, allocations: 242.9 kB / 3.03 GB, free: 37.85 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/9.053, allocations: 428 kB / 3.03 GB, free: 37.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.198e-05/9.053, allocations: 12 kB / 3.03 GB, free: 37.39 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.951e-05/9.054, allocations: 20 kB / 3.03 GB, free: 37.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008412/9.054, allocations: 345.3 kB / 3.03 GB, free: 37.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008055/9.055, allocations: 425.9 kB / 3.031 GB, free: 36.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/9.055, allocations: 3.938 kB / 3.031 GB, free: 36.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/9.055, allocations: 4 kB / 3.031 GB, free: 36.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/9.055, allocations: 8 kB / 3.031 GB, free: 36.57 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.007831/9.063, allocations: 3.959 MB / 3.035 GB, free: 32.28 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/9.064, allocations: 294.7 kB / 3.035 GB, free: 31.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/9.065, allocations: 128.8 kB / 3.035 GB, free: 31.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5052/9.57, allocations: 53.71 MB / 3.087 GB, free: 44.13 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/9.57, allocations: 35.78 kB / 3.087 GB, free: 44.09 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 3.196e-06/9.57, allocations: 0 / 3.087 GB, free: 44.09 MB / 426.7 MB Notification: Performance of matching and sorting (n=27): time 0.002924/9.573, allocations: 0.5652 MB / 3.088 GB, free: 44.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/9.573, allocations: 106.5 kB / 3.088 GB, free: 43.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004164/9.573, allocations: 293.3 kB / 3.088 GB, free: 43.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/9.573, allocations: 28.42 kB / 3.088 GB, free: 43.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/9.574, allocations: 294.4 kB / 3.089 GB, free: 43.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.247e-05/9.574, allocations: 86.3 kB / 3.089 GB, free: 43.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/9.574, allocations: 0 / 3.089 GB, free: 43.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.707e-05/9.574, allocations: 334.7 kB / 3.089 GB, free: 43.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000242/9.574, allocations: 100.8 kB / 3.089 GB, free: 43.26 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003528/9.574, allocations: 254.8 kB / 3.089 GB, free: 43.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001403/9.576, allocations: 227.3 kB / 3.09 GB, free: 43.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/9.576, allocations: 2.906 kB / 3.09 GB, free: 43.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001935/9.578, allocations: 455.9 kB / 3.09 GB, free: 43.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004606/9.578, allocations: 1.834 MB / 3.092 GB, free: 41.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/9.578, allocations: 7.906 kB / 3.092 GB, free: 41.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.207e-05/9.578, allocations: 15.86 kB / 3.092 GB, free: 41.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008189/9.579, allocations: 113.8 kB / 3.092 GB, free: 41.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/9.579, allocations: 12.53 kB / 3.092 GB, free: 41.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008066/9.58, allocations: 66.73 kB / 3.092 GB, free: 41.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-05/9.58, allocations: 27.22 kB / 3.092 GB, free: 41.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/9.58, allocations: 4.125 kB / 3.092 GB, free: 41.12 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00155/9.582, allocations: 372.1 kB / 3.092 GB, free: 41.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/9.582, allocations: 7.641 kB / 3.092 GB, free: 41.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/9.582, allocations: 7.125 kB / 3.092 GB, free: 41.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007236/9.582, allocations: 114.5 kB / 3.093 GB, free: 41.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/9.583, allocations: 10.56 kB / 3.093 GB, free: 41.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005253/9.583, allocations: 58.05 kB / 3.093 GB, free: 41.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/9.583, allocations: 20.83 kB / 3.093 GB, free: 41.11 MB / 426.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.0001876/9.583, allocations: 132.4 kB / 3.093 GB, free: 41 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001689/9.585, allocations: 354.7 kB / 3.093 GB, free: 40.94 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.623e-05/9.585, allocations: 44.31 kB / 3.093 GB, free: 40.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003004/9.588, allocations: 1.696 MB / 3.095 GB, free: 40.72 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.649e-05/9.588, allocations: 25.19 kB / 3.095 GB, free: 40.72 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/9.588, allocations: 1.312 kB / 3.095 GB, free: 40.72 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/9.588, allocations: 3.75 kB / 3.095 GB, free: 40.72 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/9.59, allocations: 0.8649 MB / 3.096 GB, free: 40.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/9.59, allocations: 5.25 kB / 3.096 GB, free: 40.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005939/9.59, allocations: 84.19 kB / 3.096 GB, free: 40.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/9.59, allocations: 3.75 kB / 3.096 GB, free: 40.52 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.982e-05/9.59, allocations: 6.531 kB / 3.096 GB, free: 40.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/9.59, allocations: 3.688 kB / 3.096 GB, free: 40.52 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/9.59, allocations: 0 / 3.096 GB, free: 40.52 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002002/9.592, allocations: 0.9871 MB / 3.097 GB, free: 40.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/9.593, allocations: 249.7 kB / 3.097 GB, free: 40.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/9.593, allocations: 3.25 kB / 3.097 GB, free: 40.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/9.593, allocations: 42.31 kB / 3.097 GB, free: 40.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001172/9.594, allocations: 28.06 kB / 3.097 GB, free: 40.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.565e-05/9.594, allocations: 20.88 kB / 3.097 GB, free: 40.15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004219/9.594, allocations: 293.4 kB / 3.097 GB, free: 40.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.4e-07/9.594, allocations: 0 / 3.097 GB, free: 40.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005741/9.6, allocations: 1.118 MB / 3.098 GB, free: 40.05 MB / 426.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,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.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): 30 * 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.01241/9.612, allocations: 2.902 MB / 3.101 GB, free: 39.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001443/9.614, allocations: 0.6694 MB / 3.102 GB, free: 39.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.97e-06/9.614, allocations: 2.5 kB / 3.102 GB, free: 39.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005695/9.614, allocations: 435.6 kB / 3.102 GB, free: 39.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001881/9.616, allocations: 188.8 kB / 3.103 GB, free: 39.18 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1906/9.807, allocations: 54.93 MB / 3.156 GB, free: 36.2 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004668/9.807, allocations: 0.9895 MB / 3.157 GB, free: 35.49 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004977/9.808, allocations: 274.5 kB / 3.157 GB, free: 35.48 MB / 426.7 MB Notification: Performance of SimCode: time 1.192e-06/9.808, allocations: 0 / 3.157 GB, free: 35.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.569/13.38, allocations: 30.72 MB / 3.187 GB, free: 19.34 MB / 426.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