Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestIntegerSamplerAndHolds,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestIntegerSamplerAndHolds",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.104/2.104, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.482e-05, allocations: 4 kB / 284.4 MB, free: 8.113 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1041, allocations: 50.37 MB / 334.8 MB, free: 5.652 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4677/0.5719, allocations: 83.81 MB / 418.6 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.5722, allocations: 65.03 kB / 418.7 MB, free: 10.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04758/0.6198, allocations: 10.18 MB / 428.8 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6199, allocations: 0 / 428.8 MB, free: 1.738 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.559e-05/0.6199, allocations: 11.98 kB / 428.9 MB, free: 1.727 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001154/0.6211, allocations: 0.6143 MB / 429.5 MB, free: 1.082 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.6212, allocations: 8.031 kB / 429.5 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.235e-05/0.6213, allocations: 61.05 kB / 429.5 MB, free: 1.023 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.6214, allocations: 47.44 kB / 429.6 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009198/0.6223, allocations: 367.7 kB / 429.9 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.074e-05/0.6224, allocations: 23.38 kB / 430 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.6225, allocations: 22.75 kB / 430 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001499/0.624, allocations: 0.6674 MB / 430.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.092e-05/0.624, allocations: 4 kB / 430.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.6241, allocations: 9.062 kB / 430.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.6241, allocations: 8 kB / 430.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004072/0.6245, allocations: 142.2 kB / 430.8 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001643/0.6262, allocations: 1.163 MB / 432 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001081/0.6273, allocations: 0.6373 MB / 432.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004881/0.6278, allocations: 232.8 kB / 432.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.713e-05/0.6279, allocations: 11.98 kB / 432.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002334/0.6281, allocations: 120.4 kB / 433 MB, free: 13.63 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 3.176e-06/0.6282, allocations: 0 / 433 MB, free: 13.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.0009969/0.6292, allocations: 350.2 kB / 433.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002383/0.6294, allocations: 373.1 kB / 433.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007538/0.6302, allocations: 394.7 kB / 434.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/0.6303, allocations: 36.14 kB / 434.1 MB, free: 12.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.6304, allocations: 165.8 kB / 434.3 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.821e-05/0.6305, allocations: 49.03 kB / 434.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.205e-05/0.6305, allocations: 14.5 kB / 434.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/0.6307, allocations: 359.5 kB / 434.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001881/0.6309, allocations: 62.36 kB / 434.7 MB, free: 12.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004409/0.6314, allocations: 353.8 kB / 435.1 MB, free: 11.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003125/0.6317, allocations: 130.4 kB / 435.2 MB, free: 11.47 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.6317, allocations: 4 kB / 435.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009482/0.6327, allocations: 388.6 kB / 435.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.6327, allocations: 15.98 kB / 435.6 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.6328, allocations: 8 kB / 435.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.288e-05/0.6328, allocations: 16.06 kB / 435.6 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005104/0.6333, allocations: 82.59 kB / 435.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.814e-05/0.6334, allocations: 23.91 kB / 435.7 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000366/0.6338, allocations: 36.75 kB / 435.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.881e-05/0.6338, allocations: 27.5 kB / 435.8 MB, free: 10.95 MB / 362.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: 51 ($whenCondition1,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,backSample1.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,backSample1.u,shiftSample1.y,fractionalDelay.y,ClockedSignalToSquare.u,superSample1.y,superSample1.u,subSample1.y,fractionalDelay.u_buffer[1],fractionalDelay.u,UnitDelay1.y,UnitDelay1.u,$CLKPRE.UnitDelay1.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample3.y,shiftSample1.u,subSample1.u,assignClock2.y[3],assignClock2.y[2],assignClock2.y[1],assignClock2.u[3],assignClock2.u[2],assignClock2.u[1],integerConstant3[3].y,integerConstant3[2].y,integerConstant3[1].y,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 (53): * Single equations (assignments): 53 * 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.000242/0.6341, allocations: 176.4 kB / 436 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006716/0.6348, allocations: 287.9 kB / 436.3 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004112/0.6352, allocations: 145.2 kB / 436.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.6352, allocations: 8 kB / 436.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.6352, allocations: 288 / 436.4 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.104e-05/0.6353, allocations: 7.984 kB / 436.4 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005109/0.6358, allocations: 337 kB / 436.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.6358, allocations: 4 kB / 436.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/0.6363, allocations: 79.64 kB / 436.8 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.558e-05/0.6363, allocations: 7.953 kB / 436.8 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.6364, allocations: 11.55 kB / 436.8 MB, free: 10 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.6364, allocations: 4 kB / 436.8 MB, free: 9.996 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.6364, allocations: 7.938 kB / 436.9 MB, free: 9.988 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.6374, allocations: 0.5394 MB / 437.4 MB, free: 9.438 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.6376, allocations: 131.4 kB / 437.5 MB, free: 9.297 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.899e-05/0.6377, allocations: 11.75 kB / 437.5 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.638, allocations: 14.8 kB / 437.5 MB, free: 9.281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.6381, allocations: 23.36 kB / 437.6 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.283e-05/0.6381, allocations: 15.31 kB / 437.6 MB, free: 9.25 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005297/0.6387, allocations: 302.9 kB / 437.9 MB, free: 9.012 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6387, allocations: 3.938 kB / 437.9 MB, free: 9.008 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007619/0.6394, allocations: 92.92 kB / 438 MB, free: 8.934 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 44 ($whenCondition1,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,ClockedSignalToSquare.y,hold1.y,backSample1.y,upSample1.y,upSample1.b_super,upSample1.u_super,fractionalDelay.y,shiftSample1.y,backSample1.u,superSample1.y,ClockedSignalToSquare.u,subSample1.y,superSample1.u,assignClock1.u,assignClock1.y,hold1.u,sample2.y,sample1.y[1],sample1.y[2],sample1.y[3],integerConstant3[1].y,integerConstant3[2].y,integerConstant3[3].y,assignClock2.u[1],assignClock2.u[2],assignClock2.u[3],assignClock2.y[1],assignClock2.y[2],assignClock2.y[3],subSample1.u,shiftSample1.u,sample3.y,upSample1.u,upSample1.dummy,upSample1.b,UnitDelay1.u,UnitDelay1.y,fractionalDelay.u,fractionalDelay.u_buffer[1],ClockedSignalToSquare.y2) * Number of discrete states: 2 (integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003245/0.6427, allocations: 2.165 MB / 440.1 MB, free: 6.879 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008554/0.6436, allocations: 293.3 kB / 440.4 MB, free: 6.652 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6436, allocations: 0 / 440.4 MB, free: 6.652 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001415/0.6438, allocations: 50.86 kB / 440.5 MB, free: 6.613 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.6449, allocations: 210 kB / 440.7 MB, free: 6.453 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002105/0.647, allocations: 0.6958 MB / 441.4 MB, free: 5.793 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005648/0.6476, allocations: 0.8422 MB / 442.2 MB, free: 4.926 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000259/0.6479, allocations: 59.14 kB / 442.3 MB, free: 4.871 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002618/0.6482, allocations: 130.5 kB / 442.4 MB, free: 4.824 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.6482, allocations: 4 kB / 442.4 MB, free: 4.82 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04394/0.6921, allocations: 8.235 MB / 450.6 MB, free: 12.62 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003145/0.6925, allocations: 213.4 kB / 450.9 MB, free: 12.4 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.821/3.514, allocations: 0 / 450.9 MB, free: 12.4 MB / 378.7 MB