Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.017/2.017, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.491e-05/3.505e-05, allocations: 4 kB / 255.5 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09976/0.09983, allocations: 44.5 MB / 300 MB, free: 6.535 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.488/1.588, allocations: 447 MB / 0.7295 GB, free: 95.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/1.588, allocations: 75.7 kB / 0.7296 GB, free: 95.8 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1025/1.691, allocations: 29.72 MB / 0.7586 GB, free: 70.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.691, allocations: 0 / 0.7586 GB, free: 70.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/1.691, allocations: 4 kB / 0.7586 GB, free: 70.89 MB / 410.7 MB 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.0005497/1.692, allocations: 392.5 kB / 0.759 GB, free: 70.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/1.692, allocations: 8.031 kB / 0.759 GB, free: 70.47 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.865e-05/1.692, allocations: 38.38 kB / 0.759 GB, free: 70.43 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00278/1.695, allocations: 181.3 kB / 0.7592 GB, free: 70.27 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003269/1.695, allocations: 208.2 kB / 0.7594 GB, free: 70.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.012e-05/1.695, allocations: 4.984 kB / 0.7594 GB, free: 70.04 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.218e-05/1.695, allocations: 11.58 kB / 0.7594 GB, free: 70.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/1.696, allocations: 205 kB / 0.7596 GB, free: 69.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/1.696, allocations: 0 / 0.7596 GB, free: 69.86 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.245e-05/1.696, allocations: 7.938 kB / 0.7596 GB, free: 69.86 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/1.696, allocations: 0 / 0.7596 GB, free: 69.86 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004677/1.696, allocations: 157.1 kB / 0.7597 GB, free: 69.76 MB / 410.7 MB 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.001385/1.698, allocations: 0.5832 MB / 0.7603 GB, free: 69.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003759/1.698, allocations: 138.2 kB / 0.7604 GB, free: 69.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/1.698, allocations: 62.8 kB / 0.7605 GB, free: 69.03 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.624e-05/1.698, allocations: 7.984 kB / 0.7605 GB, free: 69.02 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.425e-05/1.698, allocations: 41.98 kB / 0.7606 GB, free: 68.97 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.124e-06/1.698, allocations: 0 / 0.7606 GB, free: 68.97 MB / 410.7 MB 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.007802/1.706, allocations: 1.083 MB / 0.7616 GB, free: 67.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.202e-05/1.706, allocations: 51.41 kB / 0.7617 GB, free: 67.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/1.706, allocations: 108.5 kB / 0.7618 GB, free: 67.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.693e-05/1.706, allocations: 33.45 kB / 0.7618 GB, free: 67.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.752e-05/1.706, allocations: 166.3 kB / 0.762 GB, free: 67.59 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.293e-05/1.706, allocations: 73.73 kB / 0.762 GB, free: 67.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.683e-05/1.707, allocations: 3.688 kB / 0.762 GB, free: 67.53 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.944e-05/1.707, allocations: 318.3 kB / 0.7623 GB, free: 67.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001743/1.707, allocations: 61.17 kB / 0.7624 GB, free: 67.17 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/1.707, allocations: 92.98 kB / 0.7625 GB, free: 67.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/1.707, allocations: 81.09 kB / 0.7626 GB, free: 67.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/1.707, allocations: 3.938 kB / 0.7626 GB, free: 67.04 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006107/1.708, allocations: 242.7 kB / 0.7628 GB, free: 66.85 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/1.708, allocations: 9.547 kB / 0.7628 GB, free: 66.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/1.708, allocations: 7.891 kB / 0.7628 GB, free: 66.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002628/1.708, allocations: 52.73 kB / 0.7629 GB, free: 66.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000541/1.709, allocations: 55.72 kB / 0.7629 GB, free: 66.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004588/1.709, allocations: 0.5593 MB / 0.7635 GB, free: 66.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/1.71, allocations: 7.469 kB / 0.7635 GB, free: 66.15 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.712e-05/1.71, allocations: 20 kB / 0.7635 GB, free: 66.13 MB / 410.7 MB 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.000128/1.71, allocations: 128.5 kB / 0.7636 GB, free: 66.01 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/1.71, allocations: 11.91 kB / 0.7636 GB, free: 66 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001109/1.711, allocations: 327.2 kB / 0.7639 GB, free: 65.74 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.594e-06/1.711, allocations: 7.984 kB / 0.7639 GB, free: 65.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.711, allocations: 0 / 0.7639 GB, free: 65.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/1.711, allocations: 0 / 0.7639 GB, free: 65.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001198/1.712, allocations: 0.6027 MB / 0.7645 GB, free: 65.15 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/1.712, allocations: 4 kB / 0.7645 GB, free: 65.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005874/1.713, allocations: 55.95 kB / 0.7646 GB, free: 65.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001629/1.713, allocations: 24.41 kB / 0.7646 GB, free: 65.07 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.451e-05/1.713, allocations: 11.42 kB / 0.7646 GB, free: 65.06 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009382/1.714, allocations: 1.27 MB / 0.7659 GB, free: 63.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/1.714, allocations: 3.984 kB / 0.7659 GB, free: 63.69 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008501/1.715, allocations: 455.6 kB / 0.7663 GB, free: 63.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.203e-05/1.715, allocations: 85.05 kB / 0.7664 GB, free: 63.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.775e-05/1.715, allocations: 11.3 kB / 0.7664 GB, free: 63.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/1.715, allocations: 7.688 kB / 0.7664 GB, free: 63.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.634e-05/1.715, allocations: 27.98 kB / 0.7664 GB, free: 63.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.098e-05/1.716, allocations: 27.42 kB / 0.7664 GB, free: 63.12 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.367e-05/1.716, allocations: 86.72 kB / 0.7665 GB, free: 63.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.716, allocations: 0 / 0.7665 GB, free: 63.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007587/1.716, allocations: 113.2 kB / 0.7666 GB, free: 62.95 MB / 410.7 MB 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.002159/1.719, allocations: 1.625 MB / 0.7682 GB, free: 61.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006411/1.719, allocations: 179.8 kB / 0.7684 GB, free: 61.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.719, allocations: 192 / 0.7684 GB, free: 61.24 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003841/1.72, allocations: 223.2 kB / 0.7686 GB, free: 61.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005814/1.72, allocations: 42.77 kB / 0.7687 GB, free: 61.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/1.721, allocations: 413.3 kB / 0.769 GB, free: 60.58 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/1.722, allocations: 0.7162 MB / 0.7697 GB, free: 59.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000389/1.722, allocations: 68.52 kB / 0.7698 GB, free: 59.79 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/1.722, allocations: 8 kB / 0.7698 GB, free: 59.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.801/4.523, allocations: 6.947 MB / 0.7766 GB, free: 52.87 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat