Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_BooleanSignals_AssignClock",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.448/2.448, allocations: 218.4 MB / 231.1 MB, free: 12.46 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.659e-05/5.667e-05, allocations: 4 kB / 284.4 MB, free: 8.102 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1105, allocations: 50.36 MB / 334.8 MB, free: 5.637 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4771/0.5876, allocations: 77.99 MB / 412.8 MB, free: 15.93 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.588, allocations: 77.08 kB / 412.9 MB, free: 15.89 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004329/0.5923, allocations: 1.208 MB / 414.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5923, allocations: 3.938 kB / 414.1 MB, free: 14.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.578e-06/0.5924, allocations: 0 / 414.1 MB, free: 14.82 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0003719/0.5927, allocations: 347.7 kB / 414.4 MB, free: 14.44 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.5928, allocations: 12.03 kB / 414.4 MB, free: 14.43 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.953e-05/0.5929, allocations: 38.06 kB / 414.5 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.178e-05/0.5929, allocations: 7.906 kB / 414.5 MB, free: 14.38 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.5931, allocations: 189.4 kB / 414.6 MB, free: 14.16 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.301e-05/0.5932, allocations: 3.953 kB / 414.7 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.5932, allocations: 7.875 kB / 414.7 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003302/0.5935, allocations: 122.6 kB / 414.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.5936, allocations: 0 / 414.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.006e-05/0.5936, allocations: 0 / 414.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.5936, allocations: 4 kB / 414.8 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.016e-05/0.5937, allocations: 23.42 kB / 414.8 MB, free: 14.02 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001813/0.5939, allocations: 169.5 kB / 415 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000169/0.594, allocations: 62.23 kB / 415 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.131e-05/0.5942, allocations: 44.27 kB / 415.1 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/0.5942, allocations: 0 / 415.1 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.5942, allocations: 34.56 kB / 415.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.523e-06/0.5942, allocations: 0 / 415.1 MB, free: 13.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001946/0.5944, allocations: 73.16 kB / 415.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.641e-05/0.5945, allocations: 55.41 kB / 415.2 MB, free: 13.54 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.5946, allocations: 124.5 kB / 415.4 MB, free: 13.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.5947, allocations: 37.58 kB / 415.4 MB, free: 13.38 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.5947, allocations: 87.77 kB / 415.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.5948, allocations: 3.984 kB / 415.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.729e-06/0.5948, allocations: 3.875 kB / 415.5 MB, free: 13.29 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.5949, allocations: 314.8 kB / 415.8 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.584e-05/0.595, allocations: 7.938 kB / 415.8 MB, free: 12.97 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.884e-05/0.5951, allocations: 58.81 kB / 415.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.133e-05/0.5951, allocations: 19.8 kB / 415.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.5951, allocations: 0 / 415.9 MB, free: 12.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001759/0.5953, allocations: 85.08 kB / 416 MB, free: 12.8 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.715e-05/0.5954, allocations: 4 kB / 416 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.359e-05/0.5954, allocations: 8 kB / 416 MB, free: 12.79 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.5954, allocations: 7.984 kB / 416 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.051e-05/0.5954, allocations: 0 / 416 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.5955, allocations: 7.938 kB / 416 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.7e-05/0.5955, allocations: 4 kB / 416 MB, free: 12.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.5955, allocations: 11.94 kB / 416 MB, free: 12.76 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 9 (integerConstant.y,xor.y,xor.u2,xor.u1,unitDelay1.y,unitDelay1.u,$CLKPRE.unitDelay1.u,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.043e-05/0.5956, allocations: 112.7 kB / 416.1 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/0.5958, allocations: 73.5 kB / 416.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.541e-05/0.5958, allocations: 8.5 kB / 416.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/0.5958, allocations: 4 kB / 416.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5959, allocations: 0 / 416.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.5959, allocations: 0 / 416.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001307/0.596, allocations: 173.3 kB / 416.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.596, allocations: 0 / 416.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.53e-05/0.596, allocations: 4 kB / 416.4 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.5961, allocations: 3.984 kB / 416.4 MB, free: 12.35 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.5961, allocations: 7.953 kB / 416.4 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5961, allocations: 0 / 416.4 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5961, allocations: 0 / 416.4 MB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.5963, allocations: 97.12 kB / 416.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.139e-05/0.5964, allocations: 89 kB / 416.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.5964, allocations: 7.922 kB / 416.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.598e-05/0.5964, allocations: 7.953 kB / 416.6 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.514e-06/0.5965, allocations: 4 kB / 416.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.5965, allocations: 0 / 416.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 8.852e-05/0.5966, allocations: 107.1 kB / 416.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5966, allocations: 192 / 416.7 MB, free: 12.03 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002799/0.5969, allocations: 8 kB / 416.7 MB, free: 12.02 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: 8 (assignClock1.u,assignClock1.y,unitDelay1.u,unitDelay1.y,xor.u1,xor.u2,xor.y,integerConstant.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0005102/0.5974, allocations: 0.6542 MB / 417.4 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.5975, allocations: 39.67 kB / 417.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.5976, allocations: 0 / 417.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.11e-07/0.5976, allocations: 0 / 417.4 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.5979, allocations: 50.66 kB / 417.4 MB, free: 11.29 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004413/0.5983, allocations: 140.3 kB / 417.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.5986, allocations: 0.7054 MB / 418.3 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.176e-05/0.5987, allocations: 4 kB / 418.3 MB, free: 10.39 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.5988, allocations: 19.17 kB / 418.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5988, allocations: 0 / 418.3 MB, free: 10.38 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02515/0.6239, allocations: 1.448 MB / 419.8 MB, free: 8.992 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000321/0.6243, allocations: 175.8 kB / 419.9 MB, free: 8.77 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.047, allocations: 4 kB / 419.9 MB, free: 8.766 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.BooleanSignals.AssignClock_res.mat does not exist to compare? outputFormat=mat