Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.017/2.017, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.718e-05/3.725e-05, allocations: 4 kB / 292.8 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1085/0.1085, allocations: 50.41 MB / 343.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4493/0.5579, allocations: 77.06 MB / 420.2 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/0.5583, allocations: 81.75 kB / 420.3 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005968/0.5643, allocations: 1.41 MB / 421.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5643, allocations: 0 / 421.7 MB, free: 15.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.365e-05/0.5644, allocations: 3.938 kB / 421.7 MB, free: 15.49 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004464/0.5648, allocations: 346 kB / 422.1 MB, free: 15.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/0.5649, allocations: 12.03 kB / 422.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.565, allocations: 41.95 kB / 422.1 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.312e-05/0.565, allocations: 4.781 kB / 422.1 MB, free: 15.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002395/0.5653, allocations: 193.5 kB / 422.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.5653, allocations: 0 / 422.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.647e-05/0.5653, allocations: 0 / 422.3 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002527/0.5656, allocations: 92.66 kB / 422.4 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.5656, allocations: 4 kB / 422.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.5656, allocations: 4 kB / 422.4 MB, free: 14.72 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.5656, allocations: 7.953 kB / 422.4 MB, free: 14.71 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.771e-05/0.5657, allocations: 11.12 kB / 422.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004477/0.5662, allocations: 260.8 kB / 422.7 MB, free: 14.41 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.506e-05/0.5662, allocations: 40.53 kB / 422.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.4e-05/0.5663, allocations: 15 kB / 422.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.5663, allocations: 3.938 kB / 422.7 MB, free: 14.33 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.5664, allocations: 42.12 kB / 422.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.734e-06/0.5664, allocations: 0 / 422.8 MB, free: 14.28 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001894/0.5666, allocations: 49.45 kB / 422.8 MB, free: 14.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.5667, allocations: 85.05 kB / 422.9 MB, free: 14.13 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.5668, allocations: 120.2 kB / 423 MB, free: 14.01 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.5669, allocations: 28.58 kB / 423 MB, free: 13.98 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.35e-05/0.5669, allocations: 87.08 kB / 423.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.505e-05/0.567, allocations: 0 / 423.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.567, allocations: 0 / 423.1 MB, free: 13.89 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.5671, allocations: 318.3 kB / 423.4 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.811e-05/0.5672, allocations: 8.031 kB / 423.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.132e-05/0.5672, allocations: 17.09 kB / 423.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.795e-05/0.5673, allocations: 0 / 423.5 MB, free: 13.55 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.5673, allocations: 4 kB / 423.5 MB, free: 13.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001055/0.5674, allocations: 48.91 kB / 423.5 MB, free: 13.49 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.5674, allocations: 10.81 kB / 423.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.5674, allocations: 128 / 423.5 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.5675, allocations: 11.89 kB / 423.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.5676, allocations: 4 kB / 423.5 MB, free: 13.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.074e-05/0.5676, allocations: 4 kB / 423.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.798e-05/0.5677, allocations: 0 / 423.6 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.5677, allocations: 4 kB / 423.6 MB, free: 13.46 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 7.946e-05/0.5678, allocations: 105 kB / 423.7 MB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.631e-05/0.5679, allocations: 44.92 kB / 423.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.983e-05/0.5679, allocations: 7.688 kB / 423.7 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.5679, allocations: 7.953 kB / 423.7 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.568, allocations: 0 / 423.7 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.568, allocations: 0 / 423.7 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.5682, allocations: 164.4 kB / 423.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/0.5682, allocations: 0 / 423.9 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-05/0.5683, allocations: 19.36 kB / 423.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5683, allocations: 0 / 423.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.5683, allocations: 0 / 423.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.5683, allocations: 0 / 423.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.825e-06/0.5684, allocations: 7.953 kB / 423.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.5685, allocations: 160.2 kB / 424.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.26e-05/0.5687, allocations: 88.47 kB / 424.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.014e-05/0.5687, allocations: 0 / 424.1 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.5688, allocations: 7.953 kB / 424.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.5689, allocations: 4.031 kB / 424.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.055e-05/0.5689, allocations: 7.984 kB / 424.2 MB, free: 12.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.569, allocations: 106.5 kB / 424.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.569, allocations: 0 / 424.3 MB, free: 12.67 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003019/0.5693, allocations: 4 kB / 424.3 MB, free: 12.67 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.0006059/0.5699, allocations: 0.7664 MB / 425 MB, free: 11.88 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.533e-05/0.57, allocations: 8 kB / 425 MB, free: 11.87 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.5701, allocations: 0 / 425 MB, free: 11.87 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.791e-05/0.5701, allocations: 7.688 kB / 425.1 MB, free: 11.87 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003137/0.5704, allocations: 23.16 kB / 425.1 MB, free: 11.85 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000484/0.5709, allocations: 130.5 kB / 425.2 MB, free: 11.69 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/0.5713, allocations: 0.6887 MB / 425.9 MB, free: 10.97 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 4.68e-05/0.5713, allocations: 7.984 kB / 425.9 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.198e-05/0.5714, allocations: 18.92 kB / 425.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5714, allocations: 0 / 425.9 MB, free: 10.95 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02378/0.5952, allocations: 1.201 MB / 427.1 MB, free: 9.824 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003046/0.5956, allocations: 173.1 kB / 427.3 MB, free: 9.594 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.31/2.906, allocations: 0 / 427.3 MB, free: 9.594 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat