Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.CompareSincExpSine,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_CompareSincExpSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.213/2.213, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.76e-05/3.766e-05, allocations: 6.031 kB / 292.7 MB, free: 8.273 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1103/0.1104, allocations: 50.42 MB / 343.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4524/0.5628, allocations: 76.37 MB / 419.5 MB, free: 1.484 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.5631, allocations: 66.45 kB / 419.6 MB, free: 1.449 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007264/0.5703, allocations: 1.512 MB / 421.1 MB, free: 128 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5704, allocations: 7.828 kB / 421.1 MB, free: 124 kB / 330.7 MB Notification: Performance of Transformations before backend: time 7.915e-06/0.5704, allocations: 0 / 421.1 MB, free: 124 kB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006632/0.5711, allocations: 369.9 kB / 421.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.5712, allocations: 12.02 kB / 421.5 MB, free: 15.7 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.155e-05/0.5712, allocations: 37.75 kB / 421.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.04e-05/0.5713, allocations: 0 / 421.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.5714, allocations: 178.9 kB / 421.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.247e-05/0.5715, allocations: 0 / 421.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.5715, allocations: 0 / 421.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.5717, allocations: 67.25 kB / 421.8 MB, free: 15.37 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.33e-05/0.5717, allocations: 7.984 kB / 421.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.5717, allocations: 3.781 kB / 421.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.5717, allocations: 0 / 421.8 MB, free: 15.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.5719, allocations: 26.86 kB / 421.8 MB, free: 15.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002528/0.5721, allocations: 196.8 kB / 422 MB, free: 15.11 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.5723, allocations: 66.73 kB / 422.1 MB, free: 15.02 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.894e-05/0.5724, allocations: 30.56 kB / 422.1 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.5724, allocations: 7.375 kB / 422.1 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.14e-05/0.5725, allocations: 34.56 kB / 422.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.743e-06/0.5725, allocations: 0 / 422.1 MB, free: 14.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002692/0.5727, allocations: 71.61 kB / 422.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.5728, allocations: 110.8 kB / 422.3 MB, free: 14.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.573, allocations: 113.2 kB / 422.4 MB, free: 14.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.369e-05/0.573, allocations: 25.7 kB / 422.4 MB, free: 14.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.949e-05/0.5731, allocations: 94.44 kB / 422.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.5732, allocations: 10.69 kB / 422.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.526e-06/0.5732, allocations: 4 kB / 422.5 MB, free: 14.5 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.5733, allocations: 318.7 kB / 422.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.669e-05/0.5734, allocations: 14.69 kB / 422.9 MB, free: 14.17 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.907e-05/0.5735, allocations: 28.45 kB / 422.9 MB, free: 14.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.485e-05/0.5736, allocations: 18.92 kB / 422.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5736, allocations: 0 / 422.9 MB, free: 14.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002088/0.5738, allocations: 71.03 kB / 423 MB, free: 14.05 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/0.5738, allocations: 4 kB / 423 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.5739, allocations: 0 / 423 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.5739, allocations: 7 kB / 423 MB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/0.5742, allocations: 32.02 kB / 423 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.039e-05/0.5742, allocations: 4 kB / 423 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001973/0.5744, allocations: 15.11 kB / 423.1 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.279e-05/0.5744, allocations: 4 kB / 423.1 MB, free: 14 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.548e-05/0.5745, allocations: 101 kB / 423.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.5746, allocations: 11.91 kB / 423.2 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.485e-05/0.5746, allocations: 15.02 kB / 423.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5746, allocations: 0 / 423.2 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.5746, allocations: 7.953 kB / 423.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.5747, allocations: 0 / 423.2 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001897/0.5749, allocations: 178.6 kB / 423.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.5749, allocations: 4 kB / 423.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002173/0.5751, allocations: 30.91 kB / 423.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.5751, allocations: 0 / 423.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.5751, allocations: 4 kB / 423.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.5752, allocations: 0 / 423.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.5752, allocations: 4 kB / 423.4 MB, free: 13.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002451/0.5754, allocations: 125.4 kB / 423.5 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.413e-05/0.5755, allocations: 85.02 kB / 423.6 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.5755, allocations: 7.953 kB / 423.6 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001742/0.5757, allocations: 11.98 kB / 423.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.197e-05/0.5758, allocations: 11.92 kB / 423.6 MB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.5758, allocations: 0 / 423.6 MB, free: 13.33 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.278e-05/0.5759, allocations: 106.8 kB / 423.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.5759, allocations: 0 / 423.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002869/0.5762, allocations: 15 kB / 423.8 MB, free: 13.22 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006373/0.5769, allocations: 0.7972 MB / 424.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.5771, allocations: 41.42 kB / 424.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5771, allocations: 0 / 424.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.975e-05/0.5772, allocations: 19.38 kB / 424.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.5773, allocations: 7.562 kB / 424.6 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007453/0.5781, allocations: 150.1 kB / 424.8 MB, free: 12.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.5785, allocations: 0.6926 MB / 425.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 9.018e-05/0.5786, allocations: 7.984 kB / 425.5 MB, free: 11.44 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.521e-05/0.5787, allocations: 18.11 kB / 425.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of SimCode: time 1.272e-06/0.5787, allocations: 0 / 425.5 MB, free: 11.43 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.6059, allocations: 1.401 MB / 426.9 MB, free: 10.09 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/0.6062, allocations: 140.9 kB / 427 MB, free: 9.875 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.484/3.09, allocations: 0 / 427 MB, free: 9.875 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.CompareSincExpSine_res.mat does not exist to compare? outputFormat=mat