Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.176/2.176, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.386e-05/3.391e-05, allocations: 7.984 kB / 292.8 MB, free: 8.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 50.41 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4545/0.566, allocations: 76.8 MB / 420 MB, free: 1.379 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002951/0.5664, allocations: 74.2 kB / 420 MB, free: 1.34 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004083/0.5705, allocations: 1.025 MB / 421.1 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5705, allocations: 0 / 421.1 MB, free: 444 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.197e-05/0.5706, allocations: 0 / 421.1 MB, free: 444 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004209/0.571, allocations: 337.4 kB / 421.4 MB, free: 64 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.5711, allocations: 8.031 kB / 421.4 MB, free: 56 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.791e-05/0.5711, allocations: 40.77 kB / 421.4 MB, free: 12 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.308e-05/0.5712, allocations: 7.859 kB / 421.4 MB, free: 4 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.5714, allocations: 179 kB / 421.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.5714, allocations: 7.312 kB / 421.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.306e-05/0.5714, allocations: 1.375 kB / 421.6 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.5718, allocations: 98.73 kB / 421.7 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.5718, allocations: 0 / 421.7 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.779e-06/0.5718, allocations: 0 / 421.7 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.889e-06/0.5718, allocations: 3.953 kB / 421.7 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.095e-05/0.5719, allocations: 14.67 kB / 421.7 MB, free: 15.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000189/0.5721, allocations: 159.8 kB / 421.9 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.5722, allocations: 49.84 kB / 421.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.83e-05/0.5723, allocations: 20.11 kB / 422 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.006e-05/0.5723, allocations: 0 / 422 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.5724, allocations: 30.56 kB / 422 MB, free: 15.37 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.666e-06/0.5724, allocations: 3.984 kB / 422 MB, free: 15.37 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001819/0.5726, allocations: 56.2 kB / 422.1 MB, free: 15.31 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.5726, allocations: 51.41 kB / 422.1 MB, free: 15.25 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.817e-05/0.5728, allocations: 116.6 kB / 422.2 MB, free: 15.13 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.795e-05/0.5728, allocations: 29.08 kB / 422.2 MB, free: 15.1 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.428e-05/0.5728, allocations: 82.39 kB / 422.3 MB, free: 15.02 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.791e-06/0.5729, allocations: 4 kB / 422.3 MB, free: 15.02 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.5729, allocations: 0 / 422.3 MB, free: 15.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.573, allocations: 317.7 kB / 422.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.573, allocations: 8 kB / 422.7 MB, free: 14.69 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.5731, allocations: 26.5 kB / 422.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.536e-05/0.5731, allocations: 7.938 kB / 422.7 MB, free: 14.65 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5731, allocations: 0 / 422.7 MB, free: 14.65 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000107/0.5732, allocations: 60.47 kB / 422.7 MB, free: 14.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/0.5733, allocations: 4 kB / 422.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5733, allocations: 0 / 422.7 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5733, allocations: 4 kB / 422.8 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.624e-05/0.5734, allocations: 7.938 kB / 422.8 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.5734, allocations: 4 kB / 422.8 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.396e-05/0.5735, allocations: 11.69 kB / 422.8 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.5735, allocations: 4 kB / 422.8 MB, free: 14.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 7.544e-05/0.5736, allocations: 109 kB / 422.9 MB, free: 14.44 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.846e-05/0.5737, allocations: 52 kB / 422.9 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.746e-05/0.5737, allocations: 6.531 kB / 422.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.5737, allocations: 0 / 422.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.5737, allocations: 0 / 422.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.5737, allocations: 0 / 422.9 MB, free: 14.38 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001217/0.5739, allocations: 171.4 kB / 423.1 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.5739, allocations: 4 kB / 423.1 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.574, allocations: 11.94 kB / 423.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.574, allocations: 0 / 423.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.574, allocations: 4 kB / 423.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.5741, allocations: 0 / 423.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5741, allocations: 3.984 kB / 423.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.5742, allocations: 76.33 kB / 423.2 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.345e-05/0.5743, allocations: 89.02 kB / 423.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.5743, allocations: 0 / 423.3 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.223e-05/0.5744, allocations: 7.984 kB / 423.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.334e-06/0.5744, allocations: 0 / 423.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.5744, allocations: 7.938 kB / 423.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.846e-05/0.5745, allocations: 86.59 kB / 423.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5745, allocations: 0 / 423.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002524/0.5748, allocations: 4 kB / 423.4 MB, free: 13.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 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.0004359/0.5752, allocations: 0.6181 MB / 424 MB, free: 13.22 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.966e-05/0.5753, allocations: 27.06 kB / 424 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5753, allocations: 0 / 424 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.236e-06/0.5754, allocations: 0 / 424 MB, free: 13.2 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001917/0.5756, allocations: 23.81 kB / 424.1 MB, free: 13.18 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003459/0.5759, allocations: 105.4 kB / 424.2 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.5762, allocations: 0.6809 MB / 424.9 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.059e-05/0.5763, allocations: 8.234 kB / 424.9 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.224e-05/0.5763, allocations: 15 kB / 424.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of SimCode: time 8.01e-07/0.5763, allocations: 0 / 424.9 MB, free: 12.32 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02034/0.5967, allocations: 1.074 MB / 425.9 MB, free: 11.32 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003048/0.5971, allocations: 185.1 kB / 426.1 MB, free: 11.08 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.236/2.833, allocations: 0 / 426.1 MB, free: 11.08 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat does not exist to compare? outputFormat=mat