Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.R134a_setState_pTX,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_R134a_setState_pTX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.346/2.346, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.91e-05/3.925e-05, allocations: 1.828 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1304, allocations: 61.88 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.47/17.6, allocations: 5.758 GB / 6.159 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000256/17.6, allocations: 71.14 kB / 6.159 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.883/20.48, allocations: 478.9 MB / 6.626 GB, free: 60.07 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.074e-06/20.48, allocations: 4 kB / 6.626 GB, free: 60.06 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 6.632e-06/20.48, allocations: 0 / 6.626 GB, free: 60.06 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.01148/20.5, allocations: 0.6387 MB / 6.627 GB, free: 59.45 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.839e-05/20.5, allocations: 12.03 kB / 6.627 GB, free: 59.43 MB / 0.5262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.979e-05/20.5, allocations: 34.5 kB / 6.627 GB, free: 59.39 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001647/20.5, allocations: 11.89 kB / 6.627 GB, free: 59.38 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.24e-05/20.5, allocations: 165 kB / 6.627 GB, free: 59.18 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.514e-05/20.5, allocations: 4 kB / 6.627 GB, free: 59.18 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.893e-05/20.5, allocations: 7.375 kB / 6.627 GB, free: 59.18 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002047/20.5, allocations: 76.72 kB / 6.627 GB, free: 59.12 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/20.5, allocations: 0 / 6.627 GB, free: 59.12 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/20.5, allocations: 4 kB / 6.627 GB, free: 59.11 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/20.5, allocations: 7.641 kB / 6.627 GB, free: 59.11 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001348/20.5, allocations: 73.72 kB / 6.627 GB, free: 59.06 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/20.5, allocations: 321.8 kB / 6.628 GB, free: 58.73 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.306e-05/20.5, allocations: 47.83 kB / 6.628 GB, free: 58.69 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.017e-05/20.5, allocations: 30.67 kB / 6.628 GB, free: 58.67 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0246/20.52, allocations: 6.284 MB / 6.634 GB, free: 51.91 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/20.52, allocations: 38.55 kB / 6.634 GB, free: 51.87 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=9): time 3.286e-06/20.52, allocations: 0 / 6.634 GB, free: 51.87 MB / 0.5262 GB Notification: Performance of matching and sorting (n=9): time 0.0003626/20.52, allocations: 86.42 kB / 6.634 GB, free: 51.79 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/20.52, allocations: 51.41 kB / 6.634 GB, free: 51.73 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.855e-05/20.52, allocations: 91.94 kB / 6.634 GB, free: 51.64 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.403e-05/20.52, allocations: 25.7 kB / 6.634 GB, free: 51.61 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 3.569e-05/20.52, allocations: 86.2 kB / 6.634 GB, free: 51.52 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 2.918e-05/20.52, allocations: 34.67 kB / 6.634 GB, free: 51.49 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/20.52, allocations: 3.062 kB / 6.634 GB, free: 51.49 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 5.998e-05/20.52, allocations: 310.8 kB / 6.635 GB, free: 51.18 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.109e-05/20.52, allocations: 21.12 kB / 6.635 GB, free: 51.16 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.462e-05/20.52, allocations: 42.77 kB / 6.635 GB, free: 51.12 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.397e-05/20.52, allocations: 21.56 kB / 6.635 GB, free: 51.11 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/20.52, allocations: 4 kB / 6.635 GB, free: 51.11 MB / 0.5262 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002073/20.52, allocations: 87.48 kB / 6.635 GB, free: 51.04 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/20.52, allocations: 11.94 kB / 6.635 GB, free: 51.02 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/20.52, allocations: 0 / 6.635 GB, free: 51.02 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/20.52, allocations: 3.953 kB / 6.635 GB, free: 51.02 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.278e-05/20.52, allocations: 8 kB / 6.635 GB, free: 51.01 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/20.52, allocations: 0 / 6.635 GB, free: 51.01 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.809e-05/20.52, allocations: 13.86 kB / 6.635 GB, free: 51 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/20.52, allocations: 0 / 6.635 GB, free: 51 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.217e-05/20.52, allocations: 108.1 kB / 6.635 GB, free: 50.89 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/20.52, allocations: 4.031 kB / 6.635 GB, free: 50.89 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003314/20.52, allocations: 150.7 kB / 6.635 GB, free: 50.77 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001851/20.52, allocations: 109.4 kB / 6.635 GB, free: 50.68 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/20.52, allocations: 7.938 kB / 6.635 GB, free: 50.67 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.58e-06/20.52, allocations: 7.281 kB / 6.635 GB, free: 50.67 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005888/20.52, allocations: 423.1 kB / 6.636 GB, free: 50.26 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/20.52, allocations: 7.938 kB / 6.636 GB, free: 50.25 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/20.53, allocations: 16 kB / 6.636 GB, free: 50.23 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.438e-06/20.53, allocations: 3.938 kB / 6.636 GB, free: 50.23 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.228e-05/20.53, allocations: 2.062 kB / 6.636 GB, free: 50.23 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/20.53, allocations: 0 / 6.636 GB, free: 50.23 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/20.53, allocations: 0 / 6.636 GB, free: 50.23 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/20.53, allocations: 220.9 kB / 6.636 GB, free: 50.03 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.254e-05/20.53, allocations: 95.22 kB / 6.636 GB, free: 49.92 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/20.53, allocations: 3.875 kB / 6.636 GB, free: 49.92 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.369e-05/20.53, allocations: 0 / 6.636 GB, free: 49.92 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.985e-05/20.53, allocations: 11.92 kB / 6.636 GB, free: 49.91 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/20.53, allocations: 4 kB / 6.636 GB, free: 49.91 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 2.467e-05/20.53, allocations: 78.97 kB / 6.636 GB, free: 49.83 MB / 0.5262 GB Notification: Performance of sort global known variables: time 4.01e-07/20.53, allocations: 0 / 6.636 GB, free: 49.83 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.006974/20.53, allocations: 392.1 kB / 6.636 GB, free: 49.5 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.07218/20.6, allocations: 8.603 MB / 6.645 GB, free: 41.11 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.0003/20.61, allocations: 103.8 kB / 6.645 GB, free: 41.03 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/20.61, allocations: 64 / 6.645 GB, free: 41.03 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 9.109e-05/20.61, allocations: 53 kB / 6.645 GB, free: 41 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007047/20.61, allocations: 34.39 kB / 6.645 GB, free: 40.97 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009016/20.62, allocations: 343.5 kB / 6.645 GB, free: 40.65 MB / 0.5262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/20.62, allocations: 0.7004 MB / 6.646 GB, free: 39.92 MB / 0.5262 GB Notification: Performance of simCode: alias equations: time 0.0001741/20.62, allocations: 12.12 kB / 6.646 GB, free: 39.91 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/20.62, allocations: 27.23 kB / 6.646 GB, free: 39.89 MB / 0.5262 GB Notification: Performance of SimCode: time 1.843e-06/20.62, allocations: 0 / 6.646 GB, free: 39.89 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06037/20.68, allocations: 19.18 MB / 6.665 GB, free: 20.81 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002466/20.68, allocations: 155.5 kB / 6.665 GB, free: 20.59 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.175/24.85, allocations: 0 / 6.665 GB, free: 20.59 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.R134a_setState_pTX_res.mat does not exist to compare? outputFormat=mat