Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.349/2.349, allocations: 270 MB / 283.6 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.847e-05/3.854e-05, allocations: 8 kB / 348.5 MB, free: 2.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3895/0.3896, allocations: 61.86 MB / 410.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.324/1.714, allocations: 462.4 MB / 0.8523 GB, free: 63.67 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/1.714, allocations: 70.78 kB / 0.8524 GB, free: 63.64 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.1019/1.816, allocations: 30.39 MB / 0.8821 GB, free: 38.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.194e-06/1.816, allocations: 0 / 0.8821 GB, free: 38.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.476e-05/1.816, allocations: 8 kB / 0.8821 GB, free: 38.09 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005795/1.817, allocations: 389.9 kB / 0.8824 GB, free: 37.67 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/1.817, allocations: 12.03 kB / 0.8825 GB, free: 37.66 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.987e-05/1.817, allocations: 35.38 kB / 0.8825 GB, free: 37.62 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002845/1.82, allocations: 188.2 kB / 0.8827 GB, free: 37.45 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003364/1.82, allocations: 203.9 kB / 0.8829 GB, free: 37.23 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.772e-05/1.82, allocations: 7.625 kB / 0.8829 GB, free: 37.23 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.74e-05/1.82, allocations: 11.75 kB / 0.8829 GB, free: 37.22 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005418/1.821, allocations: 208.6 kB / 0.8831 GB, free: 37.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/1.821, allocations: 0 / 0.8831 GB, free: 37.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.979e-05/1.821, allocations: 0 / 0.8831 GB, free: 37.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.213e-05/1.821, allocations: 4 kB / 0.8831 GB, free: 37.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/1.821, allocations: 157.9 kB / 0.8832 GB, free: 36.95 MB / 0.5261 GB 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.001289/1.823, allocations: 0.5684 MB / 0.8838 GB, free: 36.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003618/1.823, allocations: 131.9 kB / 0.8839 GB, free: 36.28 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001534/1.823, allocations: 61.28 kB / 0.884 GB, free: 36.24 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/1.823, allocations: 8.234 kB / 0.884 GB, free: 36.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/1.823, allocations: 41.86 kB / 0.884 GB, free: 36.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=14): time 2.234e-06/1.823, allocations: 0 / 0.884 GB, free: 36.18 MB / 0.5261 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.00752/1.831, allocations: 1.095 MB / 0.8851 GB, free: 35.16 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.634e-05/1.831, allocations: 55.36 kB / 0.8851 GB, free: 35.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.654e-05/1.831, allocations: 108.4 kB / 0.8853 GB, free: 34.98 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.346e-05/1.831, allocations: 28.08 kB / 0.8853 GB, free: 34.95 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.605e-05/1.831, allocations: 91.73 kB / 0.8854 GB, free: 34.86 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.754e-05/1.831, allocations: 73.73 kB / 0.8854 GB, free: 34.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.68e-05/1.831, allocations: 3.25 kB / 0.8854 GB, free: 34.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.843e-05/1.831, allocations: 317.8 kB / 0.8857 GB, free: 34.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/1.831, allocations: 65.17 kB / 0.8858 GB, free: 34.44 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/1.832, allocations: 98.5 kB / 0.8859 GB, free: 34.36 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000205/1.832, allocations: 84.45 kB / 0.886 GB, free: 34.3 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/1.832, allocations: 0 / 0.886 GB, free: 34.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005795/1.832, allocations: 248.5 kB / 0.8862 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/1.832, allocations: 4 kB / 0.8862 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/1.832, allocations: 0 / 0.8862 GB, free: 34.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002188/1.833, allocations: 51.64 kB / 0.8863 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000527/1.833, allocations: 51.03 kB / 0.8863 GB, free: 34.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003942/1.834, allocations: 0.573 MB / 0.8869 GB, free: 33.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002727/1.834, allocations: 11.34 kB / 0.8869 GB, free: 33.41 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/1.834, allocations: 27.98 kB / 0.8869 GB, free: 33.39 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001037/1.834, allocations: 115.8 kB / 0.887 GB, free: 33.27 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.03e-05/1.834, allocations: 15.86 kB / 0.887 GB, free: 33.26 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/1.835, allocations: 330.8 kB / 0.8874 GB, free: 33 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/1.835, allocations: 4 kB / 0.8874 GB, free: 33 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.835, allocations: 0 / 0.8874 GB, free: 33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/1.835, allocations: 3.984 kB / 0.8874 GB, free: 33 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/1.836, allocations: 0.6025 MB / 0.888 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/1.836, allocations: 3.938 kB / 0.888 GB, free: 32.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005699/1.837, allocations: 63.61 kB / 0.888 GB, free: 32.35 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.387e-05/1.837, allocations: 28.16 kB / 0.888 GB, free: 32.32 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.121e-05/1.837, allocations: 15.48 kB / 0.8881 GB, free: 32.31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007734/1.838, allocations: 1.26 MB / 0.8893 GB, free: 30.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.838, allocations: 0 / 0.8893 GB, free: 30.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007612/1.839, allocations: 457.2 kB / 0.8897 GB, free: 30.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/1.839, allocations: 89.03 kB / 0.8898 GB, free: 30.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.695e-05/1.839, allocations: 7.25 kB / 0.8898 GB, free: 30.44 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003394/1.839, allocations: 7.062 kB / 0.8898 GB, free: 30.44 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.987e-05/1.839, allocations: 23.28 kB / 0.8898 GB, free: 30.42 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.547e-05/1.839, allocations: 24.05 kB / 0.8899 GB, free: 30.39 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.26e-05/1.839, allocations: 90.59 kB / 0.89 GB, free: 30.31 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/1.839, allocations: 0 / 0.89 GB, free: 30.31 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007132/1.84, allocations: 125.6 kB / 0.8901 GB, free: 30.21 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00192/1.842, allocations: 1.628 MB / 0.8917 GB, free: 28.62 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005921/1.843, allocations: 186.8 kB / 0.8918 GB, free: 28.49 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/1.843, allocations: 0 / 0.8918 GB, free: 28.49 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003643/1.843, allocations: 207.3 kB / 0.892 GB, free: 28.3 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/1.844, allocations: 51.78 kB / 0.8921 GB, free: 28.26 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/1.845, allocations: 389 kB / 0.8925 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001599/1.845, allocations: 0.7049 MB / 0.8931 GB, free: 27.14 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0006936/1.846, allocations: 77.17 kB / 0.8932 GB, free: 27.07 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003462/1.846, allocations: 72.02 kB / 0.8933 GB, free: 27.01 MB / 0.5261 GB Notification: Performance of SimCode: time 7.41e-07/1.846, allocations: 3.938 kB / 0.8933 GB, free: 27.01 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04707/1.893, allocations: 15.75 MB / 0.9087 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002802/1.893, allocations: 175.7 kB / 0.9088 GB, free: 11.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/4.842, allocations: 0 / 0.9088 GB, free: 11.16 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat