Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.947/1.947, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.988e-05/3.998e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2709, allocations: 38.77 MB / 263.9 MB, free: 9.816 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 20.09/20.36, allocations: 6.537 GB / 6.795 GB, free: 66.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002382/20.36, allocations: 77.16 kB / 6.795 GB, free: 66.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.002/21.36, allocations: 178.6 MB / 6.97 GB, free: 40.71 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/21.36, allocations: 0 / 6.97 GB, free: 40.71 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.895e-06/21.36, allocations: 0 / 6.97 GB, free: 40.71 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.005485/21.36, allocations: 1.09 MB / 6.971 GB, free: 39.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/21.36, allocations: 8.031 kB / 6.971 GB, free: 39.56 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.292e-05/21.37, allocations: 42.48 kB / 6.971 GB, free: 39.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/21.37, allocations: 7.906 kB / 6.971 GB, free: 39.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/21.37, allocations: 194.9 kB / 6.971 GB, free: 39.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.034e-05/21.37, allocations: 0 / 6.971 GB, free: 39.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/21.37, allocations: 4 kB / 6.971 GB, free: 39.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/21.37, allocations: 67.39 kB / 6.971 GB, free: 39.2 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/21.37, allocations: 0 / 6.971 GB, free: 39.2 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/21.37, allocations: 4 kB / 6.971 GB, free: 39.19 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/21.37, allocations: 0 / 6.971 GB, free: 39.19 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/21.37, allocations: 39.89 kB / 6.971 GB, free: 39.15 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002245/21.37, allocations: 194.4 kB / 6.971 GB, free: 38.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/21.37, allocations: 93.27 kB / 6.971 GB, free: 38.8 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.946e-05/21.37, allocations: 29.86 kB / 6.971 GB, free: 38.77 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.356e-05/21.37, allocations: 15.98 kB / 6.971 GB, free: 38.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/21.37, allocations: 34.5 kB / 6.971 GB, free: 38.71 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.883e-06/21.37, allocations: 4 kB / 6.971 GB, free: 38.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.000252/21.37, allocations: 73.56 kB / 6.971 GB, free: 38.62 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/21.37, allocations: 81.11 kB / 6.972 GB, free: 38.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/21.37, allocations: 129.1 kB / 6.972 GB, free: 38.39 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/21.37, allocations: 25.7 kB / 6.972 GB, free: 38.36 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.978e-05/21.37, allocations: 88.14 kB / 6.972 GB, free: 38.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.421e-05/21.37, allocations: 19.7 kB / 6.972 GB, free: 38.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.759e-06/21.37, allocations: 4 kB / 6.972 GB, free: 38.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.139e-05/21.37, allocations: 314.8 kB / 6.972 GB, free: 37.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.785e-05/21.37, allocations: 19.98 kB / 6.972 GB, free: 37.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.973e-05/21.37, allocations: 25.7 kB / 6.972 GB, free: 37.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.334e-05/21.37, allocations: 19.98 kB / 6.972 GB, free: 37.86 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/21.37, allocations: 0 / 6.972 GB, free: 37.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001888/21.37, allocations: 73.61 kB / 6.972 GB, free: 37.78 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/21.37, allocations: 12.36 kB / 6.972 GB, free: 37.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/21.37, allocations: 0 / 6.972 GB, free: 37.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/21.37, allocations: 0 / 6.972 GB, free: 37.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/21.37, allocations: 12 kB / 6.972 GB, free: 37.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/21.37, allocations: 3.938 kB / 6.972 GB, free: 37.75 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.118e-05/21.37, allocations: 11.83 kB / 6.972 GB, free: 37.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/21.37, allocations: 4 kB / 6.972 GB, free: 37.74 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.252e-05/21.37, allocations: 117.6 kB / 6.972 GB, free: 37.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/21.37, allocations: 4 kB / 6.972 GB, free: 37.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002897/21.37, allocations: 105.3 kB / 6.972 GB, free: 37.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/21.37, allocations: 4 kB / 6.972 GB, free: 37.5 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/21.37, allocations: 48 / 6.972 GB, free: 37.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/21.37, allocations: 3.984 kB / 6.972 GB, free: 37.49 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/21.37, allocations: 181.5 kB / 6.973 GB, free: 37.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/21.37, allocations: 0 / 6.973 GB, free: 37.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001295/21.37, allocations: 16 kB / 6.973 GB, free: 37.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/21.37, allocations: 3.938 kB / 6.973 GB, free: 37.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/21.37, allocations: 11.98 kB / 6.973 GB, free: 37.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/21.37, allocations: 3.938 kB / 6.973 GB, free: 37.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-06/21.37, allocations: 0 / 6.973 GB, free: 37.23 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/21.37, allocations: 115.6 kB / 6.973 GB, free: 37.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.644e-05/21.37, allocations: 101 kB / 6.973 GB, free: 36.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/21.37, allocations: 4 kB / 6.973 GB, free: 36.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/21.37, allocations: 7.984 kB / 6.973 GB, free: 36.96 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/21.37, allocations: 8 kB / 6.973 GB, free: 36.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/21.37, allocations: 7.984 kB / 6.973 GB, free: 36.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.911e-05/21.37, allocations: 103.3 kB / 6.973 GB, free: 36.85 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/21.37, allocations: 0 / 6.973 GB, free: 36.85 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004873/21.37, allocations: 0.9755 MB / 6.974 GB, free: 35.87 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.008772/21.38, allocations: 2.104 MB / 6.976 GB, free: 33.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002239/21.38, allocations: 47.92 kB / 6.976 GB, free: 33.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/21.38, allocations: 0 / 6.976 GB, free: 33.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.697e-05/21.38, allocations: 20 kB / 6.976 GB, free: 33.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/21.38, allocations: 16.77 kB / 6.976 GB, free: 33.66 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003236/21.39, allocations: 0.5333 MB / 6.977 GB, free: 33.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/21.39, allocations: 0.6887 MB / 6.977 GB, free: 32.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001014/21.39, allocations: 19.28 kB / 6.977 GB, free: 32.36 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.236e-05/21.39, allocations: 19.44 kB / 6.977 GB, free: 32.34 MB / 362.7 MB Notification: Performance of SimCode: time 1.192e-06/21.39, allocations: 0 / 6.977 GB, free: 32.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07646/21.46, allocations: 31.75 MB / 7.008 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/21.46, allocations: 194.5 kB / 7.009 GB, free: 400 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.043/25.51, allocations: 7.938 kB / 7.009 GB, free: 392 kB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat