Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_Inverse_sh_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.734/1.734, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.191e-05/4.233e-05, allocations: 0 / 225.1 MB, free: 2.141 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.271, allocations: 38.78 MB / 263.9 MB, free: 9.793 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.833/2.104, allocations: 0.6361 GB / 0.8938 GB, free: 13.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/2.105, allocations: 74.39 kB / 0.8939 GB, free: 13.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5224/2.627, allocations: 117 MB / 1.008 GB, free: 51.18 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.803e-06/2.627, allocations: 0 / 1.008 GB, free: 51.18 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.867e-06/2.627, allocations: 0 / 1.008 GB, free: 51.18 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.001371/2.629, allocations: 0.5604 MB / 1.009 GB, free: 50.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.303e-05/2.629, allocations: 8.031 kB / 1.009 GB, free: 50.56 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.848e-05/2.629, allocations: 36.36 kB / 1.009 GB, free: 50.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000153/2.629, allocations: 19.91 kB / 1.009 GB, free: 50.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/2.629, allocations: 175 kB / 1.009 GB, free: 50.29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.69e-05/2.629, allocations: 8 kB / 1.009 GB, free: 50.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/2.629, allocations: 0 / 1.009 GB, free: 50.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001447/2.629, allocations: 59.36 kB / 1.009 GB, free: 50.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/2.629, allocations: 0 / 1.009 GB, free: 50.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.698e-05/2.629, allocations: 11.98 kB / 1.009 GB, free: 50.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/2.629, allocations: 0 / 1.009 GB, free: 50.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.377e-05/2.629, allocations: 15.94 kB / 1.009 GB, free: 50.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001917/2.63, allocations: 178.5 kB / 1.009 GB, free: 49.96 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003033/2.63, allocations: 81.27 kB / 1.009 GB, free: 49.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.381e-05/2.63, allocations: 25.77 kB / 1.009 GB, free: 49.83 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1362/2.766, allocations: 35.88 MB / 1.044 GB, free: 10.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/2.766, allocations: 38.5 kB / 1.044 GB, free: 10.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 3.056e-06/2.766, allocations: 0 / 1.044 GB, free: 10.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002994/2.767, allocations: 65.53 kB / 1.044 GB, free: 10.38 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/2.767, allocations: 81.11 kB / 1.045 GB, free: 10.28 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.833e-05/2.767, allocations: 109 kB / 1.045 GB, free: 10.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/2.767, allocations: 25.7 kB / 1.045 GB, free: 10.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.078e-05/2.767, allocations: 88.08 kB / 1.045 GB, free: 10.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/2.767, allocations: 11.81 kB / 1.045 GB, free: 10.04 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/2.767, allocations: 0 / 1.045 GB, free: 10.04 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.559e-05/2.767, allocations: 322.8 kB / 1.045 GB, free: 9.711 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.093e-05/2.767, allocations: 7.938 kB / 1.045 GB, free: 9.703 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.172e-05/2.767, allocations: 29.59 kB / 1.045 GB, free: 9.672 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.337e-05/2.767, allocations: 15.98 kB / 1.045 GB, free: 9.656 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/2.767, allocations: 0 / 1.045 GB, free: 9.656 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001709/2.767, allocations: 61.59 kB / 1.045 GB, free: 9.59 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/2.767, allocations: 7.938 kB / 1.045 GB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/2.767, allocations: 0 / 1.045 GB, free: 9.582 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/2.767, allocations: 3.953 kB / 1.045 GB, free: 9.578 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001597/2.768, allocations: 15.98 kB / 1.045 GB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/2.768, allocations: 0 / 1.045 GB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.958e-05/2.768, allocations: 15.92 kB / 1.045 GB, free: 9.547 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/2.768, allocations: 0 / 1.045 GB, free: 9.547 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.614e-05/2.768, allocations: 109 kB / 1.045 GB, free: 9.434 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.319e-05/2.768, allocations: 3.906 kB / 1.045 GB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003066/2.768, allocations: 105.8 kB / 1.045 GB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/2.768, allocations: 7.953 kB / 1.045 GB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/2.768, allocations: 0 / 1.045 GB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/2.768, allocations: 0 / 1.045 GB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001344/2.768, allocations: 173.6 kB / 1.046 GB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/2.768, allocations: 0 / 1.046 GB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001244/2.768, allocations: 11.98 kB / 1.046 GB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/2.769, allocations: 0 / 1.046 GB, free: 9.074 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/2.769, allocations: 4 kB / 1.046 GB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/2.769, allocations: 0 / 1.046 GB, free: 9.07 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/2.769, allocations: 3.953 kB / 1.046 GB, free: 9.066 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/2.769, allocations: 111.5 kB / 1.046 GB, free: 8.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.436e-05/2.769, allocations: 89.08 kB / 1.046 GB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/2.769, allocations: 8 kB / 1.046 GB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/2.769, allocations: 3.953 kB / 1.046 GB, free: 8.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/2.769, allocations: 7.984 kB / 1.046 GB, free: 8.805 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/2.769, allocations: 7.938 kB / 1.046 GB, free: 8.797 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.979e-05/2.769, allocations: 103.6 kB / 1.046 GB, free: 8.695 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/2.769, allocations: 3.938 kB / 1.046 GB, free: 8.691 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001471/2.771, allocations: 331.5 kB / 1.046 GB, free: 8.367 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.00316/2.774, allocations: 1.34 MB / 1.048 GB, free: 6.996 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001975/2.774, allocations: 27.98 kB / 1.048 GB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/2.774, allocations: 0 / 1.048 GB, free: 6.969 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.946e-05/2.774, allocations: 19.94 kB / 1.048 GB, free: 6.949 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/2.774, allocations: 7.984 kB / 1.048 GB, free: 6.941 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001242/2.776, allocations: 302.8 kB / 1.048 GB, free: 6.605 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/2.776, allocations: 0.6848 MB / 1.049 GB, free: 5.895 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001804/2.776, allocations: 48.28 kB / 1.049 GB, free: 5.844 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.952e-05/2.776, allocations: 27.42 kB / 1.049 GB, free: 5.816 MB / 362.7 MB Notification: Performance of SimCode: time 1.302e-06/2.776, allocations: 0 / 1.049 GB, free: 5.816 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2924/3.069, allocations: 11.18 MB / 1.06 GB, free: 103.8 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/3.069, allocations: 156.1 kB / 1.06 GB, free: 103.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.251/6.32, allocations: 0 / 1.06 GB, free: 103.5 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T_res.mat does not exist to compare? outputFormat=mat