Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_ReferenceAir_Inverse_sh_TX",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.365/2.365, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.038e-05/4.038e-05, allocations: 3.938 kB / 249.8 MB, free: 5.23 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.135, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 22.72/22.85, allocations: 6.543 GB / 6.83 GB, free: 86.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/22.85, allocations: 78.64 kB / 6.83 GB, free: 86.87 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.337/24.19, allocations: 176.1 MB / 7.002 GB, free: 73.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/24.19, allocations: 0 / 7.002 GB, free: 73.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.347e-06/24.19, allocations: 0 / 7.002 GB, free: 73.82 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.0065/24.19, allocations: 1.088 MB / 7.003 GB, free: 72.74 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.612e-05/24.2, allocations: 8.031 kB / 7.003 GB, free: 72.73 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.467e-05/24.2, allocations: 4 kB / 7.003 GB, free: 72.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/24.2, allocations: 194 kB / 7.004 GB, free: 72.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/24.2, allocations: 4 kB / 7.004 GB, free: 72.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.871e-05/24.2, allocations: 0 / 7.004 GB, free: 72.5 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001464/24.2, allocations: 31.11 kB / 7.004 GB, free: 72.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/24.2, allocations: 70.55 kB / 7.004 GB, free: 72.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/24.2, allocations: 0 / 7.004 GB, free: 72.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/24.2, allocations: 7.234 kB / 7.004 GB, free: 72.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/24.2, allocations: 0 / 7.004 GB, free: 72.4 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000238/24.2, allocations: 166.4 kB / 7.004 GB, free: 72.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004139/24.2, allocations: 92.27 kB / 7.004 GB, free: 72.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.68e-05/24.2, allocations: 33.61 kB / 7.004 GB, free: 72.08 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.988e-05/24.2, allocations: 11.61 kB / 7.004 GB, free: 72.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.286e-05/24.2, allocations: 34.56 kB / 7.004 GB, free: 72.03 MB / 410.7 MB Notification: Performance of pre-optimization done (n=6): time 2.384e-06/24.2, allocations: 0 / 7.004 GB, free: 72.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=6): time 0.001266/24.2, allocations: 161.3 kB / 7.004 GB, free: 71.91 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/24.2, allocations: 81.11 kB / 7.004 GB, free: 71.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/24.2, allocations: 121 kB / 7.004 GB, free: 71.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/24.2, allocations: 25.7 kB / 7.004 GB, free: 71.65 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.444e-05/24.2, allocations: 87.98 kB / 7.004 GB, free: 71.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/24.2, allocations: 19.75 kB / 7.005 GB, free: 71.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.012e-05/24.2, allocations: 384 / 7.005 GB, free: 71.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.882e-05/24.2, allocations: 322.2 kB / 7.005 GB, free: 71.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.974e-05/24.2, allocations: 12 kB / 7.005 GB, free: 71.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.944e-05/24.2, allocations: 32.31 kB / 7.005 GB, free: 71.18 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009478/24.2, allocations: 116.9 kB / 7.005 GB, free: 71.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/24.2, allocations: 0 / 7.005 GB, free: 71.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.001097/24.2, allocations: 167.1 kB / 7.005 GB, free: 70.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/24.2, allocations: 4 kB / 7.005 GB, free: 70.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/24.2, allocations: 0 / 7.005 GB, free: 70.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/24.2, allocations: 0 / 7.005 GB, free: 70.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001978/24.2, allocations: 15.61 kB / 7.005 GB, free: 70.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/24.2, allocations: 0 / 7.005 GB, free: 70.96 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/24.2, allocations: 4 kB / 7.005 GB, free: 70.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.202e-05/24.2, allocations: 4 kB / 7.005 GB, free: 70.96 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 8.083e-05/24.2, allocations: 124 kB / 7.005 GB, free: 70.83 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001076/24.2, allocations: 158.1 kB / 7.005 GB, free: 70.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.725e-05/24.2, allocations: 4 kB / 7.005 GB, free: 70.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/24.2, allocations: 184.1 kB / 7.006 GB, free: 70.57 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/24.2, allocations: 4 kB / 7.006 GB, free: 70.56 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.8e-06/24.2, allocations: 0 / 7.006 GB, free: 70.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/24.2, allocations: 7.375 kB / 7.006 GB, free: 70.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001672/24.2, allocations: 148.4 kB / 7.006 GB, free: 70.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/24.2, allocations: 4 kB / 7.006 GB, free: 70.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/24.2, allocations: 19.94 kB / 7.006 GB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/24.2, allocations: 3.891 kB / 7.006 GB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.505e-05/24.2, allocations: 0 / 7.006 GB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/24.2, allocations: 0 / 7.006 GB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/24.2, allocations: 4 kB / 7.006 GB, free: 70.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/24.21, allocations: 207.6 kB / 7.006 GB, free: 70.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001033/24.21, allocations: 96.23 kB / 7.006 GB, free: 70.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/24.21, allocations: 4 kB / 7.006 GB, free: 70.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/24.21, allocations: 0 / 7.006 GB, free: 70.06 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.821e-05/24.21, allocations: 7.609 kB / 7.006 GB, free: 70.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.556e-05/24.21, allocations: 11.59 kB / 7.006 GB, free: 70.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.826e-05/24.21, allocations: 107.2 kB / 7.006 GB, free: 69.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.313e-06/24.21, allocations: 0 / 7.006 GB, free: 69.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005232/24.21, allocations: 0.9795 MB / 7.007 GB, free: 69 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.01255/24.22, allocations: 2.21 MB / 7.009 GB, free: 67.05 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002336/24.22, allocations: 39.59 kB / 7.009 GB, free: 67.01 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/24.22, allocations: 0 / 7.009 GB, free: 67.01 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.312e-05/24.22, allocations: 20.19 kB / 7.009 GB, free: 66.99 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/24.22, allocations: 19.52 kB / 7.009 GB, free: 66.98 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/24.23, allocations: 0.53 MB / 7.01 GB, free: 66.45 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001632/24.23, allocations: 0.6879 MB / 7.011 GB, free: 65.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001298/24.23, allocations: 19.27 kB / 7.011 GB, free: 65.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.957e-05/24.23, allocations: 15.44 kB / 7.011 GB, free: 65.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/24.23, allocations: 0 / 7.011 GB, free: 65.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1392/24.37, allocations: 28.43 MB / 7.038 GB, free: 44.95 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003582/24.37, allocations: 180.1 kB / 7.039 GB, free: 44.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.874/29.24, allocations: 4 kB / 7.039 GB, free: 44.75 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.ReferenceAir.Inverse_sh_TX_res.mat does not exist to compare? outputFormat=mat