Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.95/1.95, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.552e-05/2.549e-05, allocations: 8 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3059, allocations: 44.48 MB / 294.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.24/19.55, allocations: 6.543 GB / 6.83 GB, free: 102.9 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/19.55, allocations: 71.92 kB / 6.83 GB, free: 102.9 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9697/20.52, allocations: 176.1 MB / 7.002 GB, free: 73.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.513e-06/20.52, allocations: 0 / 7.002 GB, free: 73.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.115e-06/20.52, allocations: 0 / 7.002 GB, free: 73.47 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.005115/20.52, allocations: 1.083 MB / 7.003 GB, free: 72.85 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/20.52, allocations: 7.781 kB / 7.003 GB, free: 72.85 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.149e-05/20.52, allocations: 8.844 kB / 7.003 GB, free: 72.85 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001964/20.52, allocations: 193 kB / 7.004 GB, free: 72.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/20.52, allocations: 0 / 7.004 GB, free: 72.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.82e-05/20.52, allocations: 5.562 kB / 7.004 GB, free: 72.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001267/20.52, allocations: 29.41 kB / 7.004 GB, free: 72.65 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/20.52, allocations: 68.09 kB / 7.004 GB, free: 72.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/20.52, allocations: 3.562 kB / 7.004 GB, free: 72.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/20.52, allocations: 3.953 kB / 7.004 GB, free: 72.6 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/20.52, allocations: 7.422 kB / 7.004 GB, free: 72.6 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/20.52, allocations: 161.7 kB / 7.004 GB, free: 72.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/20.52, allocations: 97.06 kB / 7.004 GB, free: 72.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.429e-05/20.52, allocations: 23.56 kB / 7.004 GB, free: 72.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.512e-05/20.52, allocations: 14.02 kB / 7.004 GB, free: 72.37 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/20.52, allocations: 32.81 kB / 7.004 GB, free: 72.33 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.026e-06/20.52, allocations: 4 kB / 7.004 GB, free: 72.32 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.001026/20.52, allocations: 162.8 kB / 7.004 GB, free: 72.29 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/20.52, allocations: 79.95 kB / 7.004 GB, free: 72.2 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/20.52, allocations: 125 kB / 7.004 GB, free: 72.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.533e-05/20.52, allocations: 29.53 kB / 7.004 GB, free: 72.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.557e-05/20.52, allocations: 154.8 kB / 7.004 GB, free: 71.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/20.52, allocations: 11.66 kB / 7.004 GB, free: 71.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.725e-06/20.52, allocations: 0 / 7.004 GB, free: 71.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.023e-05/20.52, allocations: 322.1 kB / 7.005 GB, free: 71.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.85e-05/20.52, allocations: 13.94 kB / 7.005 GB, free: 71.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.525e-05/20.52, allocations: 28.08 kB / 7.005 GB, free: 71.58 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007404/20.53, allocations: 106.4 kB / 7.005 GB, free: 71.58 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/20.53, allocations: 0 / 7.005 GB, free: 71.58 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000848/20.53, allocations: 162.2 kB / 7.005 GB, free: 71.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/20.53, allocations: 3.656 kB / 7.005 GB, free: 71.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/20.53, allocations: 3.781 kB / 7.005 GB, free: 71.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/20.53, allocations: 0 / 7.005 GB, free: 71.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/20.53, allocations: 19.34 kB / 7.005 GB, free: 71.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/20.53, allocations: 0 / 7.005 GB, free: 71.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.244e-05/20.53, allocations: 2.953 kB / 7.005 GB, free: 71.54 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/20.53, allocations: 6.781 kB / 7.005 GB, free: 71.54 MB / 410.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.529e-05/20.53, allocations: 114.2 kB / 7.005 GB, free: 71.43 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008588/20.53, allocations: 169 kB / 7.005 GB, free: 71.39 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/20.53, allocations: 3.906 kB / 7.005 GB, free: 71.39 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009515/20.53, allocations: 185.3 kB / 7.006 GB, free: 71.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.7e-06/20.53, allocations: 8.875 kB / 7.006 GB, free: 71.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/20.53, allocations: 0 / 7.006 GB, free: 71.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/20.53, allocations: 3.953 kB / 7.006 GB, free: 71.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001399/20.53, allocations: 154.3 kB / 7.006 GB, free: 71.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/20.53, allocations: 1.312 kB / 7.006 GB, free: 71.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001265/20.53, allocations: 12.45 kB / 7.006 GB, free: 71.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/20.53, allocations: 0 / 7.006 GB, free: 71.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/20.53, allocations: 3.906 kB / 7.006 GB, free: 71.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/20.53, allocations: 1.969 kB / 7.006 GB, free: 71.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/20.53, allocations: 0 / 7.006 GB, free: 71.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008721/20.53, allocations: 209.5 kB / 7.006 GB, free: 71.09 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.93e-05/20.53, allocations: 105.9 kB / 7.006 GB, free: 71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.817e-05/20.53, allocations: 0 / 7.006 GB, free: 71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/20.53, allocations: 7.719 kB / 7.006 GB, free: 71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.633e-05/20.53, allocations: 7.031 kB / 7.006 GB, free: 71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/20.53, allocations: 7.469 kB / 7.006 GB, free: 71 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.232e-05/20.53, allocations: 111.1 kB / 7.006 GB, free: 70.91 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/20.53, allocations: 0 / 7.006 GB, free: 70.91 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005021/20.54, allocations: 0.9713 MB / 7.007 GB, free: 70.8 MB / 410.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.01136/20.55, allocations: 2.217 MB / 7.009 GB, free: 69.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002077/20.55, allocations: 37.83 kB / 7.009 GB, free: 69.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/20.55, allocations: 0 / 7.009 GB, free: 69.92 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.143e-05/20.55, allocations: 26.34 kB / 7.009 GB, free: 69.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/20.55, allocations: 15.33 kB / 7.009 GB, free: 69.91 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/20.55, allocations: 0.5546 MB / 7.01 GB, free: 69.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/20.55, allocations: 0.6906 MB / 7.011 GB, free: 68.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.457e-05/20.55, allocations: 27.44 kB / 7.011 GB, free: 68.94 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/20.55, allocations: 0 / 7.011 GB, free: 68.94 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.403/23.95, allocations: 23.74 MB / 7.034 GB, free: 65.54 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat