Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.816/1.816, allocations: 171.3 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.704e-05/2.698e-05, allocations: 4 kB / 219.5 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2606/0.2607, allocations: 38.77 MB / 258.3 MB, free: 12.15 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19/19.26, allocations: 6.537 GB / 6.789 GB, free: 85.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/19.26, allocations: 70.69 kB / 6.789 GB, free: 85.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9504/20.21, allocations: 175.5 MB / 6.961 GB, free: 58.32 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/20.21, allocations: 0 / 6.961 GB, free: 58.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/20.21, allocations: 0 / 6.961 GB, free: 58.32 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.005089/20.22, allocations: 1.08 MB / 6.962 GB, free: 57.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/20.22, allocations: 10.28 kB / 6.962 GB, free: 57.64 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.686e-05/20.22, allocations: 11.59 kB / 6.962 GB, free: 57.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001866/20.22, allocations: 192.8 kB / 6.962 GB, free: 57.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/20.22, allocations: 4 kB / 6.962 GB, free: 57.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/20.22, allocations: 0 / 6.962 GB, free: 57.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001187/20.22, allocations: 33.55 kB / 6.962 GB, free: 57.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/20.22, allocations: 65.05 kB / 6.962 GB, free: 57.37 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/20.22, allocations: 2.406 kB / 6.962 GB, free: 57.37 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/20.22, allocations: 0 / 6.962 GB, free: 57.37 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-06/20.22, allocations: 0 / 6.962 GB, free: 57.37 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/20.22, allocations: 176.5 kB / 6.962 GB, free: 57.18 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000348/20.22, allocations: 82.83 kB / 6.962 GB, free: 57.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.143e-05/20.22, allocations: 29.17 kB / 6.962 GB, free: 57.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.166e-05/20.22, allocations: 15.19 kB / 6.962 GB, free: 57.11 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/20.22, allocations: 38.5 kB / 6.962 GB, free: 57.07 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/20.22, allocations: 0 / 6.962 GB, free: 57.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.001058/20.22, allocations: 164 kB / 6.962 GB, free: 57.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/20.22, allocations: 81.11 kB / 6.962 GB, free: 56.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/20.22, allocations: 120.9 kB / 6.963 GB, free: 56.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/20.22, allocations: 29.58 kB / 6.963 GB, free: 56.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/20.22, allocations: 154.6 kB / 6.963 GB, free: 56.64 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/20.22, allocations: 19.27 kB / 6.963 GB, free: 56.62 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.017e-06/20.22, allocations: 3.812 kB / 6.963 GB, free: 56.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.962e-05/20.22, allocations: 322.8 kB / 6.963 GB, free: 56.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.753e-05/20.22, allocations: 11.47 kB / 6.963 GB, free: 56.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.967e-05/20.22, allocations: 28.84 kB / 6.963 GB, free: 56.28 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007659/20.22, allocations: 99.39 kB / 6.963 GB, free: 56.27 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/20.22, allocations: 0 / 6.963 GB, free: 56.27 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008454/20.22, allocations: 157.4 kB / 6.963 GB, free: 56.23 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/20.22, allocations: 11.39 kB / 6.963 GB, free: 56.23 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/20.22, allocations: 0 / 6.963 GB, free: 56.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.769e-05/20.22, allocations: 4 kB / 6.963 GB, free: 56.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/20.22, allocations: 18.22 kB / 6.963 GB, free: 56.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.523e-06/20.22, allocations: 0 / 6.963 GB, free: 56.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.823e-05/20.22, allocations: 11.02 kB / 6.963 GB, free: 56.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/20.22, allocations: 3.938 kB / 6.963 GB, free: 56.22 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.5e-05/20.22, allocations: 101 kB / 6.963 GB, free: 56.11 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008455/20.22, allocations: 168.3 kB / 6.964 GB, free: 56.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.34e-05/20.22, allocations: 7.078 kB / 6.964 GB, free: 56.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009526/20.23, allocations: 188.6 kB / 6.964 GB, free: 56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/20.23, allocations: 0 / 6.964 GB, free: 56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/20.23, allocations: 0 / 6.964 GB, free: 56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/20.23, allocations: 7.734 kB / 6.964 GB, free: 56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/20.23, allocations: 156 kB / 6.964 GB, free: 55.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/20.23, allocations: 0 / 6.964 GB, free: 55.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001343/20.23, allocations: 15.23 kB / 6.964 GB, free: 55.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/20.23, allocations: 3.969 kB / 6.964 GB, free: 55.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/20.23, allocations: 0 / 6.964 GB, free: 55.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/20.23, allocations: 3.75 kB / 6.964 GB, free: 55.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/20.23, allocations: 7.906 kB / 6.964 GB, free: 55.83 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009051/20.23, allocations: 205.3 kB / 6.964 GB, free: 55.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.519e-05/20.23, allocations: 96.09 kB / 6.964 GB, free: 55.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/20.23, allocations: 0 / 6.964 GB, free: 55.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/20.23, allocations: 7.906 kB / 6.964 GB, free: 55.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.976e-05/20.23, allocations: 7.516 kB / 6.964 GB, free: 55.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/20.23, allocations: 8.094 kB / 6.964 GB, free: 55.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.336e-05/20.23, allocations: 110.7 kB / 6.964 GB, free: 55.53 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/20.23, allocations: 0 / 6.964 GB, free: 55.53 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004764/20.23, allocations: 0.9712 MB / 6.965 GB, free: 55.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01123/20.24, allocations: 2.215 MB / 6.968 GB, free: 54.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002101/20.24, allocations: 37.47 kB / 6.968 GB, free: 54.27 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/20.24, allocations: 3.75 kB / 6.968 GB, free: 54.27 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.929e-05/20.24, allocations: 26.05 kB / 6.968 GB, free: 54.27 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/20.24, allocations: 25.22 kB / 6.968 GB, free: 54.26 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003813/20.25, allocations: 0.5474 MB / 6.968 GB, free: 53.92 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001435/20.25, allocations: 0.6851 MB / 6.969 GB, free: 53.23 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.536e-05/20.25, allocations: 25.64 kB / 6.969 GB, free: 53.21 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/20.25, allocations: 0 / 6.969 GB, free: 53.21 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.434/23.68, allocations: 23.67 MB / 6.992 GB, free: 40.73 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat