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.996/1.996, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.782e-05/2.774e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3065, allocations: 44.51 MB / 294.2 MB, free: 14.46 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.13/1.437, allocations: 446.4 MB / 0.7232 GB, free: 4.285 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/1.437, allocations: 72.7 kB / 0.7233 GB, free: 4.246 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3698/1.807, allocations: 29.17 MB / 0.7518 GB, free: 153.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.623e-06/1.807, allocations: 4 kB / 0.7518 GB, free: 153.6 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.358e-05/1.807, allocations: 0 / 0.7518 GB, free: 153.6 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.0004865/1.808, allocations: 394.5 kB / 0.7522 GB, free: 153.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/1.808, allocations: 12.03 kB / 0.7522 GB, free: 153.2 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002663/1.811, allocations: 175.7 kB / 0.7524 GB, free: 153 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002876/1.811, allocations: 203 kB / 0.7526 GB, free: 152.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/1.811, allocations: 7.938 kB / 0.7526 GB, free: 152.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/1.811, allocations: 7.953 kB / 0.7526 GB, free: 152.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004429/1.811, allocations: 148 kB / 0.7527 GB, free: 152.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002744/1.812, allocations: 135.4 kB / 0.7528 GB, free: 152.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/1.812, allocations: 0 / 0.7528 GB, free: 152.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/1.812, allocations: 0 / 0.7528 GB, free: 152.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.812, allocations: 4 kB / 0.7528 GB, free: 152.4 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.001247/1.813, allocations: 0.5476 MB / 0.7534 GB, free: 151.9 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003182/1.813, allocations: 122.7 kB / 0.7535 GB, free: 151.7 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/1.814, allocations: 64.78 kB / 0.7536 GB, free: 151.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.192e-05/1.814, allocations: 8 kB / 0.7536 GB, free: 151.7 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.902e-05/1.814, allocations: 30.56 kB / 0.7536 GB, free: 151.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=14): time 2.495e-06/1.814, allocations: 4 kB / 0.7536 GB, free: 151.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=19): time 0.006171/1.82, allocations: 0.8914 MB / 0.7545 GB, free: 150.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/1.82, allocations: 51.41 kB / 0.7545 GB, free: 150.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.536e-05/1.82, allocations: 105 kB / 0.7546 GB, free: 150.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/1.82, allocations: 29.64 kB / 0.7546 GB, free: 150.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.223e-05/1.82, allocations: 91.95 kB / 0.7547 GB, free: 150.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/1.82, allocations: 71.03 kB / 0.7548 GB, free: 150.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/1.82, allocations: 0 / 0.7548 GB, free: 150.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.14e-05/1.82, allocations: 322.8 kB / 0.7551 GB, free: 149.9 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000142/1.82, allocations: 60 kB / 0.7552 GB, free: 149.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/1.821, allocations: 91.59 kB / 0.7553 GB, free: 149.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001967/1.821, allocations: 68.91 kB / 0.7553 GB, free: 149.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.821, allocations: 0 / 0.7553 GB, free: 149.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005309/1.821, allocations: 236.6 kB / 0.7555 GB, free: 149.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/1.821, allocations: 4 kB / 0.7556 GB, free: 149.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.821, allocations: 0 / 0.7556 GB, free: 149.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001902/1.822, allocations: 44.78 kB / 0.7556 GB, free: 149.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005262/1.822, allocations: 51.97 kB / 0.7556 GB, free: 149.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004213/1.823, allocations: 0.5758 MB / 0.7562 GB, free: 148.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002753/1.823, allocations: 4.031 kB / 0.7562 GB, free: 148.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.795e-05/1.823, allocations: 27.98 kB / 0.7562 GB, free: 148.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.0001198/1.823, allocations: 112.7 kB / 0.7563 GB, free: 148.6 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005049/1.824, allocations: 210.4 kB / 0.7565 GB, free: 148.4 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.785e-05/1.824, allocations: 15.89 kB / 0.7566 GB, free: 148.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009906/1.825, allocations: 319.2 kB / 0.7569 GB, free: 148.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/1.825, allocations: 4 kB / 0.7569 GB, free: 148.1 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.825, allocations: 0 / 0.7569 GB, free: 148.1 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.825, allocations: 3.984 kB / 0.7569 GB, free: 148.1 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/1.826, allocations: 0.5453 MB / 0.7574 GB, free: 147.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/1.826, allocations: 8.094 kB / 0.7574 GB, free: 147.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005766/1.826, allocations: 67.83 kB / 0.7575 GB, free: 147.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001074/1.826, allocations: 16.84 kB / 0.7575 GB, free: 147.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/1.827, allocations: 11.98 kB / 0.7575 GB, free: 147.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007804/1.827, allocations: 1.225 MB / 0.7587 GB, free: 146 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/1.827, allocations: 0 / 0.7587 GB, free: 146 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007135/1.828, allocations: 452.1 kB / 0.7591 GB, free: 145.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.152e-05/1.828, allocations: 88.95 kB / 0.7592 GB, free: 145.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/1.828, allocations: 3.984 kB / 0.7592 GB, free: 145.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000335/1.829, allocations: 4 kB / 0.7592 GB, free: 145.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/1.829, allocations: 28.03 kB / 0.7592 GB, free: 145.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.983e-05/1.829, allocations: 31.94 kB / 0.7593 GB, free: 145.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.555e-05/1.829, allocations: 83.28 kB / 0.7594 GB, free: 145.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.829, allocations: 0 / 0.7594 GB, free: 145.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006707/1.829, allocations: 104 kB / 0.7595 GB, free: 145.2 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.001972/1.831, allocations: 1.686 MB / 0.7611 GB, free: 143.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005622/1.832, allocations: 175.9 kB / 0.7613 GB, free: 143.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/1.832, allocations: 192 / 0.7613 GB, free: 143.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003366/1.832, allocations: 209.7 kB / 0.7615 GB, free: 143.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/1.833, allocations: 39.91 kB / 0.7615 GB, free: 143.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/1.834, allocations: 369.5 kB / 0.7619 GB, free: 142.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001662/1.834, allocations: 0.7124 MB / 0.7626 GB, free: 142 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00071/1.835, allocations: 77.41 kB / 0.7626 GB, free: 141.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/1.835, allocations: 67.39 kB / 0.7627 GB, free: 141.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.022e-06/1.835, allocations: 0 / 0.7627 GB, free: 141.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05287/1.888, allocations: 9.493 MB / 0.772 GB, free: 132.3 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00024/1.889, allocations: 129.1 kB / 0.7721 GB, free: 132.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.928/4.816, allocations: 0 / 0.7721 GB, free: 132.1 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