Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.483e-05/4.5e-05, allocations: 4 kB / 292.7 MB, free: 8.262 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1142, allocations: 50.41 MB / 343.2 MB, free: 5.828 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4464/0.5606, allocations: 76.49 MB / 419.7 MB, free: 1.664 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/0.561, allocations: 73.77 kB / 419.7 MB, free: 1.625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004037/0.565, allocations: 1.11 MB / 420.8 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.565, allocations: 0 / 420.8 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.5651, allocations: 0 / 420.8 MB, free: 0.6406 MB / 330.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.0004085/0.5655, allocations: 345.9 kB / 421.2 MB, free: 272 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.5655, allocations: 15.97 kB / 421.2 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.5656, allocations: 34.56 kB / 421.2 MB, free: 212 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.5656, allocations: 15.86 kB / 421.2 MB, free: 196 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002377/0.5659, allocations: 174.9 kB / 421.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.5659, allocations: 3.938 kB / 421.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.5659, allocations: 0 / 421.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.5662, allocations: 87.62 kB / 421.5 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.986e-06/0.5662, allocations: 4 kB / 421.5 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.627e-06/0.5662, allocations: 0 / 421.5 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.726e-06/0.5662, allocations: 7.938 kB / 421.5 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.755e-05/0.5663, allocations: 7.062 kB / 421.5 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.5667, allocations: 262.9 kB / 421.8 MB, free: 15.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.904e-05/0.5668, allocations: 44.52 kB / 421.8 MB, free: 15.51 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.339e-05/0.5668, allocations: 13.84 kB / 421.8 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.5668, allocations: 0 / 421.8 MB, free: 15.49 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.5669, allocations: 38 kB / 421.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 3.466e-06/0.5669, allocations: 0 / 421.9 MB, free: 15.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001636/0.5671, allocations: 45.62 kB / 421.9 MB, free: 15.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.999e-05/0.5671, allocations: 80.42 kB / 422 MB, free: 15.3 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.5673, allocations: 121.1 kB / 422.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.5673, allocations: 29.7 kB / 422.1 MB, free: 15.15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.5674, allocations: 91.09 kB / 422.2 MB, free: 15.06 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.337e-06/0.5674, allocations: 0 / 422.2 MB, free: 15.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/0.5674, allocations: 3.375 kB / 422.2 MB, free: 15.06 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5676, allocations: 314.8 kB / 422.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.759e-05/0.5676, allocations: 7.969 kB / 422.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.046e-05/0.5676, allocations: 24.64 kB / 422.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.979e-05/0.5677, allocations: 1.156 kB / 422.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5677, allocations: 0 / 422.6 MB, free: 14.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.377e-05/0.5678, allocations: 40.95 kB / 422.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.5678, allocations: 4 kB / 422.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.5678, allocations: 128 / 422.6 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.5679, allocations: 11.95 kB / 422.6 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.846e-05/0.568, allocations: 11.92 kB / 422.6 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.568, allocations: 3.938 kB / 422.6 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.777e-05/0.568, allocations: 4 kB / 422.6 MB, free: 14.63 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.5681, allocations: 0 / 422.6 MB, free: 14.63 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: 2 (sample1.u,sample1.y) * 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 8.033e-05/0.5681, allocations: 105 kB / 422.7 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.5682, allocations: 37.3 kB / 422.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.5683, allocations: 15.67 kB / 422.8 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.5683, allocations: 3.953 kB / 422.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.5683, allocations: 0 / 422.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.5683, allocations: 0 / 422.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.5685, allocations: 168.7 kB / 423 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.5686, allocations: 0 / 423 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.147e-05/0.5686, allocations: 4 kB / 423 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.5686, allocations: 0 / 423 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.5687, allocations: 4 kB / 423 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.5687, allocations: 0 / 423 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.5687, allocations: 3.953 kB / 423 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001557/0.5688, allocations: 165 kB / 423.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.719e-05/0.5689, allocations: 88.59 kB / 423.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.94e-05/0.569, allocations: 4 kB / 423.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.739e-05/0.5691, allocations: 7.953 kB / 423.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.87e-05/0.5691, allocations: 4.031 kB / 423.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.5691, allocations: 4 kB / 423.2 MB, free: 13.95 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001164/0.5693, allocations: 106.4 kB / 423.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.5693, allocations: 0 / 423.4 MB, free: 13.85 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002858/0.5696, allocations: 3.906 kB / 423.4 MB, free: 13.84 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: 2 (sample1.u,sample1.y) * 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.0004819/0.5701, allocations: 0.76 MB / 424.1 MB, free: 13.06 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.831e-05/0.5702, allocations: 11.44 kB / 424.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.5702, allocations: 0 / 424.1 MB, free: 13.05 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 2.064e-05/0.5702, allocations: 7.938 kB / 424.1 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002832/0.5705, allocations: 31.22 kB / 424.2 MB, free: 13.02 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004332/0.5709, allocations: 126.4 kB / 424.3 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.5713, allocations: 0.6887 MB / 425 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.593e-05/0.5713, allocations: 0.5 kB / 425 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.217e-05/0.5714, allocations: 14.94 kB / 425 MB, free: 12.14 MB / 346.7 MB Notification: Performance of SimCode: time 7.62e-07/0.5714, allocations: 0 / 425 MB, free: 12.14 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.5905, allocations: 1.117 MB / 426.1 MB, free: 11.09 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002944/0.5909, allocations: 176.5 kB / 426.3 MB, free: 10.86 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.375/2.965, allocations: 4 kB / 426.3 MB, free: 10.86 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat