Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SubSample,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SubSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.029/2.029, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.985e-05/4.016e-05, allocations: 6.812 kB / 292.8 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1327, allocations: 50.4 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4404/0.5732, allocations: 77.25 MB / 420.4 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000282/0.5735, allocations: 76.95 kB / 420.5 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009149/0.5827, allocations: 2.118 MB / 422.6 MB, free: 14.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.659e-06/0.5828, allocations: 4 kB / 422.6 MB, free: 14.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.333e-05/0.5828, allocations: 0 / 422.6 MB, free: 14.74 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.0004818/0.5833, allocations: 360.3 kB / 423 MB, free: 14.35 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.5834, allocations: 8.031 kB / 423 MB, free: 14.34 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.552e-05/0.5834, allocations: 42.45 kB / 423 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.5835, allocations: 11.84 kB / 423 MB, free: 14.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.5837, allocations: 193.5 kB / 423.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.5838, allocations: 4 kB / 423.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.5838, allocations: 0 / 423.2 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000291/0.5841, allocations: 108.2 kB / 423.3 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.5841, allocations: 3.953 kB / 423.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.5841, allocations: 4 kB / 423.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.5842, allocations: 0 / 423.3 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.909e-05/0.5842, allocations: 15 kB / 423.3 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004532/0.5847, allocations: 278.8 kB / 423.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/0.5848, allocations: 67.73 kB / 423.7 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.542e-05/0.5849, allocations: 30.16 kB / 423.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.831e-05/0.585, allocations: 0 / 423.7 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.886e-05/0.585, allocations: 38.5 kB / 423.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.884e-06/0.585, allocations: 4 kB / 423.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.000232/0.5853, allocations: 60.91 kB / 423.8 MB, free: 13.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.334e-05/0.5854, allocations: 110.8 kB / 423.9 MB, free: 13.24 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001527/0.5855, allocations: 131.3 kB / 424 MB, free: 13.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.5856, allocations: 25.7 kB / 424.1 MB, free: 13.09 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.22e-05/0.5856, allocations: 91.55 kB / 424.2 MB, free: 13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/0.5857, allocations: 12.08 kB / 424.2 MB, free: 12.99 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.584e-06/0.5857, allocations: 0 / 424.2 MB, free: 12.99 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5858, allocations: 322.4 kB / 424.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.613e-05/0.5858, allocations: 4 kB / 424.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.654e-05/0.5859, allocations: 27.25 kB / 424.5 MB, free: 12.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.792e-05/0.5859, allocations: 8 kB / 424.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.586, allocations: 4 kB / 424.5 MB, free: 12.62 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001386/0.5861, allocations: 64.98 kB / 424.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.5861, allocations: 4 kB / 424.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.5862, allocations: 4 kB / 424.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.5862, allocations: 3.984 kB / 424.6 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.5863, allocations: 11.94 kB / 424.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.5863, allocations: 128 / 424.6 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.894e-05/0.5864, allocations: 8 kB / 424.6 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.308e-05/0.5865, allocations: 4 kB / 424.6 MB, free: 12.52 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 8.491e-05/0.5865, allocations: 105 kB / 424.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.5867, allocations: 53.5 kB / 424.8 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.09e-05/0.5867, allocations: 19.53 kB / 424.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.5868, allocations: 3.938 kB / 424.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.715e-06/0.5868, allocations: 4 kB / 424.8 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.5868, allocations: 4.062 kB / 424.8 MB, free: 12.33 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002496/0.5871, allocations: 173.2 kB / 425 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.5871, allocations: 0 / 425 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001029/0.5872, allocations: 11.98 kB / 425 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.5872, allocations: 7.953 kB / 425 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.5872, allocations: 0 / 425 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.5872, allocations: 0 / 425 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5872, allocations: 0 / 425 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002244/0.5875, allocations: 192 kB / 425.2 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.744e-05/0.5876, allocations: 100.8 kB / 425.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.121e-05/0.5876, allocations: 0 / 425.3 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.5878, allocations: 7.984 kB / 425.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.595e-05/0.5878, allocations: 0 / 425.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/0.5878, allocations: 4 kB / 425.3 MB, free: 11.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001159/0.588, allocations: 110.9 kB / 425.4 MB, free: 11.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.588, allocations: 3.938 kB / 425.4 MB, free: 11.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003169/0.5883, allocations: 8 kB / 425.4 MB, free: 11.66 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.000641/0.589, allocations: 0.8622 MB / 426.3 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000123/0.5891, allocations: 27.12 kB / 426.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.5891, allocations: 0 / 426.3 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.693e-05/0.5891, allocations: 4 kB / 426.3 MB, free: 10.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.5895, allocations: 38.47 kB / 426.4 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000548/0.5901, allocations: 148.2 kB / 426.5 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.5905, allocations: 0.6887 MB / 427.2 MB, free: 9.82 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.895e-05/0.5905, allocations: 8.172 kB / 427.2 MB, free: 9.809 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.255e-05/0.5906, allocations: 19.06 kB / 427.2 MB, free: 9.801 MB / 346.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5906, allocations: 0 / 427.2 MB, free: 9.801 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02185/0.6125, allocations: 1.389 MB / 428.6 MB, free: 8.48 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003494/0.6129, allocations: 168.9 kB / 428.8 MB, free: 8.254 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.385/2.998, allocations: 0 / 428.8 MB, free: 8.254 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SubSample_res.mat does not exist to compare? outputFormat=mat