Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.BackSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_BackSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.094/2.094, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.553e-05/4.57e-05, allocations: 12.8 kB / 292.8 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1199, allocations: 50.4 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4701/0.59, allocations: 77.38 MB / 420.5 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003119/0.5904, allocations: 73.89 kB / 420.6 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007136/0.5976, allocations: 1.639 MB / 422.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.5976, allocations: 0 / 422.3 MB, free: 15.38 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.5977, allocations: 8 kB / 422.3 MB, free: 15.37 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005161/0.5982, allocations: 361 kB / 422.6 MB, free: 14.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.5982, allocations: 8.031 kB / 422.6 MB, free: 14.97 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.337e-05/0.5983, allocations: 42.5 kB / 422.7 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.056e-05/0.5984, allocations: 11.22 kB / 422.7 MB, free: 14.91 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.5987, allocations: 198 kB / 422.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.5987, allocations: 0 / 422.9 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/0.5987, allocations: 11.38 kB / 422.9 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003788/0.5991, allocations: 131.1 kB / 423 MB, free: 14.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.5991, allocations: 3.984 kB / 423 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.5992, allocations: 0 / 423 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.5992, allocations: 11.89 kB / 423 MB, free: 14.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.831e-05/0.5993, allocations: 15.31 kB / 423 MB, free: 14.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005682/0.5998, allocations: 288.8 kB / 423.3 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001447/0.6, allocations: 85.53 kB / 423.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.391e-05/0.6001, allocations: 47.11 kB / 423.4 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.6002, allocations: 3.938 kB / 423.5 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.095e-05/0.6002, allocations: 41.64 kB / 423.5 MB, free: 13.97 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 3.116e-06/0.6002, allocations: 0 / 423.5 MB, free: 13.97 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002604/0.6005, allocations: 72.28 kB / 423.6 MB, free: 13.9 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.6006, allocations: 135.9 kB / 423.7 MB, free: 13.74 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.6008, allocations: 139.8 kB / 423.8 MB, free: 13.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.6008, allocations: 25.7 kB / 423.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.944e-05/0.6009, allocations: 91.14 kB / 423.9 MB, free: 13.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.518e-05/0.601, allocations: 11.27 kB / 424 MB, free: 13.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.869e-06/0.601, allocations: 4.125 kB / 424 MB, free: 13.47 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.6011, allocations: 322.2 kB / 424.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.083e-05/0.6012, allocations: 4 kB / 424.3 MB, free: 13.15 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.507e-05/0.6013, allocations: 43.83 kB / 424.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.66e-05/0.6013, allocations: 12 kB / 424.3 MB, free: 13.08 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.6013, allocations: 0 / 424.3 MB, free: 13.08 MB / 346.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001817/0.6015, allocations: 78.34 kB / 424.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/0.6016, allocations: 4 kB / 424.4 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.6016, allocations: 0 / 424.4 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.6016, allocations: 8.141 kB / 424.4 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.6018, allocations: 24.11 kB / 424.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.6018, allocations: 0 / 424.4 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.249e-05/0.6019, allocations: 4 kB / 424.5 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.6019, allocations: 4 kB / 424.5 MB, free: 12.96 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 0.0001013/0.602, allocations: 120.2 kB / 424.6 MB, free: 12.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/0.6022, allocations: 56.8 kB / 424.6 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.837e-05/0.6023, allocations: 18.3 kB / 424.6 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.6023, allocations: 7.953 kB / 424.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.6023, allocations: 0 / 424.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6023, allocations: 4 kB / 424.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002697/0.6026, allocations: 174.5 kB / 424.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.6026, allocations: 3.938 kB / 424.8 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.6028, allocations: 15.98 kB / 424.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.6028, allocations: 0 / 424.8 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.6028, allocations: 4 kB / 424.9 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.6028, allocations: 0 / 424.9 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.6028, allocations: 3.953 kB / 424.9 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003028/0.6032, allocations: 229.8 kB / 425.1 MB, free: 12.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001234/0.6033, allocations: 104.2 kB / 425.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.668e-05/0.6033, allocations: 3.984 kB / 425.2 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.6035, allocations: 4 kB / 425.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.024e-05/0.6035, allocations: 0 / 425.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.6036, allocations: 4 kB / 425.2 MB, free: 12.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001362/0.6037, allocations: 109.5 kB / 425.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6037, allocations: 0 / 425.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003425/0.6041, allocations: 11.5 kB / 425.3 MB, free: 12.04 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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.0007309/0.6048, allocations: 0.9662 MB / 426.3 MB, free: 11.05 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001612/0.605, allocations: 30.5 kB / 426.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.605, allocations: 0 / 426.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.727e-05/0.605, allocations: 4 kB / 426.3 MB, free: 11.02 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004456/0.6055, allocations: 49.08 kB / 426.4 MB, free: 10.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006314/0.6061, allocations: 170.9 kB / 426.5 MB, free: 10.78 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003781/0.6065, allocations: 0.705 MB / 427.2 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 6.001e-05/0.6066, allocations: 8.797 kB / 427.2 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.195e-05/0.6067, allocations: 20.8 kB / 427.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6067, allocations: 4 kB / 427.3 MB, free: 10.03 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/0.6327, allocations: 1.713 MB / 429 MB, free: 8.391 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003415/0.6331, allocations: 173.8 kB / 429.1 MB, free: 8.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.453/3.086, allocations: 4 kB / 429.2 MB, free: 8.156 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.BackSample_res.mat does not exist to compare? outputFormat=mat