Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.419/2.419, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.594e-05/3.621e-05, allocations: 4 kB / 249.8 MB, free: 14.76 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3783, allocations: 44.49 MB / 294.3 MB, free: 14.37 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.343/1.722, allocations: 433.2 MB / 0.7104 GB, free: 16.71 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003716/1.722, allocations: 92.19 kB / 0.7105 GB, free: 16.66 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9638/2.686, allocations: 141.4 MB / 0.8486 GB, free: 51.87 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.154e-06/2.686, allocations: 4 kB / 0.8486 GB, free: 51.86 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.27e-05/2.686, allocations: 8 kB / 0.8486 GB, free: 51.86 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001448/2.687, allocations: 0.5969 MB / 0.8492 GB, free: 51.21 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/2.687, allocations: 8.031 kB / 0.8492 GB, free: 51.21 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005198/2.688, allocations: 43.66 kB / 0.8492 GB, free: 51.16 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006302/2.689, allocations: 274.6 kB / 0.8495 GB, free: 50.86 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/2.689, allocations: 11.94 kB / 0.8495 GB, free: 50.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.993e-05/2.689, allocations: 20 kB / 0.8495 GB, free: 50.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005758/2.689, allocations: 173.1 kB / 0.8497 GB, free: 50.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000714/2.69, allocations: 270.6 kB / 0.8499 GB, free: 50.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.557e-05/2.69, allocations: 4 kB / 0.85 GB, free: 50.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.498e-05/2.69, allocations: 0 / 0.85 GB, free: 50.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.357e-05/2.69, allocations: 15.95 kB / 0.85 GB, free: 50.34 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.003003/2.693, allocations: 1.543 MB / 0.8515 GB, free: 48.66 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003959/2.694, allocations: 142.6 kB / 0.8516 GB, free: 48.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/2.694, allocations: 72.86 kB / 0.8517 GB, free: 48.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.765e-05/2.694, allocations: 7.984 kB / 0.8517 GB, free: 48.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/2.694, allocations: 38.56 kB / 0.8517 GB, free: 48.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 3.657e-06/2.694, allocations: 0 / 0.8517 GB, free: 48.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.008807/2.703, allocations: 0.9966 MB / 0.8527 GB, free: 47.31 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/2.703, allocations: 55.41 kB / 0.8528 GB, free: 47.25 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003454/2.703, allocations: 200 kB / 0.8529 GB, free: 47.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.86e-05/2.703, allocations: 29.7 kB / 0.853 GB, free: 47.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001222/2.704, allocations: 183.7 kB / 0.8531 GB, free: 46.83 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.585e-05/2.704, allocations: 86.75 kB / 0.8532 GB, free: 46.74 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.661e-05/2.704, allocations: 0 / 0.8532 GB, free: 46.74 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 9.244e-05/2.704, allocations: 330.8 kB / 0.8535 GB, free: 46.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/2.704, allocations: 87.94 kB / 0.8536 GB, free: 46.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003341/2.704, allocations: 175.7 kB / 0.8538 GB, free: 46.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003378/2.705, allocations: 100.2 kB / 0.8539 GB, free: 46.01 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/2.705, allocations: 0 / 0.8539 GB, free: 46.01 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001144/2.706, allocations: 362.7 kB / 0.8542 GB, free: 45.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/2.706, allocations: 8 kB / 0.8542 GB, free: 45.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/2.706, allocations: 4 kB / 0.8542 GB, free: 45.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003611/2.706, allocations: 74.03 kB / 0.8543 GB, free: 45.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007739/2.707, allocations: 79.89 kB / 0.8544 GB, free: 45.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/2.709, allocations: 1.82 MB / 0.8562 GB, free: 43.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005711/2.71, allocations: 19.84 kB / 0.8562 GB, free: 43.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-05/2.71, allocations: 40.19 kB / 0.8562 GB, free: 43.46 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001795/2.71, allocations: 116.9 kB / 0.8563 GB, free: 43.34 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008572/2.711, allocations: 255.1 kB / 0.8566 GB, free: 43.07 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/2.711, allocations: 27.77 kB / 0.8566 GB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/2.712, allocations: 352.3 kB / 0.8569 GB, free: 42.69 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/2.712, allocations: 4 kB / 0.857 GB, free: 42.69 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/2.712, allocations: 0 / 0.857 GB, free: 42.69 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007206/2.713, allocations: 0.5357 MB / 0.8575 GB, free: 42.06 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/2.715, allocations: 0.6572 MB / 0.8581 GB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/2.715, allocations: 0 / 0.8581 GB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007368/2.716, allocations: 75.89 kB / 0.8582 GB, free: 41.28 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001642/2.716, allocations: 24.8 kB / 0.8582 GB, free: 41.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.092e-05/2.716, allocations: 15.97 kB / 0.8582 GB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001081/2.717, allocations: 1.225 MB / 0.8594 GB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/2.717, allocations: 4.031 kB / 0.8594 GB, free: 39.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/2.718, allocations: 472.9 kB / 0.8599 GB, free: 39.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001454/2.718, allocations: 100.8 kB / 0.86 GB, free: 39.28 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/2.719, allocations: 4 kB / 0.86 GB, free: 39.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005605/2.719, allocations: 12.05 kB / 0.86 GB, free: 39.26 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.512e-05/2.719, allocations: 27.97 kB / 0.86 GB, free: 39.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.334e-05/2.719, allocations: 31.98 kB / 0.86 GB, free: 39.2 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002469/2.72, allocations: 160.4 kB / 0.8602 GB, free: 39.04 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.11e-07/2.72, allocations: 3.938 kB / 0.8602 GB, free: 39.04 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001331/2.721, allocations: 159.9 kB / 0.8604 GB, free: 38.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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.003221/2.724, allocations: 1.938 MB / 0.8622 GB, free: 36.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001113/2.725, allocations: 353.9 kB / 0.8626 GB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/2.726, allocations: 0 / 0.8626 GB, free: 36.55 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004235/2.726, allocations: 209.7 kB / 0.8628 GB, free: 36.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001687/2.728, allocations: 127.8 kB / 0.8629 GB, free: 36.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002174/2.73, allocations: 0.5437 MB / 0.8634 GB, free: 35.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/2.73, allocations: 0.7757 MB / 0.8642 GB, free: 34.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001193/2.731, allocations: 103.2 kB / 0.8643 GB, free: 34.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005575/2.732, allocations: 123.4 kB / 0.8644 GB, free: 34.6 MB / 410.7 MB Notification: Performance of SimCode: time 1.182e-06/2.732, allocations: 0 / 0.8644 GB, free: 34.6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08947/2.821, allocations: 15.16 MB / 0.8792 GB, free: 19.45 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002635/2.822, allocations: 172.4 kB / 0.8794 GB, free: 19.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.062/6.884, allocations: 0 / 0.8794 GB, free: 19.25 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat