Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.943/1.943, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.948e-05/4.975e-05, allocations: 0 / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1408, allocations: 44.52 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.547/1.688, allocations: 447 MB / 0.7295 GB, free: 95.44 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000298/1.688, allocations: 75.77 kB / 0.7296 GB, free: 95.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1045/1.793, allocations: 29.71 MB / 0.7586 GB, free: 70.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.793, allocations: 0 / 0.7586 GB, free: 70.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.442e-05/1.793, allocations: 8 kB / 0.7586 GB, free: 70.49 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.000526/1.793, allocations: 377.8 kB / 0.759 GB, free: 70.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.793, allocations: 12.03 kB / 0.759 GB, free: 70.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.582e-05/1.793, allocations: 45.98 kB / 0.759 GB, free: 70.03 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002762/1.796, allocations: 173.9 kB / 0.7592 GB, free: 69.87 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/1.796, allocations: 205 kB / 0.7594 GB, free: 69.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/1.796, allocations: 7.688 kB / 0.7594 GB, free: 69.64 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.11e-05/1.797, allocations: 9.047 kB / 0.7594 GB, free: 69.64 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005489/1.797, allocations: 213 kB / 0.7596 GB, free: 69.47 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/1.797, allocations: 3.984 kB / 0.7596 GB, free: 69.46 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/1.797, allocations: 7.812 kB / 0.7596 GB, free: 69.46 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/1.797, allocations: 0 / 0.7596 GB, free: 69.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004817/1.798, allocations: 153.6 kB / 0.7598 GB, free: 69.36 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.001323/1.799, allocations: 0.5847 MB / 0.7603 GB, free: 68.78 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003698/1.799, allocations: 133.8 kB / 0.7605 GB, free: 68.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/1.8, allocations: 66.09 kB / 0.7605 GB, free: 68.63 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.685e-05/1.8, allocations: 3.984 kB / 0.7605 GB, free: 68.63 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.214e-05/1.8, allocations: 34.25 kB / 0.7606 GB, free: 68.59 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.705e-06/1.8, allocations: 8 kB / 0.7606 GB, free: 68.58 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.007693/1.807, allocations: 1.095 MB / 0.7616 GB, free: 67.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/1.808, allocations: 51.41 kB / 0.7617 GB, free: 67.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.675e-05/1.808, allocations: 103.9 kB / 0.7618 GB, free: 67.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.507e-05/1.808, allocations: 25.7 kB / 0.7618 GB, free: 67.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/1.808, allocations: 102.8 kB / 0.7619 GB, free: 67.26 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.606e-05/1.808, allocations: 73.75 kB / 0.762 GB, free: 67.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/1.808, allocations: 3.812 kB / 0.762 GB, free: 67.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.67e-05/1.808, allocations: 322.1 kB / 0.7623 GB, free: 66.88 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/1.808, allocations: 61.8 kB / 0.7624 GB, free: 66.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/1.808, allocations: 93.23 kB / 0.7624 GB, free: 66.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/1.809, allocations: 84.78 kB / 0.7625 GB, free: 66.71 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.809, allocations: 0 / 0.7625 GB, free: 66.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006042/1.809, allocations: 247.1 kB / 0.7628 GB, free: 66.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/1.809, allocations: 4 kB / 0.7628 GB, free: 66.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/1.809, allocations: 7.953 kB / 0.7628 GB, free: 66.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/1.81, allocations: 47.89 kB / 0.7628 GB, free: 66.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005494/1.81, allocations: 55.39 kB / 0.7629 GB, free: 66.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004239/1.811, allocations: 0.5631 MB / 0.7634 GB, free: 65.82 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002833/1.811, allocations: 7.531 kB / 0.7634 GB, free: 65.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-05/1.811, allocations: 27.88 kB / 0.7635 GB, free: 65.8 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.0001229/1.811, allocations: 116.6 kB / 0.7636 GB, free: 65.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.184e-05/1.811, allocations: 11.91 kB / 0.7636 GB, free: 65.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/1.812, allocations: 337.2 kB / 0.7639 GB, free: 65.4 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/1.812, allocations: 4 kB / 0.7639 GB, free: 65.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/1.812, allocations: 0 / 0.7639 GB, free: 65.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.872e-06/1.812, allocations: 3.984 kB / 0.7639 GB, free: 65.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001155/1.813, allocations: 0.5938 MB / 0.7645 GB, free: 64.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/1.813, allocations: 3.938 kB / 0.7645 GB, free: 64.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005924/1.814, allocations: 63.61 kB / 0.7645 GB, free: 64.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001225/1.814, allocations: 24.78 kB / 0.7646 GB, free: 64.73 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.109e-05/1.814, allocations: 19.92 kB / 0.7646 GB, free: 64.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008572/1.815, allocations: 1.261 MB / 0.7658 GB, free: 63.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/1.815, allocations: 0 / 0.7658 GB, free: 63.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008361/1.816, allocations: 457.6 kB / 0.7663 GB, free: 62.95 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/1.816, allocations: 85.05 kB / 0.7663 GB, free: 62.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/1.816, allocations: 7.188 kB / 0.7663 GB, free: 62.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003547/1.817, allocations: 11.92 kB / 0.7664 GB, free: 62.83 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.275e-05/1.817, allocations: 27.23 kB / 0.7664 GB, free: 62.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.816e-05/1.817, allocations: 24.06 kB / 0.7664 GB, free: 62.79 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.013e-05/1.817, allocations: 91.2 kB / 0.7665 GB, free: 62.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.817, allocations: 0 / 0.7665 GB, free: 62.7 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007305/1.817, allocations: 115.9 kB / 0.7666 GB, free: 62.61 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.002042/1.82, allocations: 1.628 MB / 0.7682 GB, free: 61.03 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006354/1.82, allocations: 175.8 kB / 0.7684 GB, free: 60.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/1.82, allocations: 4 kB / 0.7684 GB, free: 60.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003862/1.821, allocations: 214 kB / 0.7686 GB, free: 60.71 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/1.821, allocations: 48.17 kB / 0.7686 GB, free: 60.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/1.822, allocations: 387.1 kB / 0.769 GB, free: 60.27 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001751/1.823, allocations: 0.7127 MB / 0.7697 GB, free: 59.54 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0007237/1.823, allocations: 77.16 kB / 0.7698 GB, free: 59.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003871/1.824, allocations: 73.77 kB / 0.7698 GB, free: 59.41 MB / 410.7 MB Notification: Performance of SimCode: time 1.613e-06/1.824, allocations: 3.938 kB / 0.7698 GB, free: 59.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04748/1.871, allocations: 15.72 MB / 0.7852 GB, free: 43.74 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003227/1.872, allocations: 181.9 kB / 0.7854 GB, free: 43.51 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.253/5.124, allocations: 0 / 0.7854 GB, free: 43.51 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat