Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_3_2_2_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.01/2.01, allocations: 194.9 MB / 208 MB, free: 3.188 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.347e-05/3.364e-05, allocations: 4 kB / 255.4 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1066, allocations: 44.51 MB / 299.9 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4461/0.5528, allocations: 71.79 MB / 371.7 MB, free: 22.29 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000405/0.5533, allocations: 65.56 kB / 371.8 MB, free: 22.29 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01299/0.5663, allocations: 2.164 MB / 374 MB, free: 21.86 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.5663, allocations: 0 / 374 MB, free: 21.86 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.556e-05/0.5664, allocations: 2.406 kB / 374 MB, free: 21.86 MB / 314.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.0005385/0.5669, allocations: 386.5 kB / 374.3 MB, free: 21.5 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.567, allocations: 8.844 kB / 374.4 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.388e-05/0.567, allocations: 38.45 kB / 374.4 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.589e-05/0.5671, allocations: 18.41 kB / 374.4 MB, free: 21.45 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002943/0.5674, allocations: 209.1 kB / 374.6 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.5674, allocations: 5.906 kB / 374.6 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.779e-05/0.5675, allocations: 8.875 kB / 374.6 MB, free: 21.23 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.5677, allocations: 69.28 kB / 374.7 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.5677, allocations: 0 / 374.7 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.5677, allocations: 0.9062 kB / 374.7 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.5677, allocations: 1.031 kB / 374.7 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.5679, allocations: 37.66 kB / 374.7 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007159/0.5686, allocations: 411.9 kB / 375.1 MB, free: 20.85 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001566/0.5688, allocations: 60.38 kB / 375.2 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.561e-05/0.5688, allocations: 30.75 kB / 375.2 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.325e-05/0.5689, allocations: 1.219 kB / 375.2 MB, free: 20.81 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.5689, allocations: 35.52 kB / 375.3 MB, free: 20.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.776e-06/0.5689, allocations: 0 / 375.3 MB, free: 20.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002488/0.5692, allocations: 68.05 kB / 375.3 MB, free: 20.73 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.5692, allocations: 60 kB / 375.4 MB, free: 20.66 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.5694, allocations: 125.2 kB / 375.5 MB, free: 20.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.5694, allocations: 26.95 kB / 375.5 MB, free: 20.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.5695, allocations: 113 kB / 375.6 MB, free: 20.45 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.5695, allocations: 16.69 kB / 375.7 MB, free: 20.44 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-06/0.5695, allocations: 0.9688 kB / 375.7 MB, free: 20.44 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.386e-05/0.5696, allocations: 318.2 kB / 376 MB, free: 20.13 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.516e-05/0.5696, allocations: 18.06 kB / 376 MB, free: 20.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.043e-05/0.5697, allocations: 13.58 kB / 376 MB, free: 20.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.215e-05/0.5698, allocations: 19.3 kB / 376 MB, free: 20.13 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5698, allocations: 0 / 376 MB, free: 20.13 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001738/0.57, allocations: 75.19 kB / 376.1 MB, free: 20.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.57, allocations: 8.281 kB / 376.1 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.57, allocations: 0.9062 kB / 376.1 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.5701, allocations: 3.953 kB / 376.1 MB, free: 20.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003755/0.5704, allocations: 41.22 kB / 376.1 MB, free: 20.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/0.5705, allocations: 3.328 kB / 376.1 MB, free: 20.08 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.5706, allocations: 15.16 kB / 376.2 MB, free: 20.07 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.5706, allocations: 3.984 kB / 376.2 MB, free: 20.07 MB / 314.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 5.968e-05/0.5707, allocations: 112.5 kB / 376.3 MB, free: 19.96 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-05/0.5707, allocations: 11.09 kB / 376.3 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.578e-05/0.5708, allocations: 19.34 kB / 376.3 MB, free: 19.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.5708, allocations: 5.391 kB / 376.3 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5708, allocations: 0 / 376.3 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.5708, allocations: 0 / 376.3 MB, free: 19.94 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.5711, allocations: 196 kB / 376.5 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.5711, allocations: 0 / 376.5 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002483/0.5714, allocations: 22.55 kB / 376.5 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.5714, allocations: 0 / 376.5 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.5714, allocations: 3.234 kB / 376.5 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.5714, allocations: 8 kB / 376.5 MB, free: 19.75 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.5714, allocations: 4.641 kB / 376.5 MB, free: 19.74 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002694/0.5717, allocations: 186 kB / 376.7 MB, free: 19.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.128e-05/0.5718, allocations: 86.06 kB / 376.8 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.5718, allocations: 4.875 kB / 376.8 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001267/0.5719, allocations: 5.125 kB / 376.8 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.575e-05/0.572, allocations: 4.312 kB / 376.8 MB, free: 19.51 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.949e-06/0.572, allocations: 9.828 kB / 376.8 MB, free: 19.5 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.725e-05/0.5721, allocations: 105 kB / 376.9 MB, free: 19.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5721, allocations: 0 / 376.9 MB, free: 19.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003043/0.5724, allocations: 21.03 kB / 377 MB, free: 19.42 MB / 314.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.000454/0.5729, allocations: 0.7188 MB / 377.7 MB, free: 18.76 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001677/0.5731, allocations: 41.14 kB / 377.7 MB, free: 18.76 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.5731, allocations: 0 / 377.7 MB, free: 18.76 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.179e-05/0.5732, allocations: 23.12 kB / 377.7 MB, free: 18.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.5735, allocations: 17.84 kB / 377.8 MB, free: 18.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009071/0.5744, allocations: 222.2 kB / 378 MB, free: 18.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.5747, allocations: 0.709 MB / 378.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 7.255e-05/0.5747, allocations: 5.734 kB / 378.7 MB, free: 17.91 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.5748, allocations: 29.81 kB / 378.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5748, allocations: 0 / 378.7 MB, free: 17.9 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0885/0.6633, allocations: 1.932 MB / 380.6 MB, free: 17.66 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.6636, allocations: 148.4 kB / 380.8 MB, free: 17.43 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.619/3.283, allocations: 0 / 380.8 MB, free: 17.43 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel_res.mat does not exist to compare? outputFormat=mat