Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_ClockSignals_SubSample",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.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.857e-05/3.861e-05, allocations: 2.094 kB / 292.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 50.41 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4643/0.5724, allocations: 77.2 MB / 420.4 MB, free: 1 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.5727, allocations: 78.45 kB / 420.4 MB, free: 0.957 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00897/0.5817, allocations: 2.111 MB / 422.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.5818, allocations: 0 / 422.6 MB, free: 15.18 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.5818, allocations: 4 kB / 422.6 MB, free: 15.17 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004376/0.5822, allocations: 357.1 kB / 422.9 MB, free: 14.78 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.5823, allocations: 8.031 kB / 422.9 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.899e-05/0.5824, allocations: 33.62 kB / 422.9 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.5824, allocations: 15.8 kB / 423 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.5826, allocations: 189.8 kB / 423.1 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.188e-05/0.5827, allocations: 3.188 kB / 423.1 MB, free: 14.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.5827, allocations: 4 kB / 423.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.583, allocations: 99.48 kB / 423.2 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.583, allocations: 4 kB / 423.3 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.583, allocations: 3.953 kB / 423.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.583, allocations: 0 / 423.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.434e-05/0.5831, allocations: 4 kB / 423.3 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.5835, allocations: 278.8 kB / 423.5 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.645e-05/0.5836, allocations: 40.47 kB / 423.6 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.409e-05/0.5837, allocations: 13.84 kB / 423.6 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.5837, allocations: 11.92 kB / 423.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.5837, allocations: 37.38 kB / 423.6 MB, free: 13.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.784e-06/0.5837, allocations: 7.938 kB / 423.6 MB, free: 13.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001779/0.5839, allocations: 44.17 kB / 423.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.584, allocations: 77.11 kB / 423.8 MB, free: 13.79 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000174/0.5842, allocations: 131.3 kB / 423.9 MB, free: 13.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.257e-05/0.5842, allocations: 25.7 kB / 423.9 MB, free: 13.63 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.001e-05/0.5843, allocations: 87.44 kB / 424 MB, free: 13.55 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.14e-05/0.5843, allocations: 11.34 kB / 424 MB, free: 13.54 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.5844, allocations: 0 / 424 MB, free: 13.54 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.5845, allocations: 322.8 kB / 424.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.459e-05/0.5846, allocations: 11.12 kB / 424.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.674e-05/0.5846, allocations: 9.719 kB / 424.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.646e-05/0.5846, allocations: 7.938 kB / 424.4 MB, free: 13.19 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5846, allocations: 3.938 kB / 424.4 MB, free: 13.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 9.975e-05/0.5848, allocations: 45.73 kB / 424.4 MB, free: 13.13 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.5848, allocations: 8.031 kB / 424.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.5848, allocations: 4 kB / 424.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.5848, allocations: 0 / 424.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.5849, allocations: 7.938 kB / 424.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.585, allocations: 0 / 424.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.511e-05/0.585, allocations: 7.984 kB / 424.4 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.787e-06/0.5851, allocations: 2.562 kB / 424.4 MB, free: 13.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 6.97e-05/0.5852, allocations: 105 kB / 424.5 MB, free: 13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.74e-05/0.5852, allocations: 41.56 kB / 424.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.813e-05/0.5853, allocations: 10.53 kB / 424.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.5853, allocations: 3.984 kB / 424.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5853, allocations: 4 kB / 424.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5853, allocations: 0 / 424.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002079/0.5856, allocations: 167.6 kB / 424.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.5856, allocations: 0 / 424.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.377e-05/0.5857, allocations: 8 kB / 424.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.5857, allocations: 0 / 424.8 MB, free: 12.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.5857, allocations: 3.984 kB / 424.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5857, allocations: 4 kB / 424.8 MB, free: 12.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.5857, allocations: 4 kB / 424.8 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000156/0.5859, allocations: 160.6 kB / 424.9 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.252e-05/0.586, allocations: 92.95 kB / 425 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.586, allocations: 0 / 425 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.5861, allocations: 11.34 kB / 425 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.644e-05/0.5862, allocations: 3.984 kB / 425 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.5862, allocations: 4 kB / 425 MB, free: 12.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.803e-05/0.5863, allocations: 105 kB / 425.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5863, allocations: 0 / 425.1 MB, free: 12.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002956/0.5866, allocations: 4 kB / 425.1 MB, free: 12.32 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0004782/0.5871, allocations: 0.7738 MB / 425.9 MB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.281e-05/0.5872, allocations: 15.44 kB / 425.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5872, allocations: 0 / 425.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.287e-05/0.5873, allocations: 0 / 425.9 MB, free: 11.51 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.5876, allocations: 19.45 kB / 426 MB, free: 11.49 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004792/0.5881, allocations: 125.2 kB / 426.1 MB, free: 11.33 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002865/0.5884, allocations: 0.7004 MB / 426.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.007e-05/0.5884, allocations: 0 / 426.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.5885, allocations: 18.31 kB / 426.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of SimCode: time 9.82e-07/0.5885, allocations: 0 / 426.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02063/0.6091, allocations: 1.258 MB / 428.1 MB, free: 9.406 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/0.6094, allocations: 165.3 kB / 428.2 MB, free: 9.184 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.374/2.984, allocations: 4.062 kB / 428.2 MB, free: 9.18 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.ClockSignals.SubSample_res.mat does not exist to compare? outputFormat=mat