Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.042/2.042, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.994e-05/3.998e-05, allocations: 7.984 kB / 273.2 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.997/8.105, allocations: 2.477 GB / 2.791 GB, free: 90.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/8.106, allocations: 83.2 kB / 2.791 GB, free: 90.06 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.117/9.223, allocations: 211.6 MB / 2.998 GB, free: 44.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.214e-06/9.223, allocations: 3.688 kB / 2.998 GB, free: 44.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.22e-05/9.223, allocations: 8 kB / 2.998 GB, free: 44.01 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.00564/9.229, allocations: 1.162 MB / 2.999 GB, free: 42.81 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/9.229, allocations: 8.031 kB / 2.999 GB, free: 42.8 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/9.229, allocations: 62.55 kB / 2.999 GB, free: 42.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002455/9.231, allocations: 218.8 kB / 2.999 GB, free: 42.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009254/9.232, allocations: 386.6 kB / 2.999 GB, free: 42.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/9.232, allocations: 24.78 kB / 2.999 GB, free: 42.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/9.233, allocations: 28 kB / 3 GB, free: 42.06 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001828/9.234, allocations: 0.5739 MB / 3 GB, free: 41.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/9.234, allocations: 3.938 kB / 3 GB, free: 41.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.524e-05/9.235, allocations: 15.98 kB / 3 GB, free: 41.43 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/9.235, allocations: 8 kB / 3 GB, free: 41.42 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001714/9.236, allocations: 495.8 kB / 3.001 GB, free: 40.94 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.003558/9.24, allocations: 2.537 MB / 3.003 GB, free: 38.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00171/9.242, allocations: 406.2 kB / 3.003 GB, free: 37.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002897/9.242, allocations: 124.8 kB / 3.004 GB, free: 37.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4977/9.74, allocations: 51.58 MB / 3.054 GB, free: 73.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/9.74, allocations: 36.44 kB / 3.054 GB, free: 73.66 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 3.106e-06/9.74, allocations: 4.812 kB / 3.054 GB, free: 73.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.003105/9.743, allocations: 0.6102 MB / 3.055 GB, free: 73.62 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.199e-05/9.743, allocations: 106.3 kB / 3.055 GB, free: 73.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000424/9.743, allocations: 253.9 kB / 3.055 GB, free: 73.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.843e-05/9.743, allocations: 30.86 kB / 3.055 GB, free: 73.37 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/9.744, allocations: 273.7 kB / 3.055 GB, free: 73.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/9.744, allocations: 84 kB / 3.055 GB, free: 73.15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/9.744, allocations: 5.531 kB / 3.055 GB, free: 73.15 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.365e-05/9.744, allocations: 325.2 kB / 3.056 GB, free: 72.84 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002679/9.744, allocations: 93.61 kB / 3.056 GB, free: 72.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003607/9.744, allocations: 214.8 kB / 3.056 GB, free: 72.69 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003081/9.745, allocations: 122.1 kB / 3.056 GB, free: 72.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/9.745, allocations: 1.156 kB / 3.056 GB, free: 72.69 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009107/9.746, allocations: 329.5 kB / 3.056 GB, free: 72.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/9.746, allocations: 8.047 kB / 3.056 GB, free: 72.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/9.746, allocations: 3.469 kB / 3.056 GB, free: 72.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.806e-05/9.746, allocations: 10.72 kB / 3.056 GB, free: 72.64 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007905/9.747, allocations: 109.3 kB / 3.056 GB, free: 72.64 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.076e-05/9.747, allocations: 8.422 kB / 3.056 GB, free: 72.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006807/9.747, allocations: 71.23 kB / 3.057 GB, free: 72.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/9.747, allocations: 18.11 kB / 3.057 GB, free: 72.64 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: 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 (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.0001585/9.748, allocations: 129.9 kB / 3.057 GB, free: 72.53 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.71e-05/9.748, allocations: 31.5 kB / 3.057 GB, free: 72.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003218/9.751, allocations: 1.851 MB / 3.059 GB, free: 72.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.663e-05/9.751, allocations: 36.52 kB / 3.059 GB, free: 72.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/9.751, allocations: 0.6562 kB / 3.059 GB, free: 72.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.069e-05/9.751, allocations: 1.688 kB / 3.059 GB, free: 72.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/9.753, allocations: 0.9809 MB / 3.06 GB, free: 72.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/9.753, allocations: 0 / 3.06 GB, free: 72.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006842/9.753, allocations: 84.03 kB / 3.06 GB, free: 72.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.039e-05/9.753, allocations: 5.031 kB / 3.06 GB, free: 72.09 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/9.753, allocations: 10.05 kB / 3.06 GB, free: 72.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/9.754, allocations: 1.594 kB / 3.06 GB, free: 72.09 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/9.754, allocations: 6.891 kB / 3.06 GB, free: 72.08 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/9.755, allocations: 0.9673 MB / 3.061 GB, free: 71.86 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002719/9.755, allocations: 212.6 kB / 3.061 GB, free: 71.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.324e-05/9.756, allocations: 6.719 kB / 3.061 GB, free: 71.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005918/9.756, allocations: 52.36 kB / 3.061 GB, free: 71.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001466/9.756, allocations: 35.42 kB / 3.061 GB, free: 71.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.981e-05/9.756, allocations: 11.66 kB / 3.061 GB, free: 71.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004571/9.757, allocations: 257.4 kB / 3.061 GB, free: 71.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.61e-07/9.757, allocations: 0 / 3.061 GB, free: 71.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005419/9.762, allocations: 0.9979 MB / 3.062 GB, free: 71.63 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,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * 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.01198/9.774, allocations: 2.81 MB / 3.065 GB, free: 70.83 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001274/9.776, allocations: 0.4993 MB / 3.065 GB, free: 70.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/9.776, allocations: 4.906 kB / 3.065 GB, free: 70.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007671/9.776, allocations: 470.8 kB / 3.066 GB, free: 70.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/9.778, allocations: 184.8 kB / 3.066 GB, free: 70.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2537/10.03, allocations: 75.47 MB / 3.14 GB, free: 67.72 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004759/10.03, allocations: 0.9781 MB / 3.141 GB, free: 67.01 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/10.03, allocations: 254.4 kB / 3.141 GB, free: 66.99 MB / 442.7 MB Notification: Performance of SimCode: time 1.363e-06/10.03, allocations: 0 / 3.141 GB, free: 66.99 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.48/13.51, allocations: 28.95 MB / 3.169 GB, free: 50.17 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat