Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.515/2.515, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.28e-05/4.276e-05, allocations: 0 / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1342, allocations: 61.87 MB / 410.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.57/17.7, allocations: 5.758 GB / 6.159 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003003/17.7, allocations: 69.16 kB / 6.159 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.005/20.71, allocations: 478.9 MB / 6.626 GB, free: 57.61 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.643e-06/20.71, allocations: 0 / 6.626 GB, free: 57.61 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 7.203e-06/20.71, allocations: 8 kB / 6.626 GB, free: 57.6 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.01088/20.72, allocations: 0.6339 MB / 6.627 GB, free: 56.99 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/20.72, allocations: 8.031 kB / 6.627 GB, free: 56.98 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.524e-05/20.72, allocations: 42.42 kB / 6.627 GB, free: 56.94 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/20.72, allocations: 11.91 kB / 6.627 GB, free: 56.93 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.012e-05/20.72, allocations: 168.7 kB / 6.627 GB, free: 56.73 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/20.72, allocations: 0 / 6.627 GB, free: 56.73 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.373e-05/20.72, allocations: 7.938 kB / 6.627 GB, free: 56.72 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/20.72, allocations: 74.8 kB / 6.627 GB, free: 56.66 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/20.72, allocations: 4 kB / 6.627 GB, free: 56.66 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/20.72, allocations: 3.938 kB / 6.627 GB, free: 56.66 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.385e-06/20.72, allocations: 0 / 6.627 GB, free: 56.66 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001272/20.72, allocations: 75.91 kB / 6.627 GB, free: 56.61 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/20.72, allocations: 331.6 kB / 6.628 GB, free: 56.28 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 8.906e-05/20.72, allocations: 37.83 kB / 6.628 GB, free: 56.25 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.508e-05/20.72, allocations: 41.67 kB / 6.628 GB, free: 56.22 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02475/20.75, allocations: 6.275 MB / 6.634 GB, free: 49.46 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/20.75, allocations: 34.56 kB / 6.634 GB, free: 49.42 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=9): time 3.837e-06/20.75, allocations: 0 / 6.634 GB, free: 49.42 MB / 0.5262 GB Notification: Performance of matching and sorting (n=9): time 0.0003612/20.75, allocations: 95.61 kB / 6.634 GB, free: 49.34 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/20.75, allocations: 55.39 kB / 6.634 GB, free: 49.27 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.785e-05/20.75, allocations: 85 kB / 6.634 GB, free: 49.18 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.458e-05/20.75, allocations: 25.7 kB / 6.634 GB, free: 49.15 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.777e-05/20.75, allocations: 91.92 kB / 6.634 GB, free: 49.06 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/20.75, allocations: 27.23 kB / 6.634 GB, free: 49.04 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-06/20.75, allocations: 8.125 kB / 6.634 GB, free: 49.03 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 6.495e-05/20.75, allocations: 310.8 kB / 6.635 GB, free: 48.72 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.17e-05/20.75, allocations: 23.12 kB / 6.635 GB, free: 48.71 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.161e-05/20.75, allocations: 31.72 kB / 6.635 GB, free: 48.68 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.489e-05/20.75, allocations: 26.48 kB / 6.635 GB, free: 48.66 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/20.75, allocations: 0 / 6.635 GB, free: 48.66 MB / 0.5262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002055/20.75, allocations: 87.56 kB / 6.635 GB, free: 48.59 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/20.75, allocations: 12.02 kB / 6.635 GB, free: 48.58 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/20.75, allocations: 0 / 6.635 GB, free: 48.58 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/20.75, allocations: 7.953 kB / 6.635 GB, free: 48.57 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.955e-05/20.75, allocations: 8 kB / 6.635 GB, free: 48.57 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/20.75, allocations: 0 / 6.635 GB, free: 48.57 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.6e-05/20.75, allocations: 9.375 kB / 6.635 GB, free: 48.56 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/20.75, allocations: 4 kB / 6.635 GB, free: 48.56 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 6.001e-05/20.75, allocations: 106.3 kB / 6.635 GB, free: 48.45 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.313e-05/20.75, allocations: 4 kB / 6.635 GB, free: 48.45 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/20.75, allocations: 155 kB / 6.635 GB, free: 48.33 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00018/20.75, allocations: 111.7 kB / 6.635 GB, free: 48.24 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/20.75, allocations: 3.953 kB / 6.635 GB, free: 48.23 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/20.75, allocations: 0 / 6.635 GB, free: 48.23 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005444/20.75, allocations: 437.2 kB / 6.636 GB, free: 47.81 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/20.75, allocations: 7.953 kB / 6.636 GB, free: 47.8 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.988e-05/20.75, allocations: 19.92 kB / 6.636 GB, free: 47.79 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.499e-06/20.75, allocations: 0 / 6.636 GB, free: 47.79 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/20.75, allocations: 4 kB / 6.636 GB, free: 47.78 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/20.75, allocations: 0 / 6.636 GB, free: 47.78 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/20.75, allocations: 0 / 6.636 GB, free: 47.78 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002567/20.75, allocations: 210.8 kB / 6.636 GB, free: 47.59 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.263e-05/20.75, allocations: 86.94 kB / 6.636 GB, free: 47.49 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/20.75, allocations: 15.61 kB / 6.636 GB, free: 47.48 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.76e-05/20.75, allocations: 0 / 6.636 GB, free: 47.48 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.098e-05/20.75, allocations: 4 kB / 6.636 GB, free: 47.47 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/20.75, allocations: 6.938 kB / 6.636 GB, free: 47.47 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.639e-05/20.75, allocations: 79.22 kB / 6.636 GB, free: 47.39 MB / 0.5262 GB Notification: Performance of sort global known variables: time 5.31e-07/20.75, allocations: 0 / 6.636 GB, free: 47.39 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.006564/20.76, allocations: 387 kB / 6.636 GB, free: 47.06 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.07177/20.83, allocations: 8.595 MB / 6.645 GB, free: 38.68 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0003057/20.83, allocations: 107.6 kB / 6.645 GB, free: 38.59 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 4.279e-06/20.83, allocations: 4 kB / 6.645 GB, free: 38.59 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 9.173e-05/20.83, allocations: 50.02 kB / 6.645 GB, free: 38.56 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/20.83, allocations: 44.62 kB / 6.645 GB, free: 38.53 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006011/20.84, allocations: 338 kB / 6.645 GB, free: 38.21 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001639/20.84, allocations: 0.6926 MB / 6.646 GB, free: 37.49 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.0001055/20.84, allocations: 24.09 kB / 6.646 GB, free: 37.47 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.395e-05/20.84, allocations: 22.69 kB / 6.646 GB, free: 37.45 MB / 0.5262 GB Notification: Performance of SimCode: time 2.735e-06/20.84, allocations: 3.719 kB / 6.646 GB, free: 37.45 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06012/20.9, allocations: 19.18 MB / 6.665 GB, free: 18.38 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002708/20.9, allocations: 147.5 kB / 6.665 GB, free: 18.16 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.008/24.91, allocations: 0 / 6.665 GB, free: 18.16 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat does not exist to compare? outputFormat=mat