Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.788/2.788, allocations: 270 MB / 282.6 MB, free: 1.93 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.409e-05/4.415e-05, allocations: 4 kB / 347.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4493, allocations: 61.86 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.45/18.9, allocations: 5.758 GB / 6.157 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/18.9, allocations: 69.95 kB / 6.157 GB, free: 134.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.977/21.87, allocations: 478.9 MB / 6.625 GB, free: 64.02 MB / 0.5262 GB Notification: Performance of FrontEnd: time 4.498e-06/21.87, allocations: 4 kB / 6.625 GB, free: 64.02 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 7.795e-06/21.87, allocations: 0 / 6.625 GB, free: 64.02 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0128/21.89, allocations: 0.6409 MB / 6.626 GB, free: 63.41 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.708e-05/21.89, allocations: 8.031 kB / 6.626 GB, free: 63.4 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.422e-05/21.89, allocations: 42.36 kB / 6.626 GB, free: 63.35 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/21.89, allocations: 7.906 kB / 6.626 GB, free: 63.34 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.602e-05/21.89, allocations: 169.4 kB / 6.626 GB, free: 63.14 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/21.89, allocations: 0 / 6.626 GB, free: 63.14 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.6e-05/21.89, allocations: 7.125 kB / 6.626 GB, free: 63.14 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/21.89, allocations: 73.67 kB / 6.626 GB, free: 63.08 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/21.89, allocations: 0 / 6.626 GB, free: 63.08 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/21.89, allocations: 3.875 kB / 6.626 GB, free: 63.08 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/21.89, allocations: 4 kB / 6.626 GB, free: 63.07 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/21.89, allocations: 76.03 kB / 6.626 GB, free: 63.03 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/21.89, allocations: 319.1 kB / 6.626 GB, free: 62.7 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001134/21.89, allocations: 40.45 kB / 6.626 GB, free: 62.66 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/21.89, allocations: 35.36 kB / 6.626 GB, free: 62.64 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03461/21.92, allocations: 6.294 MB / 6.632 GB, free: 55.87 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/21.92, allocations: 34.38 kB / 6.632 GB, free: 55.83 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=9): time 4.198e-06/21.92, allocations: 4 kB / 6.632 GB, free: 55.82 MB / 0.5262 GB Notification: Performance of matching and sorting (n=9): time 0.0004437/21.92, allocations: 86.2 kB / 6.633 GB, free: 55.75 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/21.92, allocations: 59.14 kB / 6.633 GB, free: 55.69 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.415e-05/21.92, allocations: 85 kB / 6.633 GB, free: 55.6 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/21.93, allocations: 25.7 kB / 6.633 GB, free: 55.57 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 5.31e-05/21.93, allocations: 160.6 kB / 6.633 GB, free: 55.41 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.666e-05/21.93, allocations: 31.05 kB / 6.633 GB, free: 55.38 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.007e-05/21.93, allocations: 3.312 kB / 6.633 GB, free: 55.38 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 7.646e-05/21.93, allocations: 318.7 kB / 6.633 GB, free: 55.07 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/21.93, allocations: 18.69 kB / 6.633 GB, free: 55.05 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.909e-05/21.93, allocations: 32.28 kB / 6.633 GB, free: 55.03 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.852e-05/21.93, allocations: 31.33 kB / 6.633 GB, free: 55 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/21.93, allocations: 0 / 6.633 GB, free: 55 MB / 0.5262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003195/21.93, allocations: 90.47 kB / 6.633 GB, free: 54.93 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/21.93, allocations: 7.984 kB / 6.633 GB, free: 54.93 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/21.93, allocations: 4 kB / 6.633 GB, free: 54.92 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/21.93, allocations: 7.984 kB / 6.633 GB, free: 54.91 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/21.93, allocations: 8 kB / 6.633 GB, free: 54.91 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/21.93, allocations: 0 / 6.633 GB, free: 54.91 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.9e-05/21.93, allocations: 5.875 kB / 6.633 GB, free: 54.9 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/21.93, allocations: 4 kB / 6.633 GB, free: 54.9 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 7.522e-05/21.93, allocations: 107.4 kB / 6.634 GB, free: 54.79 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.491e-05/21.93, allocations: 4 kB / 6.634 GB, free: 54.79 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004599/21.93, allocations: 144 kB / 6.634 GB, free: 54.68 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002623/21.93, allocations: 119.5 kB / 6.634 GB, free: 54.58 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/21.93, allocations: 3.953 kB / 6.634 GB, free: 54.58 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/21.93, allocations: 3.891 kB / 6.634 GB, free: 54.58 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007893/21.93, allocations: 433.9 kB / 6.634 GB, free: 54.16 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/21.93, allocations: 3.953 kB / 6.634 GB, free: 54.16 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001412/21.93, allocations: 19.98 kB / 6.634 GB, free: 54.14 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/21.93, allocations: 0 / 6.634 GB, free: 54.14 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/21.93, allocations: 7.875 kB / 6.634 GB, free: 54.14 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/21.93, allocations: 0 / 6.634 GB, free: 54.14 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.185e-06/21.93, allocations: 0 / 6.634 GB, free: 54.14 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003648/21.93, allocations: 212.3 kB / 6.634 GB, free: 53.95 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/21.93, allocations: 98.64 kB / 6.635 GB, free: 53.84 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/21.93, allocations: 3.094 kB / 6.635 GB, free: 53.84 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/21.93, allocations: 7.562 kB / 6.635 GB, free: 53.83 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.9e-05/21.93, allocations: 4 kB / 6.635 GB, free: 53.83 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/21.93, allocations: 4.281 kB / 6.635 GB, free: 53.82 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.922e-05/21.93, allocations: 75.28 kB / 6.635 GB, free: 53.75 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5.31e-07/21.93, allocations: 0 / 6.635 GB, free: 53.75 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.008477/21.94, allocations: 388.2 kB / 6.635 GB, free: 53.42 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (state.phase,$cse1.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.07633/22.01, allocations: 8.599 MB / 6.643 GB, free: 45.02 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0003017/22.01, allocations: 107.9 kB / 6.643 GB, free: 44.94 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/22.01, allocations: 0 / 6.643 GB, free: 44.94 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 8.862e-05/22.01, allocations: 49.92 kB / 6.644 GB, free: 44.91 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005063/22.01, allocations: 37.19 kB / 6.644 GB, free: 44.88 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004948/22.02, allocations: 372.3 kB / 6.644 GB, free: 44.52 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001562/22.02, allocations: 0.6926 MB / 6.645 GB, free: 43.8 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/22.02, allocations: 31 kB / 6.645 GB, free: 43.79 MB / 0.5262 GB Notification: Performance of SimCode: time 1.223e-06/22.02, allocations: 288 / 6.645 GB, free: 43.79 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.849/24.87, allocations: 18.74 MB / 6.663 GB, free: 25.11 MB / 0.5262 GB