Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.074/2.074, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.385e-05/3.404e-05, allocations: 4 kB / 292.7 MB, free: 8.246 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1129/0.1129, allocations: 50.42 MB / 343.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4555/0.5685, allocations: 76.69 MB / 419.9 MB, free: 1.117 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.5688, allocations: 74.7 kB / 419.9 MB, free: 1.074 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004354/0.5732, allocations: 1.159 MB / 421.1 MB, free: 52 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5733, allocations: 0 / 421.1 MB, free: 52 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.465e-05/0.5733, allocations: 4 kB / 421.1 MB, free: 48 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004746/0.5738, allocations: 348.5 kB / 421.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.5738, allocations: 8.031 kB / 421.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.508e-05/0.5739, allocations: 38.19 kB / 421.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.5739, allocations: 11.86 kB / 421.5 MB, free: 15.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.5742, allocations: 190 kB / 421.7 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.5742, allocations: 0.875 kB / 421.7 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.5743, allocations: 4 kB / 421.7 MB, free: 15.38 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003358/0.5746, allocations: 110.6 kB / 421.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.5746, allocations: 0 / 421.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.5747, allocations: 4 kB / 421.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.5747, allocations: 3.953 kB / 421.8 MB, free: 15.26 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.572e-05/0.5747, allocations: 10.94 kB / 421.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004878/0.5752, allocations: 264.1 kB / 422.1 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000232/0.5755, allocations: 137.2 kB / 422.2 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.828e-05/0.5756, allocations: 21.16 kB / 422.2 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.5756, allocations: 4 kB / 422.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.5756, allocations: 38.12 kB / 422.3 MB, free: 14.72 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.124e-06/0.5756, allocations: 3.938 kB / 422.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002011/0.5759, allocations: 57.52 kB / 422.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.941e-05/0.5759, allocations: 81.14 kB / 422.4 MB, free: 14.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001588/0.5761, allocations: 128.8 kB / 422.5 MB, free: 14.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.5761, allocations: 25.7 kB / 422.6 MB, free: 14.4 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.5762, allocations: 87.27 kB / 422.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.375e-05/0.5762, allocations: 3.938 kB / 422.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.517e-06/0.5763, allocations: 0 / 422.6 MB, free: 14.31 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.5764, allocations: 318.2 kB / 423 MB, free: 14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.047e-05/0.5764, allocations: 4 kB / 423 MB, free: 13.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.162e-05/0.5765, allocations: 30.5 kB / 423 MB, free: 13.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.297e-05/0.5765, allocations: 8.406 kB / 423 MB, free: 13.95 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.5766, allocations: 4 kB / 423 MB, free: 13.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001304/0.5767, allocations: 65.22 kB / 423.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/0.5767, allocations: 4 kB / 423.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.5767, allocations: 0 / 423.1 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.5768, allocations: 7.953 kB / 423.1 MB, free: 13.87 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.5769, allocations: 8 kB / 423.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.5769, allocations: 3.938 kB / 423.1 MB, free: 13.86 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.068e-05/0.577, allocations: 7.984 kB / 423.1 MB, free: 13.85 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.305e-06/0.577, allocations: 0 / 423.1 MB, free: 13.85 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: 4 (sample1.u,sample1.y,assignClock.y,assignClock.u) * 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 9.349e-05/0.5771, allocations: 112.4 kB / 423.2 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.949e-05/0.5772, allocations: 49.34 kB / 423.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.704e-05/0.5773, allocations: 8.031 kB / 423.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.5773, allocations: 3.953 kB / 423.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.5773, allocations: 0 / 423.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.5773, allocations: 0 / 423.3 MB, free: 13.67 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.5776, allocations: 164.8 kB / 423.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.5776, allocations: 4 kB / 423.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.006e-05/0.5777, allocations: 8 kB / 423.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.5777, allocations: 0 / 423.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.5777, allocations: 15.48 kB / 423.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.5777, allocations: 0 / 423.5 MB, free: 13.44 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.5777, allocations: 7.891 kB / 423.5 MB, free: 13.43 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001805/0.5779, allocations: 164.9 kB / 423.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.645e-05/0.5781, allocations: 92.38 kB / 423.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.96e-05/0.5781, allocations: 0 / 423.7 MB, free: 13.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.5782, allocations: 11.95 kB / 423.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.5782, allocations: 240 / 423.7 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.985e-06/0.5783, allocations: 4 kB / 423.7 MB, free: 13.13 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001142/0.5784, allocations: 106.3 kB / 423.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5784, allocations: 0 / 423.8 MB, free: 13.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003244/0.5787, allocations: 10.81 kB / 423.8 MB, free: 13.03 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: 4 (sample1.u,assignClock.u,assignClock.y,sample1.y) * 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.0005789/0.5793, allocations: 0.7738 MB / 424.6 MB, free: 12.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001137/0.5794, allocations: 19.31 kB / 424.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.5795, allocations: 0 / 424.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.014e-05/0.5795, allocations: 4 kB / 424.6 MB, free: 12.21 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003258/0.5798, allocations: 30.03 kB / 424.7 MB, free: 12.19 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.5803, allocations: 133.6 kB / 424.8 MB, free: 12.03 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.5807, allocations: 0.6893 MB / 425.5 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.293e-05/0.5807, allocations: 4 kB / 425.5 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.592e-05/0.5808, allocations: 14.3 kB / 425.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of SimCode: time 2.886e-06/0.5808, allocations: 4 kB / 425.5 MB, free: 11.3 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02439/0.6052, allocations: 1.203 MB / 426.7 MB, free: 10.16 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003608/0.6057, allocations: 170.9 kB / 426.9 MB, free: 9.93 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.449/3.055, allocations: 4 kB / 426.9 MB, free: 9.926 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat does not exist to compare? outputFormat=mat