Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.083/2.083, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.098e-05/4.108e-05, allocations: 0 / 292.7 MB, free: 8.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1665, allocations: 50.42 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5279/0.6944, allocations: 76.28 MB / 419.4 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002868/0.6948, allocations: 74.7 kB / 419.5 MB, free: 1.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002224/0.697, allocations: 0.6722 MB / 420.2 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6971, allocations: 0 / 420.2 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.6971, allocations: 4.75 kB / 420.2 MB, free: 0.8789 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.0004041/0.6975, allocations: 319.7 kB / 420.5 MB, free: 0.5273 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.6976, allocations: 8.031 kB / 420.5 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.401e-05/0.6977, allocations: 44.94 kB / 420.6 MB, free: 484 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.6977, allocations: 7.859 kB / 420.6 MB, free: 476 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002079/0.6979, allocations: 175 kB / 420.7 MB, free: 260 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.698, allocations: 7.312 kB / 420.7 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.698, allocations: 0 / 420.7 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.6983, allocations: 94.14 kB / 420.8 MB, free: 164 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.6983, allocations: 0 / 420.8 MB, free: 164 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.6983, allocations: 0 / 420.8 MB, free: 164 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.6984, allocations: 7.953 kB / 420.8 MB, free: 156 kB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.099e-05/0.6984, allocations: 8 kB / 420.9 MB, free: 148 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.6986, allocations: 159.7 kB / 421 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001293/0.6988, allocations: 37.3 kB / 421 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.161e-05/0.6988, allocations: 16.11 kB / 421.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.6989, allocations: 0 / 421.1 MB, free: 15.89 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.6989, allocations: 34 kB / 421.1 MB, free: 15.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.6989, allocations: 4 kB / 421.1 MB, free: 15.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001702/0.6991, allocations: 53.05 kB / 421.1 MB, free: 15.79 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.6992, allocations: 55.41 kB / 421.2 MB, free: 15.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.895e-05/0.6993, allocations: 101.2 kB / 421.3 MB, free: 15.62 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.489e-05/0.6993, allocations: 25.7 kB / 421.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/0.6994, allocations: 87.27 kB / 421.4 MB, free: 15.51 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.692e-06/0.6994, allocations: 0 / 421.4 MB, free: 15.51 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.226e-06/0.6994, allocations: 0 / 421.4 MB, free: 15.51 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6995, allocations: 318.2 kB / 421.7 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.646e-05/0.6996, allocations: 7.938 kB / 421.7 MB, free: 15.18 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.421e-05/0.6996, allocations: 30.8 kB / 421.8 MB, free: 15.14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.945e-05/0.6997, allocations: 11.88 kB / 421.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6997, allocations: 0 / 421.8 MB, free: 15.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001046/0.6998, allocations: 56.88 kB / 421.8 MB, free: 15.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.6998, allocations: 4 kB / 421.8 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.6999, allocations: 4.25 kB / 421.8 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.6999, allocations: 0 / 421.8 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.57e-05/0.6999, allocations: 8 kB / 421.8 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.7, allocations: 0 / 421.8 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.692e-05/0.7, allocations: 0 / 421.8 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.195e-05/0.7, allocations: 7.953 kB / 421.9 MB, free: 15.05 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: 3 (assignClock1.y,assignClock1.u,step.y) * 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.096e-05/0.7001, allocations: 108.4 kB / 422 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-05/0.7002, allocations: 49.31 kB / 422 MB, free: 14.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.858e-05/0.7003, allocations: 10.94 kB / 422 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.7003, allocations: 0 / 422 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7003, allocations: 0 / 422 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.7003, allocations: 192 / 422 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.7005, allocations: 168.8 kB / 422.2 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7005, allocations: 0 / 422.2 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.998e-05/0.7005, allocations: 0 / 422.2 MB, free: 14.67 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.662e-06/0.7005, allocations: 7.984 kB / 422.2 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.7006, allocations: 4 kB / 422.2 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.7006, allocations: 0 / 422.2 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7006, allocations: 0 / 422.2 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.7007, allocations: 75.77 kB / 422.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.271e-05/0.7008, allocations: 77.11 kB / 422.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.7008, allocations: 0 / 422.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.37e-05/0.7009, allocations: 7 kB / 422.4 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-06/0.7009, allocations: 3.984 kB / 422.4 MB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.7009, allocations: 4 kB / 422.4 MB, free: 14.46 MB / 346.7 MB Notification: Performance of sorting global known variables: time 5.982e-05/0.701, allocations: 83.22 kB / 422.4 MB, free: 14.38 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.701, allocations: 0 / 422.4 MB, free: 14.38 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000288/0.7013, allocations: 7.875 kB / 422.4 MB, free: 14.38 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: 3 (step.y,assignClock1.u,assignClock1.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.0004878/0.7018, allocations: 0.6115 MB / 423.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.7019, allocations: 23.75 kB / 423.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7019, allocations: 0 / 423.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.296e-06/0.702, allocations: 0 / 423.1 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001954/0.7022, allocations: 23.3 kB / 423.1 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003479/0.7025, allocations: 97.3 kB / 423.2 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003338/0.7029, allocations: 0.6809 MB / 423.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.727e-05/0.7029, allocations: 256 / 423.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.312e-05/0.703, allocations: 18.8 kB / 423.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of SimCode: time 1.182e-06/0.703, allocations: 0 / 423.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01945/0.7224, allocations: 0.9863 MB / 424.9 MB, free: 11.95 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003321/0.7228, allocations: 181.2 kB / 425.1 MB, free: 11.71 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/3.189, allocations: 2.812 kB / 425.1 MB, free: 11.71 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat does not exist to compare? outputFormat=mat