Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_BooleanSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.12/2.12, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.572e-05, allocations: 4 kB / 292.7 MB, free: 8.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 50.41 MB / 343.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4732/0.5865, allocations: 76.69 MB / 419.8 MB, free: 1.105 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/0.5869, allocations: 78.52 kB / 419.9 MB, free: 1.062 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003932/0.5908, allocations: 1.108 MB / 421 MB, free: 80 kB / 330.7 MB Notification: Performance of FrontEnd: time 4.158e-06/0.5909, allocations: 0 / 421 MB, free: 80 kB / 330.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.5909, allocations: 3.938 kB / 421 MB, free: 76 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.0004169/0.5913, allocations: 342.1 kB / 421.4 MB, free: 15.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.5914, allocations: 8.031 kB / 421.4 MB, free: 15.69 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.055e-05/0.5915, allocations: 38.5 kB / 421.4 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.5915, allocations: 15.86 kB / 421.4 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.5917, allocations: 181.7 kB / 421.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.5918, allocations: 3.812 kB / 421.6 MB, free: 15.42 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.375e-05/0.5918, allocations: 4 kB / 421.6 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.5921, allocations: 112.4 kB / 421.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.5921, allocations: 4 kB / 421.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.308e-06/0.5921, allocations: 0 / 421.7 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.5921, allocations: 3.953 kB / 421.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.298e-05/0.5922, allocations: 11.17 kB / 421.7 MB, free: 15.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00038/0.5926, allocations: 258.6 kB / 422 MB, free: 14.99 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.5928, allocations: 135.9 kB / 422.1 MB, free: 14.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.613e-05/0.5929, allocations: 21.72 kB / 422.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.5929, allocations: 0 / 422.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.619e-05/0.5929, allocations: 34.56 kB / 422.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.5929, allocations: 0 / 422.2 MB, free: 14.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001933/0.5931, allocations: 57.61 kB / 422.2 MB, free: 14.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.5932, allocations: 84.64 kB / 422.3 MB, free: 14.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.5934, allocations: 128.7 kB / 422.4 MB, free: 14.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.827e-05/0.5934, allocations: 28.77 kB / 422.5 MB, free: 14.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.5935, allocations: 83.08 kB / 422.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.035e-05/0.5935, allocations: 0 / 422.6 MB, free: 14.37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.5935, allocations: 4 kB / 422.6 MB, free: 14.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/0.5937, allocations: 313.3 kB / 422.9 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.412e-05/0.5937, allocations: 4 kB / 422.9 MB, free: 14.05 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.319e-05/0.5938, allocations: 38.73 kB / 422.9 MB, free: 14 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.848e-05/0.5938, allocations: 5.156 kB / 422.9 MB, free: 14 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5938, allocations: 0 / 422.9 MB, free: 14 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001236/0.594, allocations: 63.91 kB / 423 MB, free: 13.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.594, allocations: 4 kB / 423 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.594, allocations: 4 kB / 423 MB, free: 13.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.594, allocations: 3.953 kB / 423 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.456e-05/0.5941, allocations: 0 / 423 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.5941, allocations: 4 kB / 423 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.842e-05/0.5941, allocations: 0 / 423 MB, free: 13.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.358e-05/0.5942, allocations: 4 kB / 423 MB, free: 13.91 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 8.52e-05/0.5942, allocations: 111.9 kB / 423.1 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.99e-05/0.5943, allocations: 48.94 kB / 423.1 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.064e-05/0.5944, allocations: 11.41 kB / 423.2 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.5944, allocations: 4 kB / 423.2 MB, free: 13.74 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.5944, allocations: 3.953 kB / 423.2 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.5944, allocations: 4 kB / 423.2 MB, free: 13.73 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000227/0.5947, allocations: 168.3 kB / 423.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.5947, allocations: 0 / 423.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/0.5947, allocations: 3.984 kB / 423.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.5947, allocations: 0 / 423.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.5947, allocations: 4 kB / 423.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5948, allocations: 0 / 423.3 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5948, allocations: 4 kB / 423.3 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.595, allocations: 172.7 kB / 423.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.301e-05/0.5951, allocations: 92.38 kB / 423.6 MB, free: 13.22 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.5951, allocations: 4 kB / 423.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.5952, allocations: 0 / 423.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-05/0.5952, allocations: 11.39 kB / 423.6 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.5952, allocations: 4 kB / 423.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of sorting global known variables: time 9.647e-05/0.5953, allocations: 105.8 kB / 423.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5954, allocations: 0 / 423.7 MB, free: 13.11 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002942/0.5957, allocations: 4 kB / 423.7 MB, free: 13.1 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.000528/0.5962, allocations: 0.7744 MB / 424.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.851e-05/0.5963, allocations: 15.44 kB / 424.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5963, allocations: 3.938 kB / 424.5 MB, free: 12.29 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.895e-05/0.5964, allocations: 4 kB / 424.5 MB, free: 12.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.5967, allocations: 26.66 kB / 424.6 MB, free: 12.26 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004566/0.5971, allocations: 138.3 kB / 424.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.5975, allocations: 0.6923 MB / 425.4 MB, free: 11.38 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.137e-05/0.5975, allocations: 4 kB / 425.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.5976, allocations: 10.69 kB / 425.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of SimCode: time 7.12e-07/0.5976, allocations: 0 / 425.4 MB, free: 11.37 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02359/0.6212, allocations: 1.201 MB / 426.6 MB, free: 10.24 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00028/0.6216, allocations: 166.8 kB / 426.8 MB, free: 10.01 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/3.044, allocations: 3.938 kB / 426.8 MB, free: 10.01 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.Sample1_res.mat does not exist to compare? outputFormat=mat