Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.165/2.165, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.537e-05/3.542e-05, allocations: 5.562 kB / 292.8 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1146/0.1146, allocations: 50.4 MB / 343.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4562/0.5709, allocations: 76.22 MB / 419.4 MB, free: 1.934 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/0.5713, allocations: 76.45 kB / 419.5 MB, free: 1.891 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00341/0.5747, allocations: 0.7633 MB / 420.2 MB, free: 1.199 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.5748, allocations: 0 / 420.2 MB, free: 1.199 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.334e-05/0.5748, allocations: 0 / 420.2 MB, free: 1.199 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.0004896/0.5753, allocations: 322.7 kB / 420.5 MB, free: 0.8438 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.535e-05/0.5754, allocations: 8.031 kB / 420.5 MB, free: 0.8359 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.327e-05/0.5755, allocations: 45.92 kB / 420.6 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.5755, allocations: 7.859 kB / 420.6 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002451/0.5758, allocations: 170 kB / 420.8 MB, free: 0.5742 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.794e-05/0.5759, allocations: 4 kB / 420.8 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.5759, allocations: 0 / 420.8 MB, free: 0.5703 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003426/0.5762, allocations: 100.1 kB / 420.9 MB, free: 488 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.5763, allocations: 0 / 420.9 MB, free: 488 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.5763, allocations: 4 kB / 420.9 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.257e-06/0.5763, allocations: 3.953 kB / 420.9 MB, free: 480 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.747e-05/0.5764, allocations: 11.67 kB / 420.9 MB, free: 472 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002099/0.5766, allocations: 157 kB / 421 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.5768, allocations: 41.38 kB / 421.1 MB, free: 224 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.013e-05/0.5769, allocations: 18.7 kB / 421.1 MB, free: 208 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.5769, allocations: 3.938 kB / 421.1 MB, free: 204 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.339e-05/0.577, allocations: 42.5 kB / 421.1 MB, free: 152 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.124e-06/0.577, allocations: 0 / 421.1 MB, free: 152 kB / 330.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001985/0.5772, allocations: 45.77 kB / 421.2 MB, free: 104 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/0.5773, allocations: 59.19 kB / 421.2 MB, free: 36 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001398/0.5774, allocations: 99.95 kB / 421.3 MB, free: 15.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.277e-05/0.5775, allocations: 25.7 kB / 421.4 MB, free: 15.9 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.215e-05/0.5775, allocations: 80.14 kB / 421.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.886e-05/0.5776, allocations: 7.484 kB / 421.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.679e-06/0.5776, allocations: 4 kB / 421.4 MB, free: 15.81 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.5778, allocations: 314.8 kB / 421.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.5778, allocations: 11.25 kB / 421.8 MB, free: 15.49 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.012e-05/0.5779, allocations: 26.88 kB / 421.8 MB, free: 15.45 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.486e-05/0.5779, allocations: 15.92 kB / 421.8 MB, free: 15.44 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.578, allocations: 0 / 421.8 MB, free: 15.44 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001605/0.5781, allocations: 53.2 kB / 421.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/0.5782, allocations: 4 kB / 421.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5782, allocations: 4 kB / 421.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.5782, allocations: 3.984 kB / 421.9 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.5783, allocations: 4 kB / 421.9 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.226e-06/0.5783, allocations: 0 / 421.9 MB, free: 15.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.749e-05/0.5784, allocations: 7.625 kB / 421.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.097e-06/0.5784, allocations: 7.953 kB / 421.9 MB, free: 15.36 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 9.732e-05/0.5785, allocations: 105 kB / 422 MB, free: 15.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.5786, allocations: 56.53 kB / 422 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.351e-05/0.5787, allocations: 3.5 kB / 422.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.5787, allocations: 384 / 422.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.5787, allocations: 0 / 422.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.5788, allocations: 4 kB / 422.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.5789, allocations: 165 kB / 422.2 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.5789, allocations: 4 kB / 422.2 MB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.488e-05/0.579, allocations: 4 kB / 422.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/0.5791, allocations: 4 kB / 422.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.5791, allocations: 3.25 kB / 422.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.5791, allocations: 0 / 422.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.5791, allocations: 0 / 422.2 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.5793, allocations: 79.77 kB / 422.3 MB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.862e-05/0.5794, allocations: 81.09 kB / 422.4 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.5794, allocations: 0 / 422.4 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.5795, allocations: 8 kB / 422.4 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.897e-06/0.5795, allocations: 0 / 422.4 MB, free: 14.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-06/0.5795, allocations: 144 / 422.4 MB, free: 14.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.846e-05/0.5796, allocations: 82.72 kB / 422.5 MB, free: 14.69 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5796, allocations: 0 / 422.5 MB, free: 14.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000432/0.5801, allocations: 4 kB / 422.5 MB, free: 14.68 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.0006523/0.5807, allocations: 0.6392 MB / 423.1 MB, free: 14.03 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001244/0.5809, allocations: 23.19 kB / 423.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.5809, allocations: 0 / 423.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.5809, allocations: 0 / 423.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.5812, allocations: 19.25 kB / 423.2 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004965/0.5817, allocations: 100.9 kB / 423.3 MB, free: 13.87 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.5821, allocations: 0.6877 MB / 423.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.519e-05/0.5821, allocations: 0 / 423.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.288e-05/0.5822, allocations: 15.38 kB / 424 MB, free: 13.14 MB / 346.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5822, allocations: 3.938 kB / 424 MB, free: 13.14 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.6115, allocations: 1.059 MB / 425 MB, free: 12.15 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003681/0.6119, allocations: 183.3 kB / 425.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/2.95, allocations: 0 / 425.2 MB, free: 11.92 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat