Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.135/2.135, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.642e-05/3.656e-05, allocations: 8 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4243, allocations: 44.49 MB / 294.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1332/0.5576, allocations: 71.13 MB / 365.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.558, allocations: 63.97 kB / 365.4 MB, free: 10.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009962/0.5679, allocations: 2.142 MB / 367.5 MB, free: 8.562 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.568, allocations: 0 / 367.5 MB, free: 8.562 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.877e-05/0.568, allocations: 4 kB / 367.5 MB, free: 8.559 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.0005764/0.5686, allocations: 394.2 kB / 367.9 MB, free: 8.129 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.5687, allocations: 8.031 kB / 367.9 MB, free: 8.121 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.5687, allocations: 15.81 kB / 367.9 MB, free: 8.105 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003591/0.5691, allocations: 211.6 kB / 368.1 MB, free: 7.855 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.5691, allocations: 3.938 kB / 368.1 MB, free: 7.852 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.5692, allocations: 8 kB / 368.2 MB, free: 7.844 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000148/0.5693, allocations: 24 kB / 368.2 MB, free: 7.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001808/0.5695, allocations: 66.52 kB / 368.2 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5696, allocations: 4 kB / 368.2 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.5696, allocations: 0 / 368.2 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.5696, allocations: 0 / 368.2 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007941/0.5704, allocations: 392.4 kB / 368.6 MB, free: 7.312 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.5706, allocations: 58.53 kB / 368.7 MB, free: 7.246 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.127e-05/0.5707, allocations: 16.98 kB / 368.7 MB, free: 7.227 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.327e-05/0.5707, allocations: 8 kB / 368.7 MB, free: 7.219 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.985e-05/0.5708, allocations: 30.56 kB / 368.7 MB, free: 7.18 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.875e-06/0.5708, allocations: 0 / 368.7 MB, free: 7.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002594/0.571, allocations: 65.59 kB / 368.8 MB, free: 7.109 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.5711, allocations: 59.41 kB / 368.9 MB, free: 7.039 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.5712, allocations: 122.3 kB / 369 MB, free: 6.914 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.5713, allocations: 25.7 kB / 369 MB, free: 6.883 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.12e-05/0.5714, allocations: 170.6 kB / 369.2 MB, free: 6.715 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.5714, allocations: 15.89 kB / 369.2 MB, free: 6.699 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.612e-06/0.5714, allocations: 4 kB / 369.2 MB, free: 6.695 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5716, allocations: 314.8 kB / 369.5 MB, free: 6.379 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.187e-05/0.5716, allocations: 12 kB / 369.5 MB, free: 6.367 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.462e-05/0.5717, allocations: 23.91 kB / 369.5 MB, free: 6.344 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.26e-05/0.5718, allocations: 20 kB / 369.6 MB, free: 6.324 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.5718, allocations: 0 / 369.6 MB, free: 6.324 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000178/0.572, allocations: 65.59 kB / 369.6 MB, free: 6.254 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.572, allocations: 4 kB / 369.6 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.572, allocations: 0 / 369.6 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.5721, allocations: 0 / 369.6 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/0.5724, allocations: 39.97 kB / 369.7 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.5725, allocations: 3.953 kB / 369.7 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.049e-05/0.5726, allocations: 7.938 kB / 369.7 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.5726, allocations: 8 kB / 369.7 MB, free: 6.191 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 9.076e-05/0.5727, allocations: 112.7 kB / 369.8 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001756/0.5729, allocations: 65.59 kB / 369.9 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.062e-05/0.5729, allocations: 7.906 kB / 369.9 MB, free: 5.996 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.573, allocations: 16.34 kB / 369.9 MB, free: 5.984 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.573, allocations: 3.953 kB / 369.9 MB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.573, allocations: 0 / 369.9 MB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.573, allocations: 0 / 369.9 MB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.5733, allocations: 174.1 kB / 370.1 MB, free: 5.773 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.5733, allocations: 4 kB / 370.1 MB, free: 5.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/0.5736, allocations: 23.98 kB / 370.1 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.5736, allocations: 0 / 370.1 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.5737, allocations: 4.125 kB / 370.1 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.5737, allocations: 0 / 370.1 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5737, allocations: 0 / 370.1 MB, free: 5.742 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003282/0.574, allocations: 191.3 kB / 370.3 MB, free: 5.539 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.5741, allocations: 81.08 kB / 370.3 MB, free: 5.441 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.5741, allocations: 8.031 kB / 370.4 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.5743, allocations: 0 / 370.4 MB, free: 5.434 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.574e-05/0.5743, allocations: 7.984 kB / 370.4 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.345e-06/0.5744, allocations: 0 / 370.4 MB, free: 5.426 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001071/0.5745, allocations: 112.5 kB / 370.5 MB, free: 5.316 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5745, allocations: 0 / 370.5 MB, free: 5.316 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003494/0.5748, allocations: 15.91 kB / 370.5 MB, free: 5.301 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.0006003/0.5754, allocations: 0.7163 MB / 371.2 MB, free: 4.555 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001696/0.5756, allocations: 35.98 kB / 371.2 MB, free: 4.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5757, allocations: 4 kB / 371.2 MB, free: 4.516 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.259e-05/0.5757, allocations: 12 kB / 371.3 MB, free: 4.504 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.5761, allocations: 19.98 kB / 371.3 MB, free: 4.484 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009681/0.5771, allocations: 249.5 kB / 371.5 MB, free: 4.199 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003271/0.5774, allocations: 0.7079 MB / 372.2 MB, free: 3.465 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.38e-05/0.5775, allocations: 31.42 kB / 372.3 MB, free: 3.434 MB / 314.7 MB Notification: Performance of SimCode: time 9.22e-07/0.5776, allocations: 0 / 372.3 MB, free: 3.434 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.586/3.163, allocations: 1.634 MB / 373.9 MB, free: 1.805 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Blocks.Examples.InverseModel_res.mat does not exist to compare? outputFormat=mat