Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveIncompressible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.951/1.951, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.452e-05/4.449e-05, allocations: 8 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1157/0.1158, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.028/8.144, allocations: 2.497 GB / 2.811 GB, free: 65.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/8.144, allocations: 85.94 kB / 2.811 GB, free: 65.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.763/10.91, allocations: 499.1 MB / 3.298 GB, free: 37.49 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.905e-06/10.91, allocations: 2.625 kB / 3.298 GB, free: 37.49 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001323/10.91, allocations: 32.66 kB / 3.299 GB, free: 37.48 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.01265/10.92, allocations: 2.001 MB / 3.3 GB, free: 36.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.234e-05/10.92, allocations: 9.531 kB / 3.3 GB, free: 36.37 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000496/10.92, allocations: 139.9 kB / 3.301 GB, free: 36.27 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01452/10.93, allocations: 0.6839 MB / 3.301 GB, free: 36.16 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003842/10.94, allocations: 0.848 MB / 3.302 GB, free: 35.67 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000185/10.94, allocations: 77.5 kB / 3.302 GB, free: 35.63 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002819/10.94, allocations: 86.66 kB / 3.302 GB, free: 35.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009252/10.95, allocations: 1.696 MB / 3.304 GB, free: 34.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.969e-05/10.95, allocations: 7.688 kB / 3.304 GB, free: 34.84 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002605/10.95, allocations: 43.11 kB / 3.304 GB, free: 34.81 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.55e-05/10.95, allocations: 25.28 kB / 3.304 GB, free: 34.81 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009361/10.96, allocations: 1.464 MB / 3.305 GB, free: 34.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01775/10.98, allocations: 7.366 MB / 3.313 GB, free: 28.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005927/10.98, allocations: 1.115 MB / 3.314 GB, free: 28.19 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007945/10.98, allocations: 302.9 kB / 3.314 GB, free: 28.07 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07136/11.05, allocations: 17.7 MB / 3.331 GB, free: 18.59 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/11.05, allocations: 38.38 kB / 3.331 GB, free: 18.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=67): time 4.288e-06/11.05, allocations: 0 / 3.331 GB, free: 18.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=67): time 0.007612/11.06, allocations: 1.71 MB / 3.333 GB, free: 18.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.514e-05/11.06, allocations: 212.8 kB / 3.333 GB, free: 17.84 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/11.06, allocations: 0.6006 MB / 3.334 GB, free: 17.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000166/11.06, allocations: 41.27 kB / 3.334 GB, free: 17.52 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003706/11.06, allocations: 0.5486 MB / 3.334 GB, free: 17.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002731/11.06, allocations: 225.8 kB / 3.335 GB, free: 16.88 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.849e-05/11.06, allocations: 22.44 kB / 3.335 GB, free: 16.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001074/11.06, allocations: 352 kB / 3.335 GB, free: 16.53 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007051/11.07, allocations: 258.1 kB / 3.335 GB, free: 16.44 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009422/11.07, allocations: 0.6592 MB / 3.336 GB, free: 15.79 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008402/11.07, allocations: 355.9 kB / 3.336 GB, free: 15.65 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/11.07, allocations: 3.75 kB / 3.336 GB, free: 15.65 MB / 442.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.002553/11.07, allocations: 0.9237 MB / 3.337 GB, free: 15.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001256/11.07, allocations: 5.051 MB / 3.342 GB, free: 9.895 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.839e-05/11.07, allocations: 10.81 kB / 3.342 GB, free: 9.895 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.082e-05/11.07, allocations: 22.91 kB / 3.342 GB, free: 9.895 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002154/11.07, allocations: 305.6 kB / 3.342 GB, free: 9.855 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.125e-05/11.07, allocations: 25.56 kB / 3.342 GB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001964/11.08, allocations: 185.1 kB / 3.343 GB, free: 9.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002443/11.08, allocations: 60.05 kB / 3.343 GB, free: 9.758 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/11.08, allocations: 3.906 kB / 3.343 GB, free: 9.758 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002267/11.08, allocations: 0.847 MB / 3.343 GB, free: 9.449 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.935e-05/11.08, allocations: 15.25 kB / 3.343 GB, free: 9.445 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/11.08, allocations: 22.88 kB / 3.343 GB, free: 9.445 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/11.08, allocations: 305.6 kB / 3.344 GB, free: 9.406 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.574e-05/11.08, allocations: 29.72 kB / 3.344 GB, free: 9.395 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/11.08, allocations: 159.8 kB / 3.344 GB, free: 9.332 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001551/11.08, allocations: 60.75 kB / 3.344 GB, free: 9.32 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 58 * Number of states: 0 () * Number of discrete variables: 12 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 127 * 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.0003453/11.08, allocations: 178.3 kB / 3.344 GB, free: 9.156 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003117/11.08, allocations: 89.19 kB / 3.344 GB, free: 9.113 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006713/11.09, allocations: 4.434 MB / 3.349 GB, free: 7.008 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-05/11.09, allocations: 62.97 kB / 3.349 GB, free: 6.992 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/11.09, allocations: 0 / 3.349 GB, free: 6.992 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.411e-05/11.09, allocations: 7.094 kB / 3.349 GB, free: 6.988 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003435/11.09, allocations: 2.16 MB / 3.351 GB, free: 5.906 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.672e-05/11.09, allocations: 0 / 3.351 GB, free: 5.906 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001531/11.09, allocations: 227 kB / 3.351 GB, free: 5.883 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.731e-05/11.09, allocations: 7.859 kB / 3.351 GB, free: 5.883 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-05/11.09, allocations: 23.5 kB / 3.351 GB, free: 5.871 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/11.09, allocations: 3.969 kB / 3.351 GB, free: 5.871 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/11.09, allocations: 0 / 3.351 GB, free: 5.871 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003217/11.1, allocations: 2.048 MB / 3.353 GB, free: 4.105 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008995/11.1, allocations: 447.3 kB / 3.353 GB, free: 3.703 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/11.1, allocations: 16 kB / 3.353 GB, free: 3.688 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001222/11.1, allocations: 109.6 kB / 3.354 GB, free: 3.598 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001898/11.1, allocations: 69.09 kB / 3.354 GB, free: 3.559 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.13e-05/11.1, allocations: 24 kB / 3.354 GB, free: 3.535 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001028/11.1, allocations: 0.5588 MB / 3.354 GB, free: 3.016 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.01e-07/11.1, allocations: 4 kB / 3.354 GB, free: 3.012 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007705/11.11, allocations: 1.539 MB / 3.356 GB, free: 1.5 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: 42 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.01565/11.13, allocations: 4.334 MB / 3.36 GB, free: 13.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004872/11.13, allocations: 1.66 MB / 3.362 GB, free: 12.28 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.558e-06/11.13, allocations: 4 kB / 3.362 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002626/11.13, allocations: 1.022 MB / 3.363 GB, free: 11.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005668/11.14, allocations: 447 kB / 3.363 GB, free: 10.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7211/11.86, allocations: 122.9 MB / 3.483 GB, free: 38.98 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009148/11.86, allocations: 1.43 MB / 3.484 GB, free: 38.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00113/11.86, allocations: 0.6699 MB / 3.485 GB, free: 38.23 MB / 458.7 MB Notification: Performance of SimCode: time 1.362e-06/11.86, allocations: 0 / 3.485 GB, free: 38.23 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.88/15.74, allocations: 46.33 MB / 3.53 GB, free: 6.402 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValveIncompressible_res.mat does not exist to compare? outputFormat=mat