Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_IdealGases_Nitrogen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.99/1.99, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.833e-05/2.845e-05, allocations: 8 kB / 249.7 MB, free: 15.18 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3181, allocations: 44.49 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.224/1.542, allocations: 433.1 MB / 0.7103 GB, free: 16.86 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/1.542, allocations: 87.12 kB / 0.7104 GB, free: 16.81 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7054/2.248, allocations: 141.4 MB / 0.8485 GB, free: 52.1 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.553e-06/2.248, allocations: 0 / 0.8485 GB, free: 52.1 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.561e-05/2.248, allocations: 4 kB / 0.8485 GB, free: 52.09 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.001185/2.249, allocations: 0.6047 MB / 0.8491 GB, free: 51.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/2.249, allocations: 8.031 kB / 0.8491 GB, free: 51.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/2.249, allocations: 43.67 kB / 0.8491 GB, free: 51.39 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004528/2.25, allocations: 274.5 kB / 0.8494 GB, free: 51.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/2.25, allocations: 8 kB / 0.8494 GB, free: 51.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.787e-05/2.25, allocations: 12 kB / 0.8494 GB, free: 51.07 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004271/2.25, allocations: 177.1 kB / 0.8496 GB, free: 50.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005286/2.251, allocations: 278.6 kB / 0.8499 GB, free: 50.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.12e-05/2.251, allocations: 0 / 0.8499 GB, free: 50.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.987e-05/2.251, allocations: 4 kB / 0.8499 GB, free: 50.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.2e-05/2.251, allocations: 11.94 kB / 0.8499 GB, free: 50.58 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.002238/2.253, allocations: 1.547 MB / 0.8514 GB, free: 48.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002902/2.254, allocations: 138.6 kB / 0.8515 GB, free: 48.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001623/2.254, allocations: 84.83 kB / 0.8516 GB, free: 48.66 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.447e-05/2.254, allocations: 4 kB / 0.8516 GB, free: 48.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.792e-05/2.254, allocations: 34.56 kB / 0.8516 GB, free: 48.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 3.166e-06/2.254, allocations: 4 kB / 0.8516 GB, free: 48.61 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.006722/2.261, allocations: 0.9922 MB / 0.8526 GB, free: 47.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/2.261, allocations: 55.41 kB / 0.8527 GB, free: 47.48 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/2.261, allocations: 196 kB / 0.8528 GB, free: 47.28 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/2.261, allocations: 25.7 kB / 0.8529 GB, free: 47.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001011/2.261, allocations: 250.1 kB / 0.8531 GB, free: 47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.037e-05/2.261, allocations: 86.75 kB / 0.8532 GB, free: 46.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/2.261, allocations: 0 / 0.8532 GB, free: 46.92 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.597e-05/2.261, allocations: 330.8 kB / 0.8535 GB, free: 46.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/2.261, allocations: 72 kB / 0.8536 GB, free: 46.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002316/2.262, allocations: 183.7 kB / 0.8537 GB, free: 46.29 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/2.262, allocations: 104 kB / 0.8538 GB, free: 46.19 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/2.262, allocations: 7.938 kB / 0.8539 GB, free: 46.18 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008678/2.263, allocations: 355.2 kB / 0.8542 GB, free: 45.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/2.263, allocations: 4 kB / 0.8542 GB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/2.263, allocations: 4 kB / 0.8542 GB, free: 45.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002907/2.263, allocations: 61.69 kB / 0.8543 GB, free: 45.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006097/2.264, allocations: 83.89 kB / 0.8543 GB, free: 45.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/2.265, allocations: 1.805 MB / 0.8561 GB, free: 43.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004494/2.266, allocations: 24.16 kB / 0.8561 GB, free: 43.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.194e-05/2.266, allocations: 36 kB / 0.8562 GB, free: 43.66 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.0001571/2.266, allocations: 124.8 kB / 0.8563 GB, free: 43.54 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006214/2.267, allocations: 255.2 kB / 0.8565 GB, free: 43.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.017e-05/2.267, allocations: 31.66 kB / 0.8566 GB, free: 43.24 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/2.268, allocations: 356.3 kB / 0.8569 GB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.642e-06/2.268, allocations: 4 kB / 0.8569 GB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/2.268, allocations: 0 / 0.8569 GB, free: 42.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005426/2.268, allocations: 0.5512 MB / 0.8574 GB, free: 42.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001298/2.27, allocations: 0.6495 MB / 0.8581 GB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/2.27, allocations: 0 / 0.8581 GB, free: 41.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/2.27, allocations: 75.89 kB / 0.8581 GB, free: 41.46 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001228/2.27, allocations: 24.86 kB / 0.8582 GB, free: 41.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/2.271, allocations: 19.92 kB / 0.8582 GB, free: 41.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008136/2.271, allocations: 1.237 MB / 0.8594 GB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/2.271, allocations: 0 / 0.8594 GB, free: 40.06 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00083/2.272, allocations: 461.1 kB / 0.8598 GB, free: 39.57 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/2.272, allocations: 101 kB / 0.8599 GB, free: 39.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.817e-05/2.272, allocations: 8 kB / 0.8599 GB, free: 39.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004106/2.273, allocations: 7.984 kB / 0.8599 GB, free: 39.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.014e-05/2.273, allocations: 31.91 kB / 0.86 GB, free: 39.41 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-05/2.273, allocations: 27.98 kB / 0.86 GB, free: 39.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000179/2.273, allocations: 156.5 kB / 0.8601 GB, free: 39.23 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/2.273, allocations: 0 / 0.8601 GB, free: 39.23 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009805/2.274, allocations: 163.9 kB / 0.8603 GB, free: 39.07 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.002508/2.277, allocations: 1.931 MB / 0.8622 GB, free: 37.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009/2.278, allocations: 353.5 kB / 0.8625 GB, free: 36.74 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/2.278, allocations: 0 / 0.8625 GB, free: 36.74 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003176/2.278, allocations: 209.7 kB / 0.8627 GB, free: 36.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/2.279, allocations: 122.3 kB / 0.8628 GB, free: 36.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/2.281, allocations: 0.5766 MB / 0.8634 GB, free: 35.78 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/2.281, allocations: 0.7718 MB / 0.8642 GB, free: 34.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005061/2.282, allocations: 135.4 kB / 0.8643 GB, free: 34.85 MB / 410.7 MB Notification: Performance of SimCode: time 9.42e-07/2.282, allocations: 4 kB / 0.8643 GB, free: 34.84 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.964/5.246, allocations: 12.42 MB / 0.8764 GB, free: 22.41 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.IdealGases.Nitrogen_res.mat does not exist to compare? outputFormat=mat