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 2.126/2.126, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.316e-05/4.342e-05, allocations: 4 kB / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 44.51 MB / 299.9 MB, free: 6.531 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.86/19.96, allocations: 6.544 GB / 6.836 GB, free: 93.46 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002376/19.96, allocations: 76.92 kB / 6.837 GB, free: 93.46 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.006/20.97, allocations: 179.2 MB / 7.011 GB, free: 69.28 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.635e-06/20.97, allocations: 4 kB / 7.012 GB, free: 69.27 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.037e-06/20.97, allocations: 0 / 7.012 GB, free: 69.27 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.007007/20.98, allocations: 1.086 MB / 7.013 GB, free: 68.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.016e-05/20.98, allocations: 7.781 kB / 7.013 GB, free: 68.63 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.961e-05/20.98, allocations: 33.44 kB / 7.013 GB, free: 68.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.875e-05/20.98, allocations: 8.594 kB / 7.013 GB, free: 68.59 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/20.98, allocations: 192.8 kB / 7.013 GB, free: 68.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.58e-05/20.98, allocations: 1.312 kB / 7.013 GB, free: 68.39 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.945e-05/20.98, allocations: 7.375 kB / 7.013 GB, free: 68.39 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002327/20.98, allocations: 73.39 kB / 7.013 GB, free: 68.34 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/20.98, allocations: 0 / 7.013 GB, free: 68.34 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.237e-05/20.98, allocations: 3.953 kB / 7.013 GB, free: 68.34 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/20.98, allocations: 3.969 kB / 7.013 GB, free: 68.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/20.98, allocations: 29.19 kB / 7.013 GB, free: 68.34 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003189/20.98, allocations: 181.2 kB / 7.013 GB, free: 68.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000549/20.98, allocations: 105.8 kB / 7.013 GB, free: 68.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/20.98, allocations: 27.27 kB / 7.013 GB, free: 68.07 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/20.98, allocations: 17.8 kB / 7.013 GB, free: 68.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.795e-05/20.98, allocations: 30.56 kB / 7.013 GB, free: 68.04 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 3.697e-06/20.98, allocations: 4 kB / 7.013 GB, free: 68.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003984/20.98, allocations: 80.22 kB / 7.013 GB, free: 68 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.759e-05/20.98, allocations: 86.59 kB / 7.013 GB, free: 67.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001994/20.98, allocations: 122.5 kB / 7.014 GB, free: 67.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/20.98, allocations: 25.7 kB / 7.014 GB, free: 67.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.047e-05/20.98, allocations: 155.2 kB / 7.014 GB, free: 67.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.408e-05/20.98, allocations: 22.95 kB / 7.014 GB, free: 67.61 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.222e-05/20.98, allocations: 0 / 7.014 GB, free: 67.61 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.077e-05/20.98, allocations: 318.3 kB / 7.014 GB, free: 67.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.855e-05/20.98, allocations: 15.42 kB / 7.014 GB, free: 67.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/20.98, allocations: 28.03 kB / 7.014 GB, free: 67.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.838e-05/20.98, allocations: 19.66 kB / 7.014 GB, free: 67.28 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/20.98, allocations: 0 / 7.014 GB, free: 67.28 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003323/20.98, allocations: 80.38 kB / 7.014 GB, free: 67.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.613e-05/20.98, allocations: 4.906 kB / 7.014 GB, free: 67.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/20.98, allocations: 3.969 kB / 7.014 GB, free: 67.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.144e-05/20.98, allocations: 0 / 7.014 GB, free: 67.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/20.98, allocations: 21.34 kB / 7.014 GB, free: 67.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/20.98, allocations: 0 / 7.014 GB, free: 67.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/20.98, allocations: 11.42 kB / 7.014 GB, free: 67.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/20.98, allocations: 9.953 kB / 7.014 GB, free: 67.24 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 0.0001013/20.98, allocations: 103 kB / 7.014 GB, free: 67.13 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.655e-05/20.98, allocations: 11.67 kB / 7.014 GB, free: 67.13 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004788/20.98, allocations: 105.9 kB / 7.014 GB, free: 67.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.944e-06/20.98, allocations: 3.562 kB / 7.014 GB, free: 67.09 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/20.98, allocations: 7.281 kB / 7.014 GB, free: 67.09 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/20.98, allocations: 0 / 7.014 GB, free: 67.09 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002201/20.98, allocations: 176.5 kB / 7.015 GB, free: 66.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/20.98, allocations: 0 / 7.015 GB, free: 66.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/20.98, allocations: 14.27 kB / 7.015 GB, free: 66.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/20.98, allocations: 3.969 kB / 7.015 GB, free: 66.89 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/20.98, allocations: 0 / 7.015 GB, free: 66.89 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/20.98, allocations: 0 / 7.015 GB, free: 66.89 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/20.98, allocations: 0 / 7.015 GB, free: 66.89 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003875/20.98, allocations: 131.5 kB / 7.015 GB, free: 66.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001334/20.98, allocations: 91.77 kB / 7.015 GB, free: 66.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/20.98, allocations: 7.188 kB / 7.015 GB, free: 66.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/20.98, allocations: 6.688 kB / 7.015 GB, free: 66.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.93e-05/20.98, allocations: 6.531 kB / 7.015 GB, free: 66.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.422e-05/20.98, allocations: 13.64 kB / 7.015 GB, free: 66.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001284/20.98, allocations: 109.7 kB / 7.015 GB, free: 66.62 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.82e-07/20.98, allocations: 0 / 7.015 GB, free: 66.62 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006636/20.99, allocations: 0.9848 MB / 7.016 GB, free: 66.5 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.01494/21.01, allocations: 2.096 MB / 7.018 GB, free: 65.63 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003103/21.01, allocations: 38.47 kB / 7.018 GB, free: 65.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/21.01, allocations: 3.344 kB / 7.018 GB, free: 65.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001079/21.01, allocations: 21.44 kB / 7.018 GB, free: 65.63 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/21.01, allocations: 19.3 kB / 7.018 GB, free: 65.62 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004833/21.01, allocations: 0.5602 MB / 7.019 GB, free: 65.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001932/21.01, allocations: 0.6867 MB / 7.019 GB, free: 64.63 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/21.01, allocations: 25.56 kB / 7.019 GB, free: 64.63 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/21.01, allocations: 0 / 7.019 GB, free: 64.63 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.524/24.54, allocations: 23.01 MB / 7.042 GB, free: 61.34 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