Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_4_0_0_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.239/2.239, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.592e-05/3.602e-05, allocations: 4 kB / 292.2 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1244, allocations: 50.41 MB / 342.6 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5008/0.6252, allocations: 77.14 MB / 419.8 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.6255, allocations: 64.38 kB / 419.8 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009949/0.6355, allocations: 2.271 MB / 422.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6355, allocations: 0 / 422.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.6356, allocations: 8 kB / 422.1 MB, free: 14.7 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000571/0.6362, allocations: 388.3 kB / 422.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.6362, allocations: 8.031 kB / 422.5 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.355e-05/0.6363, allocations: 41.58 kB / 422.5 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.831e-05/0.6363, allocations: 19.78 kB / 422.6 MB, free: 14.21 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003108/0.6367, allocations: 206.3 kB / 422.8 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.6367, allocations: 7.75 kB / 422.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.054e-05/0.6367, allocations: 4 kB / 422.8 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.637, allocations: 78.86 kB / 422.9 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.637, allocations: 0 / 422.9 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.637, allocations: 0 / 422.9 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/0.637, allocations: 3.953 kB / 422.9 MB, free: 13.9 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.6371, allocations: 34.19 kB / 422.9 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007782/0.6379, allocations: 410 kB / 423.3 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.6381, allocations: 53.72 kB / 423.3 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.839e-05/0.6382, allocations: 28.05 kB / 423.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.6382, allocations: 0 / 423.4 MB, free: 13.37 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.6383, allocations: 34.56 kB / 423.4 MB, free: 13.33 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.667e-06/0.6383, allocations: 8.219 kB / 423.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002488/0.6385, allocations: 66.52 kB / 423.5 MB, free: 13.26 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.6386, allocations: 59.34 kB / 423.5 MB, free: 13.19 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.6387, allocations: 131 kB / 423.7 MB, free: 13.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.6388, allocations: 25.7 kB / 423.7 MB, free: 13.04 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.994e-05/0.6388, allocations: 107.1 kB / 423.8 MB, free: 12.94 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.6389, allocations: 23.11 kB / 423.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.6389, allocations: 0 / 423.8 MB, free: 12.92 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.639, allocations: 322.3 kB / 424.1 MB, free: 12.6 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.074e-05/0.6391, allocations: 18.56 kB / 424.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.854e-05/0.6392, allocations: 14.25 kB / 424.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.678e-05/0.6392, allocations: 23.53 kB / 424.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.6393, allocations: 0 / 424.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001788/0.6394, allocations: 85.95 kB / 424.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.6395, allocations: 4 kB / 424.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6395, allocations: 0 / 424.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.6395, allocations: 0 / 424.3 MB, free: 12.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000383/0.6399, allocations: 43.34 kB / 424.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.815e-06/0.6399, allocations: 4 kB / 424.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.196e-05/0.64, allocations: 11.89 kB / 424.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.119e-05/0.6401, allocations: 0 / 424.3 MB, free: 12.43 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (7): * Single equations (assignments): 7 * 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 7.778e-05/0.6401, allocations: 108.2 kB / 424.4 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.936e-05/0.6402, allocations: 7.906 kB / 424.4 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.128e-05/0.6402, allocations: 11.22 kB / 424.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.6403, allocations: 0 / 424.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.6403, allocations: 3.938 kB / 424.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.6403, allocations: 0 / 424.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002604/0.6406, allocations: 197.2 kB / 424.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.6406, allocations: 3.953 kB / 424.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002579/0.6408, allocations: 27.97 kB / 424.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.6409, allocations: 0 / 424.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.6409, allocations: 3.062 kB / 424.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.6409, allocations: 0 / 424.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.96e-06/0.6409, allocations: 3.984 kB / 424.7 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002951/0.6412, allocations: 188.7 kB / 424.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.996e-05/0.6413, allocations: 88.95 kB / 425 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.6413, allocations: 0 / 425 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000125/0.6415, allocations: 4 kB / 425 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.848e-05/0.6415, allocations: 15.3 kB / 425 MB, free: 11.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.6415, allocations: 4.125 kB / 425 MB, free: 11.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001038/0.6417, allocations: 105.6 kB / 425.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6417, allocations: 3.938 kB / 425.1 MB, free: 11.63 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003288/0.642, allocations: 27.52 kB / 425.1 MB, free: 11.61 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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.000581/0.6426, allocations: 0.7191 MB / 425.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000162/0.6428, allocations: 38.61 kB / 425.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.6428, allocations: 3.938 kB / 425.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.098e-05/0.6429, allocations: 19.12 kB / 425.9 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.6432, allocations: 15.67 kB / 425.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009332/0.6442, allocations: 212.7 kB / 426.1 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.6445, allocations: 0.7082 MB / 426.8 MB, free: 9.859 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.493e-05/0.6446, allocations: 4 kB / 426.8 MB, free: 9.855 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.245e-05/0.6447, allocations: 36.36 kB / 426.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of SimCode: time 8.32e-07/0.6447, allocations: 4 kB / 426.9 MB, free: 9.832 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02092/0.6656, allocations: 1.938 MB / 428.8 MB, free: 7.98 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002142/0.6659, allocations: 140.8 kB / 429 MB, free: 7.762 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.289/2.955, allocations: 3.938 kB / 429 MB, free: 7.758 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Blocks.Examples.InverseModel_res.mat does not exist to compare? outputFormat=mat