Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.086/2.086, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.588e-05/5.615e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1286, allocations: 47.57 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.512/1.64, allocations: 451.4 MB / 0.7504 GB, free: 73.68 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002779/1.641, allocations: 70.83 kB / 0.7504 GB, free: 73.64 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1045/1.745, allocations: 29.75 MB / 0.7795 GB, free: 48.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.803e-06/1.745, allocations: 0 / 0.7795 GB, free: 48.71 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.404e-05/1.745, allocations: 0 / 0.7795 GB, free: 48.71 MB / 426.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.0005258/1.746, allocations: 397.8 kB / 0.7799 GB, free: 48.28 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.746, allocations: 12.03 kB / 0.7799 GB, free: 48.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.689e-05/1.746, allocations: 42 kB / 0.7799 GB, free: 48.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002778/1.749, allocations: 186.6 kB / 0.7801 GB, free: 48.06 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/1.749, allocations: 200.2 kB / 0.7803 GB, free: 47.84 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/1.749, allocations: 4 kB / 0.7803 GB, free: 47.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/1.749, allocations: 11.44 kB / 0.7803 GB, free: 47.83 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000559/1.75, allocations: 213.8 kB / 0.7805 GB, free: 47.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/1.75, allocations: 0 / 0.7805 GB, free: 47.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.968e-05/1.75, allocations: 4.156 kB / 0.7805 GB, free: 47.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.676e-06/1.75, allocations: 4 kB / 0.7805 GB, free: 47.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004812/1.75, allocations: 153.6 kB / 0.7807 GB, free: 47.55 MB / 426.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.001313/1.752, allocations: 0.5813 MB / 0.7812 GB, free: 46.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003708/1.752, allocations: 121.4 kB / 0.7813 GB, free: 46.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/1.752, allocations: 67.09 kB / 0.7814 GB, free: 46.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/1.752, allocations: 7.938 kB / 0.7814 GB, free: 46.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/1.752, allocations: 34.06 kB / 0.7815 GB, free: 46.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=14): time 3.066e-06/1.752, allocations: 4 kB / 0.7815 GB, free: 46.79 MB / 426.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.00776/1.76, allocations: 1.088 MB / 0.7825 GB, free: 45.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/1.76, allocations: 55.36 kB / 0.7826 GB, free: 45.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.572e-05/1.76, allocations: 112.2 kB / 0.7827 GB, free: 45.59 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/1.76, allocations: 29.39 kB / 0.7827 GB, free: 45.56 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.296e-05/1.76, allocations: 95.45 kB / 0.7828 GB, free: 45.46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.923e-05/1.761, allocations: 73.42 kB / 0.7829 GB, free: 45.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/1.761, allocations: 8 kB / 0.7829 GB, free: 45.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.479e-05/1.761, allocations: 321.8 kB / 0.7832 GB, free: 45.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001765/1.761, allocations: 61.88 kB / 0.7832 GB, free: 45.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/1.761, allocations: 96.59 kB / 0.7833 GB, free: 44.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/1.761, allocations: 77.47 kB / 0.7834 GB, free: 44.91 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.761, allocations: 4 kB / 0.7834 GB, free: 44.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000608/1.762, allocations: 242.6 kB / 0.7836 GB, free: 44.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.762, allocations: 4 kB / 0.7836 GB, free: 44.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/1.762, allocations: 0 / 0.7836 GB, free: 44.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002509/1.762, allocations: 48.77 kB / 0.7837 GB, free: 44.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005482/1.763, allocations: 55.89 kB / 0.7837 GB, free: 44.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00041/1.763, allocations: 0.5704 MB / 0.7843 GB, free: 44.03 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002863/1.764, allocations: 7.906 kB / 0.7843 GB, free: 44.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.788e-05/1.764, allocations: 23.98 kB / 0.7843 GB, free: 44 MB / 426.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.0001171/1.764, allocations: 115.6 kB / 0.7844 GB, free: 43.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/1.764, allocations: 11.91 kB / 0.7845 GB, free: 43.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/1.765, allocations: 337.1 kB / 0.7848 GB, free: 43.61 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/1.765, allocations: 11.94 kB / 0.7848 GB, free: 43.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/1.765, allocations: 0 / 0.7848 GB, free: 43.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/1.765, allocations: 0 / 0.7848 GB, free: 43.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/1.766, allocations: 0.6074 MB / 0.7854 GB, free: 43.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.766, allocations: 0 / 0.7854 GB, free: 43.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005937/1.767, allocations: 55.95 kB / 0.7854 GB, free: 42.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001157/1.767, allocations: 27.81 kB / 0.7855 GB, free: 42.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.273e-05/1.767, allocations: 7.438 kB / 0.7855 GB, free: 42.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008758/1.768, allocations: 1.27 MB / 0.7867 GB, free: 41.57 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.768, allocations: 0 / 0.7867 GB, free: 41.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008659/1.769, allocations: 467.3 kB / 0.7872 GB, free: 41.15 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.953e-05/1.769, allocations: 88.95 kB / 0.7872 GB, free: 41.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/1.769, allocations: 7.688 kB / 0.7872 GB, free: 41.04 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000384/1.769, allocations: 7.625 kB / 0.7873 GB, free: 41.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.896e-05/1.769, allocations: 23.72 kB / 0.7873 GB, free: 41.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.243e-05/1.769, allocations: 23.98 kB / 0.7873 GB, free: 40.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.635e-05/1.769, allocations: 98.95 kB / 0.7874 GB, free: 40.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-07/1.77, allocations: 0 / 0.7874 GB, free: 40.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007719/1.77, allocations: 117.9 kB / 0.7875 GB, free: 40.81 MB / 426.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.002105/1.772, allocations: 1.619 MB / 0.7891 GB, free: 39.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006796/1.773, allocations: 190.2 kB / 0.7893 GB, free: 39.09 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/1.773, allocations: 0 / 0.7893 GB, free: 39.09 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003858/1.774, allocations: 208.7 kB / 0.7895 GB, free: 38.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/1.774, allocations: 47.55 kB / 0.7895 GB, free: 38.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001157/1.775, allocations: 402.6 kB / 0.7899 GB, free: 38.46 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001722/1.776, allocations: 0.7088 MB / 0.7906 GB, free: 37.72 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0007354/1.776, allocations: 81.7 kB / 0.7907 GB, free: 37.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003545/1.777, allocations: 69.34 kB / 0.7907 GB, free: 37.59 MB / 426.7 MB Notification: Performance of SimCode: time 2.134e-06/1.777, allocations: 0 / 0.7907 GB, free: 37.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0611/1.838, allocations: 15.73 MB / 0.8061 GB, free: 21.93 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/1.838, allocations: 186 kB / 0.8063 GB, free: 21.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.2/5.038, allocations: 0 / 0.8063 GB, free: 21.7 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat