Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.087/2.087, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.871e-05/4.879e-05, allocations: 6.031 kB / 292.7 MB, free: 8.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 50.42 MB / 343.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 18.94/19.05, allocations: 6.137 GB / 6.472 GB, free: 101.6 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/19.05, allocations: 80.45 kB / 6.473 GB, free: 101.6 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.206/20.26, allocations: 192.4 MB / 6.66 GB, free: 85.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.964e-06/20.26, allocations: 0 / 6.66 GB, free: 85.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.426e-06/20.26, allocations: 0 / 6.66 GB, free: 85.5 MB / 458.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.005515/20.26, allocations: 1.102 MB / 6.662 GB, free: 84.78 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.323e-05/20.26, allocations: 7.281 kB / 6.662 GB, free: 84.78 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.542e-05/20.26, allocations: 30.56 kB / 6.662 GB, free: 84.74 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.741e-05/20.26, allocations: 3.938 kB / 6.662 GB, free: 84.74 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/20.26, allocations: 198.8 kB / 6.662 GB, free: 84.54 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.068e-05/20.26, allocations: 7.891 kB / 6.662 GB, free: 84.53 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/20.26, allocations: 6.188 kB / 6.662 GB, free: 84.53 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001652/20.26, allocations: 64.23 kB / 6.662 GB, free: 84.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/20.26, allocations: 0 / 6.662 GB, free: 84.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.739e-05/20.26, allocations: 3.969 kB / 6.662 GB, free: 84.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/20.26, allocations: 0 / 6.662 GB, free: 84.48 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001183/20.26, allocations: 28.08 kB / 6.662 GB, free: 84.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00023/20.27, allocations: 190 kB / 6.662 GB, free: 84.29 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003813/20.27, allocations: 99.28 kB / 6.662 GB, free: 84.23 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.135e-05/20.27, allocations: 24.84 kB / 6.662 GB, free: 84.21 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.905e-05/20.27, allocations: 14.66 kB / 6.662 GB, free: 84.21 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/20.27, allocations: 38.5 kB / 6.662 GB, free: 84.17 MB / 458.7 MB Notification: Performance of pre-optimization done (n=6): time 1.693e-06/20.27, allocations: 0 / 6.662 GB, free: 84.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002535/20.27, allocations: 78.77 kB / 6.662 GB, free: 84.14 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.291e-05/20.27, allocations: 78.55 kB / 6.662 GB, free: 84.04 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/20.27, allocations: 129.5 kB / 6.662 GB, free: 83.95 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/20.27, allocations: 25.7 kB / 6.662 GB, free: 83.91 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/20.27, allocations: 86.67 kB / 6.663 GB, free: 83.83 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.867e-05/20.27, allocations: 25.39 kB / 6.663 GB, free: 83.81 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.456e-06/20.27, allocations: 5.094 kB / 6.663 GB, free: 83.81 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.629e-05/20.27, allocations: 321.2 kB / 6.663 GB, free: 83.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.609e-05/20.27, allocations: 14.97 kB / 6.663 GB, free: 83.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.411e-05/20.27, allocations: 28.91 kB / 6.663 GB, free: 83.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.512e-05/20.27, allocations: 18.75 kB / 6.663 GB, free: 83.48 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/20.27, allocations: 0 / 6.663 GB, free: 83.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000198/20.27, allocations: 79.55 kB / 6.663 GB, free: 83.44 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/20.27, allocations: 7.203 kB / 6.663 GB, free: 83.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/20.27, allocations: 4 kB / 6.663 GB, free: 83.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/20.27, allocations: 0 / 6.663 GB, free: 83.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/20.27, allocations: 14.94 kB / 6.663 GB, free: 83.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/20.27, allocations: 0 / 6.663 GB, free: 83.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.741e-05/20.27, allocations: 7.594 kB / 6.663 GB, free: 83.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.713e-05/20.27, allocations: 10.62 kB / 6.663 GB, free: 83.43 MB / 458.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.378e-05/20.27, allocations: 101 kB / 6.663 GB, free: 83.32 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.952e-05/20.27, allocations: 15.44 kB / 6.663 GB, free: 83.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003012/20.27, allocations: 114 kB / 6.663 GB, free: 83.27 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/20.27, allocations: 0 / 6.663 GB, free: 83.27 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/20.27, allocations: 0 / 6.663 GB, free: 83.27 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/20.27, allocations: 0 / 6.663 GB, free: 83.27 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/20.27, allocations: 174.4 kB / 6.663 GB, free: 83.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/20.27, allocations: 0 / 6.663 GB, free: 83.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/20.27, allocations: 15.27 kB / 6.663 GB, free: 83.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/20.27, allocations: 0 / 6.663 GB, free: 83.08 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/20.27, allocations: 3.953 kB / 6.663 GB, free: 83.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/20.27, allocations: 3.531 kB / 6.663 GB, free: 83.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/20.27, allocations: 384 / 6.663 GB, free: 83.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002384/20.27, allocations: 128 kB / 6.664 GB, free: 82.98 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.786e-05/20.27, allocations: 93.44 kB / 6.664 GB, free: 82.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.809e-05/20.27, allocations: 7.891 kB / 6.664 GB, free: 82.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000132/20.27, allocations: 7.125 kB / 6.664 GB, free: 82.88 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/20.27, allocations: 7.562 kB / 6.664 GB, free: 82.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/20.27, allocations: 11.27 kB / 6.664 GB, free: 82.87 MB / 458.7 MB Notification: Performance of sorting global known variables: time 8.487e-05/20.27, allocations: 106.9 kB / 6.664 GB, free: 82.8 MB / 458.7 MB Notification: Performance of sort global known variables: time 4.3e-07/20.27, allocations: 0 / 6.664 GB, free: 82.8 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005002/20.27, allocations: 0.9863 MB / 6.665 GB, free: 81.92 MB / 458.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.01065/20.28, allocations: 2.09 MB / 6.667 GB, free: 80.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002326/20.28, allocations: 38.83 kB / 6.667 GB, free: 79.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/20.28, allocations: 3.938 kB / 6.667 GB, free: 79.99 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 6.664e-05/20.28, allocations: 27.5 kB / 6.667 GB, free: 79.96 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/20.29, allocations: 26.12 kB / 6.667 GB, free: 79.95 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003927/20.29, allocations: 0.5292 MB / 6.667 GB, free: 79.43 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001612/20.29, allocations: 0.688 MB / 6.668 GB, free: 78.72 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0001133/20.29, allocations: 15.44 kB / 6.668 GB, free: 78.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.127e-05/20.29, allocations: 21.84 kB / 6.668 GB, free: 78.69 MB / 458.7 MB Notification: Performance of SimCode: time 1.323e-06/20.29, allocations: 0 / 6.668 GB, free: 78.69 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0829/20.37, allocations: 30.24 MB / 6.698 GB, free: 58.6 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002229/20.37, allocations: 197.7 kB / 6.698 GB, free: 58.38 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.406/24.78, allocations: 0 / 6.698 GB, free: 58.38 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat