Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.773/1.773, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.952e-05/3.965e-05, allocations: 4 kB / 225.1 MB, free: 2.695 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2661, allocations: 38.77 MB / 263.8 MB, free: 9.844 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 19.44/19.7, allocations: 6.537 GB / 6.795 GB, free: 62.76 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002483/19.7, allocations: 76.7 kB / 6.795 GB, free: 62.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9889/20.69, allocations: 178.6 MB / 6.97 GB, free: 35.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.393e-06/20.69, allocations: 0 / 6.97 GB, free: 35.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.486e-06/20.69, allocations: 4 kB / 6.97 GB, free: 35.85 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.005215/20.7, allocations: 1.078 MB / 6.971 GB, free: 34.72 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/20.7, allocations: 15.97 kB / 6.971 GB, free: 34.71 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.909e-05/20.7, allocations: 34.56 kB / 6.971 GB, free: 34.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.081e-05/20.7, allocations: 7.906 kB / 6.971 GB, free: 34.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/20.7, allocations: 198.9 kB / 6.971 GB, free: 34.42 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/20.7, allocations: 0 / 6.971 GB, free: 34.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/20.7, allocations: 4 kB / 6.971 GB, free: 34.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/20.7, allocations: 67.39 kB / 6.971 GB, free: 34.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/20.7, allocations: 0 / 6.971 GB, free: 34.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/20.7, allocations: 0 / 6.971 GB, free: 34.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/20.7, allocations: 8 kB / 6.971 GB, free: 34.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/20.7, allocations: 39.89 kB / 6.971 GB, free: 34.29 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002354/20.7, allocations: 190.5 kB / 6.971 GB, free: 34.05 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003683/20.7, allocations: 93.27 kB / 6.971 GB, free: 33.95 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.194e-05/20.7, allocations: 33.8 kB / 6.971 GB, free: 33.91 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.51e-05/20.7, allocations: 11.98 kB / 6.971 GB, free: 33.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.305e-05/20.7, allocations: 38.55 kB / 6.971 GB, free: 33.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.803e-06/20.7, allocations: 0 / 6.971 GB, free: 33.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.000255/20.7, allocations: 77.52 kB / 6.971 GB, free: 33.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/20.7, allocations: 77.11 kB / 6.971 GB, free: 33.67 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/20.7, allocations: 129.2 kB / 6.972 GB, free: 33.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/20.7, allocations: 29.7 kB / 6.972 GB, free: 33.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/20.7, allocations: 150.6 kB / 6.972 GB, free: 33.35 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/20.7, allocations: 23.66 kB / 6.972 GB, free: 33.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/20.7, allocations: 0 / 6.972 GB, free: 33.33 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.87e-05/20.7, allocations: 314.8 kB / 6.972 GB, free: 33.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.796e-05/20.7, allocations: 19.98 kB / 6.972 GB, free: 32.99 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.406e-05/20.7, allocations: 33.64 kB / 6.972 GB, free: 32.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.153e-05/20.7, allocations: 15.98 kB / 6.972 GB, free: 32.94 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/20.7, allocations: 4 kB / 6.972 GB, free: 32.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001884/20.7, allocations: 73.66 kB / 6.972 GB, free: 32.86 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/20.7, allocations: 4 kB / 6.972 GB, free: 32.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/20.7, allocations: 384 / 6.972 GB, free: 32.85 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/20.7, allocations: 3.938 kB / 6.972 GB, free: 32.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/20.7, allocations: 19.61 kB / 6.972 GB, free: 32.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/20.7, allocations: 0 / 6.972 GB, free: 32.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.72e-05/20.7, allocations: 11.94 kB / 6.972 GB, free: 32.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.972e-05/20.7, allocations: 4 kB / 6.972 GB, free: 32.82 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.182e-05/20.7, allocations: 108.9 kB / 6.972 GB, free: 32.7 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.704e-05/20.7, allocations: 11.89 kB / 6.972 GB, free: 32.69 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/20.7, allocations: 105 kB / 6.972 GB, free: 32.58 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/20.7, allocations: 48 / 6.972 GB, free: 32.58 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/20.7, allocations: 3.984 kB / 6.972 GB, free: 32.57 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/20.7, allocations: 0 / 6.972 GB, free: 32.57 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001477/20.7, allocations: 177.6 kB / 6.973 GB, free: 32.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/20.7, allocations: 4 kB / 6.973 GB, free: 32.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001306/20.7, allocations: 11.98 kB / 6.973 GB, free: 32.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/20.7, allocations: 7.938 kB / 6.973 GB, free: 32.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/20.7, allocations: 4 kB / 6.973 GB, free: 32.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/20.7, allocations: 0 / 6.973 GB, free: 32.32 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/20.7, allocations: 3.938 kB / 6.973 GB, free: 32.32 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/20.7, allocations: 123.5 kB / 6.973 GB, free: 32.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.04e-05/20.7, allocations: 96.92 kB / 6.973 GB, free: 32.06 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/20.7, allocations: 12 kB / 6.973 GB, free: 32.05 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001461/20.7, allocations: 7.984 kB / 6.973 GB, free: 32.04 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/20.7, allocations: 3.984 kB / 6.973 GB, free: 32.04 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.885e-05/20.7, allocations: 4 kB / 6.973 GB, free: 32.03 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.403e-05/20.7, allocations: 111.3 kB / 6.973 GB, free: 31.92 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.2e-07/20.7, allocations: 0 / 6.973 GB, free: 31.92 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004743/20.71, allocations: 0.9678 MB / 6.974 GB, free: 30.95 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.01038/20.72, allocations: 2.106 MB / 6.976 GB, free: 28.82 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002216/20.72, allocations: 47.92 kB / 6.976 GB, free: 28.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/20.72, allocations: 0 / 6.976 GB, free: 28.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.604e-05/20.72, allocations: 20 kB / 6.976 GB, free: 28.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/20.72, allocations: 15.98 kB / 6.976 GB, free: 28.74 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003618/20.72, allocations: 0.5545 MB / 6.977 GB, free: 28.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001533/20.72, allocations: 0.6926 MB / 6.977 GB, free: 27.42 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.161e-05/20.72, allocations: 19.44 kB / 6.977 GB, free: 27.4 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/20.72, allocations: 0 / 6.977 GB, free: 27.4 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.559/24.28, allocations: 22.94 MB / 7 GB, free: 4.457 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat