Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestBooleanSamplerAndHolds,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_WorkInProgress_Tests_TestBooleanSamplerAndHolds",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.133/2.133, allocations: 218.4 MB / 231.5 MB, free: 12.47 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.975e-05/4.98e-05, allocations: 4 kB / 284.4 MB, free: 8.602 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1179, allocations: 50.37 MB / 334.8 MB, free: 6.133 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4646/0.5827, allocations: 80.24 MB / 415 MB, free: 14.03 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/0.583, allocations: 56.11 kB / 415.1 MB, free: 14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03393/0.617, allocations: 5.709 MB / 420.8 MB, free: 9.238 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.54e-06/0.617, allocations: 0 / 420.8 MB, free: 9.238 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.536e-05/0.6171, allocations: 11.94 kB / 420.8 MB, free: 9.227 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008679/0.6179, allocations: 466.4 kB / 421.2 MB, free: 8.746 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.618, allocations: 11.97 kB / 421.2 MB, free: 8.734 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.878e-05/0.6181, allocations: 62.97 kB / 421.3 MB, free: 8.68 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.051e-05/0.6182, allocations: 35.62 kB / 421.3 MB, free: 8.645 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004956/0.6187, allocations: 260.9 kB / 421.6 MB, free: 8.355 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.6187, allocations: 22.81 kB / 421.6 MB, free: 8.344 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.887e-05/0.6188, allocations: 23 kB / 421.6 MB, free: 8.328 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00132/0.6201, allocations: 0.6148 MB / 422.3 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.509e-05/0.6202, allocations: 11.98 kB / 422.3 MB, free: 7.75 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.6202, allocations: 11.44 kB / 422.3 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.6203, allocations: 8 kB / 422.3 MB, free: 7.738 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003617/0.6206, allocations: 122.9 kB / 422.4 MB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.6219, allocations: 1.017 MB / 423.4 MB, free: 6.586 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009195/0.6229, allocations: 0.6938 MB / 424.1 MB, free: 5.773 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004472/0.6233, allocations: 219.7 kB / 424.3 MB, free: 5.57 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.498e-05/0.6234, allocations: 27.38 kB / 424.4 MB, free: 5.547 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.6236, allocations: 86.73 kB / 424.4 MB, free: 5.449 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 4.338e-06/0.6236, allocations: 4 kB / 424.5 MB, free: 5.445 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.0008149/0.6244, allocations: 303.4 kB / 424.7 MB, free: 5.195 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002112/0.6247, allocations: 342.7 kB / 425.1 MB, free: 4.797 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003177/0.625, allocations: 207.5 kB / 425.3 MB, free: 4.617 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.815e-05/0.625, allocations: 33.14 kB / 425.3 MB, free: 4.586 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.6252, allocations: 176.6 kB / 425.5 MB, free: 4.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.6252, allocations: 35.39 kB / 425.5 MB, free: 4.402 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.88e-05/0.6253, allocations: 11.19 kB / 425.5 MB, free: 4.398 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.6254, allocations: 326.1 kB / 425.9 MB, free: 4.078 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.6256, allocations: 58.48 kB / 425.9 MB, free: 4.035 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.6259, allocations: 306.5 kB / 426.2 MB, free: 3.637 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002581/0.6262, allocations: 104.6 kB / 426.3 MB, free: 3.555 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/0.6262, allocations: 4 kB / 426.3 MB, free: 3.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0007719/0.627, allocations: 331.5 kB / 426.6 MB, free: 3.266 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.929e-05/0.6271, allocations: 11.95 kB / 426.7 MB, free: 3.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.844e-05/0.6271, allocations: 8 kB / 426.7 MB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.795e-05/0.6271, allocations: 20.03 kB / 426.7 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.6273, allocations: 39.23 kB / 426.7 MB, free: 3.191 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.868e-05/0.6273, allocations: 19.92 kB / 426.7 MB, free: 3.172 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003024/0.6276, allocations: 15.44 kB / 426.8 MB, free: 3.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.811e-05/0.6277, allocations: 28.06 kB / 426.8 MB, free: 3.137 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 49 ($whenCondition1,booleanConstant.y,$PRE.booleanConstant.pulseStart,booleanConstant.pulseStart,superSample1.y,fractionalDelay.y,backSample1.y,superSample1.u,subSample1.y,backSample1.u,ClockedSignalToSquare.u,shiftSample1.y,UnitDelay1.y,UnitDelay1.u,$CLKPRE.UnitDelay1.u,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,fractionalDelay.u_buffer[1],fractionalDelay.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample3.y,booleanConstant1[3].y,booleanConstant1[2].y,booleanConstant1[1].y,shiftSample1.u,subSample1.u,assignClock2.y[3],assignClock2.y[2],assignClock2.y[1],assignClock2.u[3],assignClock2.u[2],assignClock2.u[1],sample1.y[3],sample1.y[2],sample1.y[1],sample2.y,hold1.u,hold1.y,assignClock1.y,assignClock1.u,ClockedSignalToSquare.y2,$CLKPRE.ClockedSignalToSquare.y2,ClockedSignalToSquare.y,fractionalDelay.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.000212/0.6279, allocations: 162.5 kB / 426.9 MB, free: 2.988 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006234/0.6286, allocations: 258.9 kB / 427.2 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.6287, allocations: 42.91 kB / 427.2 MB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.6287, allocations: 12.16 kB / 427.2 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/0.6287, allocations: 4 kB / 427.2 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.6288, allocations: 0 / 427.2 MB, free: 2.738 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003462/0.6291, allocations: 247.8 kB / 427.5 MB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.6291, allocations: 3.938 kB / 427.5 MB, free: 2.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.094e-05/0.6292, allocations: 22.92 kB / 427.5 MB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-05/0.6293, allocations: 4 kB / 427.5 MB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.6293, allocations: 9.875 kB / 427.5 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-05/0.6293, allocations: 15.88 kB / 427.5 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.6293, allocations: 4 kB / 427.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007878/0.6301, allocations: 0.4958 MB / 428 MB, free: 1.895 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.768e-05/0.6302, allocations: 104.8 kB / 428.1 MB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.191e-05/0.6303, allocations: 10.75 kB / 428.2 MB, free: 1.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.6305, allocations: 17.61 kB / 428.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.506e-05/0.6306, allocations: 4 kB / 428.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.804e-05/0.6306, allocations: 19.48 kB / 428.2 MB, free: 1.738 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001959/0.6308, allocations: 159.5 kB / 428.4 MB, free: 1.602 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6308, allocations: 4 kB / 428.4 MB, free: 1.598 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005575/0.6314, allocations: 46.44 kB / 428.4 MB, free: 1.562 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 43 ($whenCondition1,booleanConstant.y,booleanConstant.pulseStart,ClockedSignalToSquare.y,hold1.y,superSample1.y,fractionalDelay.y,backSample1.y,subSample1.y,superSample1.u,shiftSample1.y,ClockedSignalToSquare.u,backSample1.u,upSample1.y,upSample1.b_super,upSample1.u_super,UnitDelay1.u,UnitDelay1.y,assignClock1.u,assignClock1.y,hold1.u,sample2.y,sample1.y[1],sample1.y[2],sample1.y[3],assignClock2.u[1],assignClock2.u[2],assignClock2.u[3],assignClock2.y[1],assignClock2.y[2],assignClock2.y[3],subSample1.u,shiftSample1.u,booleanConstant1[1].y,booleanConstant1[2].y,booleanConstant1[3].y,sample3.y,upSample1.u,upSample1.dummy,upSample1.b,fractionalDelay.u,fractionalDelay.u_buffer[1],ClockedSignalToSquare.y2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001744/0.6332, allocations: 1.88 MB / 430.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001155/0.6343, allocations: 234.6 kB / 430.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/0.6344, allocations: 0 / 430.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.6346, allocations: 23.3 kB / 430.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001462/0.6361, allocations: 195.2 kB / 430.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002444/0.6385, allocations: 0.5172 MB / 431.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000547/0.6391, allocations: 0.7832 MB / 432 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.6394, allocations: 84.09 kB / 432.1 MB, free: 14 MB / 362.7 MB Notification: Performance of SimCode: time 4.018e-06/0.6394, allocations: 0 / 432.1 MB, free: 14 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.442/3.081, allocations: 4.221 MB / 436.3 MB, free: 9.816 MB / 362.7 MB