Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.827/1.827, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.708e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2842, allocations: 38.76 MB / 258.3 MB, free: 12.3 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.335/1.62, allocations: 440.6 MB / 0.6826 GB, free: 96.68 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/1.62, allocations: 68.12 kB / 0.6827 GB, free: 96.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1003/1.72, allocations: 29.18 MB / 0.7111 GB, free: 73.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/1.72, allocations: 0 / 0.7111 GB, free: 73.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.344e-05/1.72, allocations: 0 / 0.7111 GB, free: 73.14 MB / 362.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.0005316/1.721, allocations: 392.9 kB / 0.7115 GB, free: 72.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/1.721, allocations: 12.03 kB / 0.7115 GB, free: 72.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002707/1.724, allocations: 186.1 kB / 0.7117 GB, free: 72.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003326/1.724, allocations: 204.3 kB / 0.7119 GB, free: 72.32 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/1.724, allocations: 0 / 0.7119 GB, free: 72.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/1.724, allocations: 12.16 kB / 0.7119 GB, free: 72.31 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004727/1.725, allocations: 144.6 kB / 0.7121 GB, free: 72.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/1.725, allocations: 142.3 kB / 0.7122 GB, free: 72.1 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/1.725, allocations: 4 kB / 0.7122 GB, free: 72.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/1.725, allocations: 0 / 0.7122 GB, free: 72.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/1.725, allocations: 4 kB / 0.7122 GB, free: 72.09 MB / 362.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.001347/1.726, allocations: 0.5576 MB / 0.7127 GB, free: 71.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003372/1.727, allocations: 118.6 kB / 0.7129 GB, free: 71.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000139/1.727, allocations: 63.72 kB / 0.7129 GB, free: 71.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.292e-05/1.727, allocations: 0 / 0.7129 GB, free: 71.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.682e-05/1.727, allocations: 37.69 kB / 0.713 GB, free: 71.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.964e-06/1.727, allocations: 0 / 0.713 GB, free: 71.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.006492/1.733, allocations: 0.8766 MB / 0.7138 GB, free: 70.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.868e-05/1.734, allocations: 59.41 kB / 0.7139 GB, free: 70.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.843e-05/1.734, allocations: 105.2 kB / 0.714 GB, free: 70.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.352e-05/1.734, allocations: 25.7 kB / 0.714 GB, free: 70.32 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.966e-05/1.734, allocations: 99.78 kB / 0.7141 GB, free: 70.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.362e-05/1.734, allocations: 62.27 kB / 0.7141 GB, free: 70.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/1.734, allocations: 3.938 kB / 0.7142 GB, free: 70.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.254e-05/1.734, allocations: 322.7 kB / 0.7145 GB, free: 69.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/1.734, allocations: 62.55 kB / 0.7145 GB, free: 69.8 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000167/1.734, allocations: 98.73 kB / 0.7146 GB, free: 69.72 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001794/1.734, allocations: 68.03 kB / 0.7147 GB, free: 69.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.735, allocations: 0 / 0.7147 GB, free: 69.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005683/1.735, allocations: 230.5 kB / 0.7149 GB, free: 69.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/1.735, allocations: 4.094 kB / 0.7149 GB, free: 69.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.735, allocations: 8 kB / 0.7149 GB, free: 69.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002393/1.735, allocations: 44.33 kB / 0.715 GB, free: 69.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005389/1.736, allocations: 51.91 kB / 0.715 GB, free: 69.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004329/1.736, allocations: 0.5675 MB / 0.7156 GB, free: 68.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/1.737, allocations: 8 kB / 0.7156 GB, free: 68.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.075e-05/1.737, allocations: 35.86 kB / 0.7156 GB, free: 68.77 MB / 362.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.0001302/1.737, allocations: 108.9 kB / 0.7157 GB, free: 68.65 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005134/1.737, allocations: 215.2 kB / 0.7159 GB, free: 68.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.842e-05/1.738, allocations: 7.906 kB / 0.7159 GB, free: 68.47 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001013/1.739, allocations: 315.3 kB / 0.7162 GB, free: 68.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.739, allocations: 4 kB / 0.7162 GB, free: 68.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.739, allocations: 0 / 0.7162 GB, free: 68.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/1.739, allocations: 3.984 kB / 0.7162 GB, free: 68.21 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/1.74, allocations: 0.5612 MB / 0.7168 GB, free: 67.67 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.871e-06/1.74, allocations: 0 / 0.7168 GB, free: 67.67 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005909/1.74, allocations: 63.52 kB / 0.7168 GB, free: 67.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001255/1.741, allocations: 16.84 kB / 0.7168 GB, free: 67.59 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.229e-05/1.741, allocations: 19.89 kB / 0.7169 GB, free: 67.57 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009035/1.741, allocations: 1.219 MB / 0.7181 GB, free: 66.29 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1.742, allocations: 4.156 kB / 0.7181 GB, free: 66.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007709/1.742, allocations: 435.1 kB / 0.7185 GB, free: 65.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/1.742, allocations: 89.03 kB / 0.7186 GB, free: 65.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.857e-05/1.742, allocations: 11.94 kB / 0.7186 GB, free: 65.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/1.743, allocations: 0 / 0.7186 GB, free: 65.77 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.471e-05/1.743, allocations: 23.84 kB / 0.7186 GB, free: 65.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.913e-05/1.743, allocations: 27.98 kB / 0.7186 GB, free: 65.72 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.618e-05/1.743, allocations: 87.22 kB / 0.7187 GB, free: 65.64 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.743, allocations: 0 / 0.7187 GB, free: 65.64 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007799/1.744, allocations: 103.5 kB / 0.7188 GB, free: 65.55 MB / 362.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.002179/1.746, allocations: 1.688 MB / 0.7205 GB, free: 63.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000597/1.747, allocations: 186.8 kB / 0.7206 GB, free: 63.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.747, allocations: 0 / 0.7206 GB, free: 63.77 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003465/1.747, allocations: 208.7 kB / 0.7208 GB, free: 63.59 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005951/1.748, allocations: 43.7 kB / 0.7209 GB, free: 63.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/1.749, allocations: 365.1 kB / 0.7212 GB, free: 63.17 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001668/1.749, allocations: 0.7124 MB / 0.7219 GB, free: 62.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007209/1.75, allocations: 69.17 kB / 0.722 GB, free: 62.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003747/1.75, allocations: 70.64 kB / 0.722 GB, free: 62.3 MB / 362.7 MB Notification: Performance of SimCode: time 1.012e-06/1.75, allocations: 0 / 0.722 GB, free: 62.3 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0544/1.804, allocations: 9.502 MB / 0.7313 GB, free: 52.82 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002556/1.805, allocations: 124.8 kB / 0.7314 GB, free: 52.63 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.982/4.787, allocations: 4.031 kB / 0.7314 GB, free: 52.62 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat does not exist to compare? outputFormat=mat