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.097/2.097, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.276e-05/3.3e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.368, allocations: 44.49 MB / 294.2 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1335/0.5015, allocations: 71.12 MB / 365.3 MB, free: 10.71 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.5018, allocations: 67.95 kB / 365.4 MB, free: 10.65 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009564/0.5114, allocations: 2.15 MB / 367.6 MB, free: 8.492 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5115, allocations: 4 kB / 367.6 MB, free: 8.488 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.5115, allocations: 0 / 367.6 MB, free: 8.488 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.0005893/0.5121, allocations: 390.2 kB / 367.9 MB, free: 8.062 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.5122, allocations: 16.03 kB / 368 MB, free: 8.047 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.5122, allocations: 11.81 kB / 368 MB, free: 8.035 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003314/0.5126, allocations: 203.4 kB / 368.2 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.436e-05/0.5126, allocations: 4 kB / 368.2 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.5126, allocations: 4 kB / 368.2 MB, free: 7.785 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001297/0.5128, allocations: 35.88 kB / 368.2 MB, free: 7.75 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.513, allocations: 62.52 kB / 368.3 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.513, allocations: 0 / 368.3 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.513, allocations: 0 / 368.3 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.513, allocations: 4 kB / 368.3 MB, free: 7.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007907/0.5138, allocations: 384.4 kB / 368.6 MB, free: 7.254 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.514, allocations: 54.64 kB / 368.7 MB, free: 7.191 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.107e-05/0.5141, allocations: 24.98 kB / 368.7 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.5141, allocations: 0 / 368.7 MB, free: 7.164 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.5142, allocations: 30.56 kB / 368.8 MB, free: 7.125 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 4.048e-06/0.5142, allocations: 0 / 368.8 MB, free: 7.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.00026/0.5144, allocations: 77.48 kB / 368.8 MB, free: 7.043 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.5145, allocations: 51.41 kB / 368.9 MB, free: 6.98 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001514/0.5147, allocations: 122.5 kB / 369 MB, free: 6.855 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.5147, allocations: 25.7 kB / 369 MB, free: 6.824 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.693e-05/0.5148, allocations: 116.2 kB / 369.1 MB, free: 6.707 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.191e-05/0.5148, allocations: 15.89 kB / 369.2 MB, free: 6.691 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.493e-06/0.5149, allocations: 0 / 369.2 MB, free: 6.691 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.515, allocations: 322.8 kB / 369.5 MB, free: 6.367 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.916e-05/0.5151, allocations: 12 kB / 369.5 MB, free: 6.355 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.484e-05/0.5151, allocations: 12 kB / 369.5 MB, free: 6.344 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.205e-05/0.5152, allocations: 24.12 kB / 369.5 MB, free: 6.32 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5152, allocations: 0 / 369.5 MB, free: 6.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001857/0.5154, allocations: 73.52 kB / 369.6 MB, free: 6.242 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.5155, allocations: 12 kB / 369.6 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5155, allocations: 0 / 369.6 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5155, allocations: 0 / 369.6 MB, free: 6.23 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003728/0.5159, allocations: 35.97 kB / 369.6 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.5159, allocations: 7.953 kB / 369.6 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.776e-05/0.516, allocations: 7.906 kB / 369.6 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.516, allocations: 4 kB / 369.7 MB, free: 6.176 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 8.99e-05/0.5161, allocations: 108.8 kB / 369.8 MB, free: 6.062 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001792/0.5163, allocations: 65.59 kB / 369.8 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/0.5164, allocations: 15.83 kB / 369.8 MB, free: 5.977 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.871e-05/0.5164, allocations: 12.39 kB / 369.9 MB, free: 5.969 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.146e-06/0.5164, allocations: 7.953 kB / 369.9 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5165, allocations: 0 / 369.9 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.5165, allocations: 128 / 369.9 MB, free: 5.961 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002937/0.5168, allocations: 178.1 kB / 370 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5168, allocations: 0 / 370 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.5171, allocations: 19.98 kB / 370.1 MB, free: 5.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.5171, allocations: 8 kB / 370.1 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.5171, allocations: 3.938 kB / 370.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.5171, allocations: 0 / 370.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.5171, allocations: 0 / 370.1 MB, free: 5.719 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003797/0.5175, allocations: 187.4 kB / 370.2 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.31e-05/0.5176, allocations: 81.02 kB / 370.3 MB, free: 5.422 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.848e-05/0.5177, allocations: 0 / 370.3 MB, free: 5.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.5178, allocations: 4.031 kB / 370.3 MB, free: 5.418 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.456e-05/0.5179, allocations: 12.05 kB / 370.3 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.5179, allocations: 3.938 kB / 370.3 MB, free: 5.402 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001199/0.518, allocations: 116.5 kB / 370.5 MB, free: 5.289 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.518, allocations: 0 / 370.5 MB, free: 5.289 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003843/0.5184, allocations: 15.91 kB / 370.5 MB, free: 5.273 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.0007249/0.5192, allocations: 0.7155 MB / 371.2 MB, free: 4.531 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001785/0.5194, allocations: 35.94 kB / 371.2 MB, free: 4.496 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.5194, allocations: 0 / 371.2 MB, free: 4.496 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.926e-05/0.5195, allocations: 16 kB / 371.2 MB, free: 4.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.5199, allocations: 19.25 kB / 371.3 MB, free: 4.465 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009995/0.5209, allocations: 215.8 kB / 371.5 MB, free: 4.219 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003898/0.5213, allocations: 0.7119 MB / 372.2 MB, free: 3.48 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 8.47e-05/0.5214, allocations: 8.109 kB / 372.2 MB, free: 3.473 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.212e-05/0.5215, allocations: 31.42 kB / 372.2 MB, free: 3.441 MB / 314.7 MB Notification: Performance of SimCode: time 1.022e-06/0.5216, allocations: 0 / 372.2 MB, free: 3.441 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03689/0.5585, allocations: 1.622 MB / 373.8 MB, free: 1.832 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003424/0.5589, allocations: 125.8 kB / 374 MB, free: 1.637 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.346/2.905, allocations: 0 / 374 MB, free: 1.637 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