Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.InverseModel,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_InverseModel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.21/2.21, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.525e-05/3.529e-05, allocations: 6.031 kB / 292.7 MB, free: 8.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.113, allocations: 50.41 MB / 343.1 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4383/0.5514, allocations: 77.15 MB / 420.3 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.5517, allocations: 66.16 kB / 420.4 MB, free: 0.6602 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0108/0.5625, allocations: 2.278 MB / 422.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.5625, allocations: 0 / 422.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.223e-05/0.5626, allocations: 11.94 kB / 422.7 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.0006051/0.5632, allocations: 379.9 kB / 423 MB, free: 14.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.5632, allocations: 8.031 kB / 423 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.878e-05/0.5633, allocations: 48.62 kB / 423.1 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.5634, allocations: 11.81 kB / 423.1 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003244/0.5637, allocations: 202.6 kB / 423.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.535e-05/0.5637, allocations: 7.375 kB / 423.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.718e-05/0.5638, allocations: 7.312 kB / 423.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.564, allocations: 70.92 kB / 423.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.564, allocations: 4 kB / 423.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.5641, allocations: 2.75 kB / 423.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.5641, allocations: 3.953 kB / 423.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001145/0.5642, allocations: 34.56 kB / 423.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008244/0.565, allocations: 414.6 kB / 423.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.5652, allocations: 51.55 kB / 423.9 MB, free: 13.4 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.956e-05/0.5653, allocations: 24.48 kB / 423.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.936e-05/0.5653, allocations: 3.938 kB / 423.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/0.5654, allocations: 37.97 kB / 423.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.547e-06/0.5654, allocations: 0 / 423.9 MB, free: 13.33 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002497/0.5656, allocations: 62.36 kB / 424 MB, free: 13.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.5657, allocations: 63.39 kB / 424.1 MB, free: 13.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001485/0.5659, allocations: 133.8 kB / 424.2 MB, free: 13.08 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.976e-05/0.5659, allocations: 25.7 kB / 424.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.228e-05/0.566, allocations: 105.1 kB / 424.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.566, allocations: 18.81 kB / 424.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.963e-06/0.566, allocations: 6.125 kB / 424.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5662, allocations: 318.3 kB / 424.7 MB, free: 12.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.549e-05/0.5662, allocations: 15.25 kB / 424.7 MB, free: 12.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.279e-05/0.5663, allocations: 18.69 kB / 424.7 MB, free: 12.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.993e-05/0.5664, allocations: 22.56 kB / 424.7 MB, free: 12.58 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.5664, allocations: 0 / 424.7 MB, free: 12.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002457/0.5667, allocations: 77.97 kB / 424.8 MB, free: 12.51 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.5667, allocations: 11.98 kB / 424.8 MB, free: 12.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5667, allocations: 4.062 kB / 424.8 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.5668, allocations: 0 / 424.8 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003997/0.5672, allocations: 39.91 kB / 424.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.5672, allocations: 4 kB / 424.8 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.32e-05/0.5673, allocations: 7.906 kB / 424.8 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.5673, allocations: 4 kB / 424.9 MB, free: 12.44 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 8.717e-05/0.5674, allocations: 108 kB / 425 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.229e-05/0.5675, allocations: 7.906 kB / 425 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.176e-05/0.5675, allocations: 18.27 kB / 425 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.5676, allocations: 0 / 425 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.5676, allocations: 0 / 425 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5676, allocations: 0 / 425 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.5679, allocations: 191.4 kB / 425.2 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5679, allocations: 11.89 kB / 425.2 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002812/0.5682, allocations: 26.55 kB / 425.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.5682, allocations: 0 / 425.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.5682, allocations: 0 / 425.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.5682, allocations: 0 / 425.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.514e-06/0.5682, allocations: 240 / 425.2 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.5686, allocations: 185.8 kB / 425.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.458e-05/0.5687, allocations: 89.22 kB / 425.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.898e-05/0.5687, allocations: 4.062 kB / 425.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001334/0.5689, allocations: 7.938 kB / 425.5 MB, free: 11.76 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.541e-05/0.5689, allocations: 7.984 kB / 425.5 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.5689, allocations: 3.625 kB / 425.5 MB, free: 11.75 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.5691, allocations: 105.2 kB / 425.6 MB, free: 11.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5691, allocations: 4 kB / 425.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003448/0.5694, allocations: 19.84 kB / 425.6 MB, free: 11.63 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.0006601/0.5701, allocations: 0.7284 MB / 426.4 MB, free: 10.9 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001772/0.5703, allocations: 45.56 kB / 426.4 MB, free: 10.87 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.5703, allocations: 0 / 426.4 MB, free: 10.87 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.523e-05/0.5704, allocations: 19.31 kB / 426.4 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.5708, allocations: 18.23 kB / 426.4 MB, free: 10.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.5725, allocations: 213.4 kB / 426.6 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.5729, allocations: 0.7043 MB / 427.3 MB, free: 9.875 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 8.155e-05/0.573, allocations: 11.97 kB / 427.4 MB, free: 9.863 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.411e-05/0.5731, allocations: 25.31 kB / 427.4 MB, free: 9.852 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5731, allocations: 4 kB / 427.4 MB, free: 9.848 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02138/0.5945, allocations: 1.938 MB / 429.3 MB, free: 7.992 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/0.5948, allocations: 133.6 kB / 429.5 MB, free: 7.773 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.508/3.103, allocations: 0 / 429.5 MB, free: 7.773 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.InverseModel_res.mat does not exist to compare? outputFormat=mat