Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.DryAirNasa,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestOnly_DryAirNasa",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.476/2.476, allocations: 235.2 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.196e-05/2.199e-05, allocations: 4 kB / 299.6 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3586/0.3586, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.837/2.196, allocations: 0.6059 GB / 0.9521 GB, free: 69.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/2.196, allocations: 67.22 kB / 0.9521 GB, free: 69.47 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.154/2.35, allocations: 44.6 MB / 0.9957 GB, free: 31.08 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.393e-06/2.35, allocations: 4 kB / 0.9957 GB, free: 31.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.765e-06/2.35, allocations: 4 kB / 0.9957 GB, free: 31.07 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000613/2.351, allocations: 418.9 kB / 0.9961 GB, free: 30.62 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/2.351, allocations: 12.03 kB / 0.9961 GB, free: 30.61 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.946e-05/2.351, allocations: 7.906 kB / 0.9961 GB, free: 30.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.171e-05/2.351, allocations: 167 kB / 0.9963 GB, free: 30.39 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/2.351, allocations: 0 / 0.9963 GB, free: 30.39 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/2.351, allocations: 4 kB / 0.9963 GB, free: 30.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001313/2.351, allocations: 47.92 kB / 0.9963 GB, free: 30.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001185/2.351, allocations: 69.62 kB / 0.9964 GB, free: 30.27 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/2.351, allocations: 0 / 0.9964 GB, free: 30.27 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/2.351, allocations: 4 kB / 0.9964 GB, free: 30.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/2.351, allocations: 0 / 0.9964 GB, free: 30.27 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/2.352, allocations: 362.4 kB / 0.9968 GB, free: 29.86 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/2.352, allocations: 58.5 kB / 0.9968 GB, free: 29.79 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.175e-05/2.352, allocations: 24.81 kB / 0.9968 GB, free: 29.76 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001525/2.354, allocations: 0.9977 MB / 0.9978 GB, free: 28.56 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.176e-05/2.354, allocations: 30.56 kB / 0.9978 GB, free: 28.52 MB / 490.7 MB Notification: Performance of pre-optimization done (n=9): time 3.486e-06/2.354, allocations: 4 kB / 0.9978 GB, free: 28.52 MB / 490.7 MB Notification: Performance of matching and sorting (n=14): time 0.01266/2.366, allocations: 0.8677 MB / 0.9987 GB, free: 27.64 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.183e-05/2.366, allocations: 51.41 kB / 0.9987 GB, free: 27.58 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.677e-05/2.366, allocations: 96.98 kB / 0.9988 GB, free: 27.48 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/2.367, allocations: 29.7 kB / 0.9989 GB, free: 27.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.653e-05/2.367, allocations: 96.17 kB / 0.9989 GB, free: 27.34 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.209e-05/2.367, allocations: 39.36 kB / 0.999 GB, free: 27.3 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.606e-05/2.367, allocations: 0 / 0.999 GB, free: 27.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 6.081e-05/2.367, allocations: 322.8 kB / 0.9993 GB, free: 26.98 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/2.367, allocations: 75.91 kB / 0.9994 GB, free: 26.91 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002073/2.367, allocations: 90.56 kB / 0.9995 GB, free: 26.81 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002014/2.369, allocations: 216 kB / 0.9997 GB, free: 26.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/2.369, allocations: 0 / 0.9997 GB, free: 26.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.002405/2.372, allocations: 357.5 kB / 1 GB, free: 26.24 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/2.372, allocations: 11.92 kB / 1 GB, free: 26.23 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/2.372, allocations: 0 / 1 GB, free: 26.23 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/2.372, allocations: 4 kB / 1 GB, free: 26.23 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009962/2.373, allocations: 47.95 kB / 1 GB, free: 26.18 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/2.373, allocations: 3.984 kB / 1 GB, free: 26.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00077/2.374, allocations: 19.84 kB / 1 GB, free: 26.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/2.374, allocations: 20.03 kB / 1 GB, free: 26.14 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 0.0001239/2.374, allocations: 108.9 kB / 1 GB, free: 26.02 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002415/2.376, allocations: 341.4 kB / 1.001 GB, free: 25.68 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.764e-05/2.376, allocations: 7.906 kB / 1.001 GB, free: 25.68 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002842/2.379, allocations: 463.4 kB / 1.001 GB, free: 25.22 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/2.379, allocations: 4 kB / 1.001 GB, free: 25.21 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/2.379, allocations: 0 / 1.001 GB, free: 25.21 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/2.379, allocations: 4 kB / 1.001 GB, free: 25.21 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/2.382, allocations: 0.824 MB / 1.002 GB, free: 24.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/2.382, allocations: 3.938 kB / 1.002 GB, free: 24.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008805/2.383, allocations: 43.97 kB / 1.002 GB, free: 24.25 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/2.383, allocations: 0 / 1.002 GB, free: 24.25 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.455e-05/2.383, allocations: 11.98 kB / 1.002 GB, free: 24.24 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/2.383, allocations: 0 / 1.002 GB, free: 24.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/2.383, allocations: 0 / 1.002 GB, free: 24.24 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002467/2.386, allocations: 468.9 kB / 1.002 GB, free: 23.77 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/2.386, allocations: 108.9 kB / 1.002 GB, free: 23.64 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.791e-05/2.386, allocations: 0 / 1.002 GB, free: 23.64 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007022/2.387, allocations: 4.25 kB / 1.002 GB, free: 23.64 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.273e-05/2.387, allocations: 15.97 kB / 1.002 GB, free: 23.62 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/2.387, allocations: 16 kB / 1.002 GB, free: 23.61 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.081e-05/2.387, allocations: 79.27 kB / 1.003 GB, free: 23.53 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/2.387, allocations: 8 kB / 1.003 GB, free: 23.52 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0007357/2.388, allocations: 131.9 kB / 1.003 GB, free: 23.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.003799/2.391, allocations: 1.618 MB / 1.004 GB, free: 21.75 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005369/2.392, allocations: 183.9 kB / 1.004 GB, free: 21.57 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/2.392, allocations: 0 / 1.004 GB, free: 21.57 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002608/2.392, allocations: 103.9 kB / 1.004 GB, free: 21.47 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004767/2.393, allocations: 27.92 kB / 1.005 GB, free: 21.45 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009041/2.394, allocations: 241.6 kB / 1.005 GB, free: 21.17 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/2.394, allocations: 0.7005 MB / 1.005 GB, free: 20.45 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0008731/2.395, allocations: 72.73 kB / 1.006 GB, free: 20.37 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004327/2.395, allocations: 35.41 kB / 1.006 GB, free: 20.34 MB / 490.7 MB Notification: Performance of SimCode: time 9.21e-07/2.395, allocations: 3.938 kB / 1.006 GB, free: 20.33 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05568/2.451, allocations: 10.67 MB / 1.016 GB, free: 9.66 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002645/2.451, allocations: 132.1 kB / 1.016 GB, free: 9.469 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.004/5.456, allocations: 0 / 1.016 GB, free: 9.469 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestOnly.DryAirNasa_res.mat does not exist to compare? outputFormat=mat