Running command: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_BooleanSignals_TickBasedStep",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.077/2.077, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.912e-05/3.92e-05, allocations: 4 kB / 284.4 MB, free: 8.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1079, allocations: 50.37 MB / 334.8 MB, free: 6.137 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.448/0.556, allocations: 77.53 MB / 412.3 MB, free: 312 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003494/0.5564, allocations: 74.69 kB / 412.4 MB, free: 268 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003355/0.5598, allocations: 0.7411 MB / 413.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.5598, allocations: 4 kB / 413.1 MB, free: 15.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.5598, allocations: 0 / 413.1 MB, free: 15.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004639/0.5603, allocations: 332 kB / 413.4 MB, free: 15.22 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.5604, allocations: 8.031 kB / 413.5 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.63e-05/0.5605, allocations: 38.48 kB / 413.5 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.575e-05/0.5605, allocations: 4 kB / 413.5 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002397/0.5608, allocations: 179.7 kB / 413.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.767e-05/0.5608, allocations: 3.953 kB / 413.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.954e-05/0.5609, allocations: 4 kB / 413.7 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003355/0.5612, allocations: 94.73 kB / 413.8 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.5612, allocations: 3.984 kB / 413.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.5613, allocations: 0 / 413.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.5613, allocations: 4 kB / 413.8 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.362e-05/0.5614, allocations: 11.88 kB / 413.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000215/0.5616, allocations: 157.2 kB / 413.9 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.5618, allocations: 46.34 kB / 414 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.084e-05/0.5619, allocations: 24.69 kB / 414 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.5619, allocations: 0 / 414 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.5619, allocations: 34.5 kB / 414 MB, free: 14.53 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.843e-06/0.562, allocations: 4 kB / 414.1 MB, free: 14.53 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001947/0.5622, allocations: 49.58 kB / 414.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.213e-05/0.5622, allocations: 55.34 kB / 414.2 MB, free: 14.41 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.5624, allocations: 96.88 kB / 414.2 MB, free: 14.31 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.5624, allocations: 25.7 kB / 414.3 MB, free: 14.28 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.918e-05/0.5625, allocations: 150.6 kB / 414.4 MB, free: 14.13 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.5625, allocations: 7.797 kB / 414.4 MB, free: 14.13 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.5626, allocations: 0 / 414.4 MB, free: 14.13 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.5627, allocations: 314.8 kB / 414.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.984e-05/0.5628, allocations: 7.688 kB / 414.7 MB, free: 13.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.291e-05/0.5628, allocations: 27.44 kB / 414.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.73e-05/0.5629, allocations: 7.938 kB / 414.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.5629, allocations: 0 / 414.8 MB, free: 13.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001593/0.5631, allocations: 61.41 kB / 414.8 MB, free: 13.7 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.5631, allocations: 11.95 kB / 414.8 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.5631, allocations: 0 / 414.8 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.5632, allocations: 0 / 414.8 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.04e-05/0.5633, allocations: 11.92 kB / 414.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.5633, allocations: 4 kB / 414.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.5633, allocations: 0 / 414.9 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.5634, allocations: 7.938 kB / 414.9 MB, free: 13.67 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 0.0001056/0.5635, allocations: 112.8 kB / 415 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/0.5636, allocations: 45.62 kB / 415 MB, free: 13.51 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.976e-05/0.5637, allocations: 15.02 kB / 415 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.5637, allocations: 0 / 415 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.5637, allocations: 0 / 415 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5637, allocations: 0 / 415 MB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001631/0.5639, allocations: 161.5 kB / 415.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.5639, allocations: 0 / 415.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.01e-05/0.564, allocations: 8.031 kB / 415.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.564, allocations: 3.984 kB / 415.2 MB, free: 13.28 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.5641, allocations: 4 kB / 415.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.382e-06/0.5641, allocations: 3.953 kB / 415.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.5641, allocations: 0 / 415.2 MB, free: 13.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001711/0.5643, allocations: 72.75 kB / 415.3 MB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.815e-05/0.5644, allocations: 81.02 kB / 415.4 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.271e-05/0.5644, allocations: 8.359 kB / 415.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.511e-05/0.5645, allocations: 0 / 415.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.524e-06/0.5645, allocations: 3.953 kB / 415.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/0.5645, allocations: 12 kB / 415.4 MB, free: 13.07 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.599e-05/0.5646, allocations: 83.22 kB / 415.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.5646, allocations: 0 / 415.5 MB, free: 12.99 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004397/0.5651, allocations: 4 kB / 415.5 MB, free: 12.98 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.0006506/0.5657, allocations: 0.6239 MB / 416.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001184/0.5659, allocations: 20 kB / 416.1 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5659, allocations: 0 / 416.1 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.168e-06/0.5659, allocations: 0 / 416.1 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.5662, allocations: 23.73 kB / 416.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005435/0.5667, allocations: 120.9 kB / 416.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.5671, allocations: 0.6884 MB / 417 MB, free: 11.44 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.5672, allocations: 15.38 kB / 417 MB, free: 11.43 MB / 346.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5672, allocations: 256 / 417 MB, free: 11.43 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.284/2.851, allocations: 0.8283 MB / 417.8 MB, free: 10.6 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat does not exist to compare? outputFormat=mat