Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_IntegerSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.087/2.087, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.982e-05/3.987e-05, allocations: 4 kB / 292.8 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1115, allocations: 50.4 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4532/0.5647, allocations: 76.24 MB / 419.4 MB, free: 1.566 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002866/0.5651, allocations: 75.45 kB / 419.5 MB, free: 1.523 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00285/0.5679, allocations: 0.7837 MB / 420.3 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.568, allocations: 0 / 420.3 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.568, allocations: 0 / 420.3 MB, free: 0.8125 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004066/0.5684, allocations: 336.2 kB / 420.6 MB, free: 456 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.5685, allocations: 8.031 kB / 420.6 MB, free: 448 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.336e-05/0.5685, allocations: 33.31 kB / 420.6 MB, free: 408 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.5686, allocations: 11.86 kB / 420.6 MB, free: 396 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001996/0.5688, allocations: 174 kB / 420.8 MB, free: 184 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.629e-05/0.5688, allocations: 5.812 kB / 420.8 MB, free: 180 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.581e-05/0.5689, allocations: 7.5 kB / 420.8 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002682/0.5691, allocations: 88.89 kB / 420.9 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.5692, allocations: 0 / 420.9 MB, free: 88 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.798e-06/0.5692, allocations: 4 kB / 420.9 MB, free: 84 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.5692, allocations: 3.953 kB / 420.9 MB, free: 80 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.147e-05/0.5693, allocations: 7.5 kB / 420.9 MB, free: 76 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001973/0.5695, allocations: 161 kB / 421.1 MB, free: 15.87 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001222/0.5696, allocations: 44.45 kB / 421.1 MB, free: 15.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.626e-05/0.5697, allocations: 20.45 kB / 421.1 MB, free: 15.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.5697, allocations: 3.984 kB / 421.1 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.5697, allocations: 34.56 kB / 421.2 MB, free: 15.76 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.657e-06/0.5697, allocations: 0 / 421.2 MB, free: 15.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001668/0.5699, allocations: 53.34 kB / 421.2 MB, free: 15.71 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.57, allocations: 59.28 kB / 421.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.421e-05/0.5701, allocations: 104.8 kB / 421.4 MB, free: 15.54 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.5701, allocations: 25.7 kB / 421.4 MB, free: 15.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.5702, allocations: 91.94 kB / 421.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.5702, allocations: 7.922 kB / 421.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-06/0.5702, allocations: 0 / 421.5 MB, free: 15.41 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5704, allocations: 310.8 kB / 421.8 MB, free: 15.09 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.938e-05/0.5704, allocations: 7.875 kB / 421.8 MB, free: 15.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.336e-05/0.5704, allocations: 32.06 kB / 421.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.178e-05/0.5705, allocations: 8 kB / 421.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.5705, allocations: 0 / 421.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000116/0.5706, allocations: 61.44 kB / 421.9 MB, free: 14.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.5707, allocations: 8 kB / 421.9 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.5707, allocations: 0 / 421.9 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5707, allocations: 0 / 421.9 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.5708, allocations: 11.98 kB / 421.9 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.5708, allocations: 7.938 kB / 422 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.5709, allocations: 0 / 422 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.5709, allocations: 8.203 kB / 422 MB, free: 14.95 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: 5 (step.counter,$CLKPRE.step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.023e-05/0.571, allocations: 105 kB / 422.1 MB, free: 14.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.74e-05/0.5711, allocations: 49.72 kB / 422.1 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.318e-05/0.5711, allocations: 11.72 kB / 422.1 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.5712, allocations: 0 / 422.1 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.174e-06/0.5712, allocations: 4 kB / 422.1 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.5712, allocations: 0 / 422.1 MB, free: 14.78 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.5713, allocations: 165.2 kB / 422.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5713, allocations: 0 / 422.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.5715, allocations: 8 kB / 422.3 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.5715, allocations: 0 / 422.3 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.207e-06/0.5715, allocations: 3.938 kB / 422.3 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/0.5715, allocations: 7.984 kB / 422.3 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.5715, allocations: 4 kB / 422.3 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.5717, allocations: 76.17 kB / 422.4 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.313e-05/0.5717, allocations: 81.11 kB / 422.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.5718, allocations: 3.562 kB / 422.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.303e-05/0.5718, allocations: 4 kB / 422.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-06/0.5718, allocations: 0 / 422.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.371e-06/0.5719, allocations: 0 / 422.5 MB, free: 14.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.02e-05/0.5719, allocations: 94.95 kB / 422.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5719, allocations: 0 / 422.6 MB, free: 14.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.5722, allocations: 4 kB / 422.6 MB, free: 14.27 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * 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.0005221/0.5727, allocations: 0.6255 MB / 423.2 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001081/0.5729, allocations: 27.3 kB / 423.2 MB, free: 13.6 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.5729, allocations: 4.125 kB / 423.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.5729, allocations: 0 / 423.2 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.5732, allocations: 26.66 kB / 423.3 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003799/0.5735, allocations: 102.1 kB / 423.4 MB, free: 13.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.5739, allocations: 0.6882 MB / 424 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.424e-05/0.5739, allocations: 0 / 424 MB, free: 12.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.266e-05/0.5739, allocations: 11.44 kB / 424.1 MB, free: 12.72 MB / 346.7 MB Notification: Performance of SimCode: time 1.443e-06/0.574, allocations: 4 kB / 424.1 MB, free: 12.72 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.5952, allocations: 1.117 MB / 425.2 MB, free: 11.68 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003324/0.5957, allocations: 176.5 kB / 425.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.448/3.044, allocations: 0 / 425.3 MB, free: 11.45 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat