Running command: "" <> buildModelFMU(Modelica_Synchronous.WorkInProgress.Tests.TestClockedIntegerToTrigger,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_WorkInProgress_Tests_TestClockedIntegerToTrigger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica_Synchronous): time 2.176/2.176, allocations: 218.4 MB / 231.1 MB, free: 12.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.178e-05/4.189e-05, allocations: 8 kB / 284.4 MB, free: 8.105 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1198, allocations: 50.36 MB / 334.8 MB, free: 5.648 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5184/0.6383, allocations: 82.06 MB / 416.9 MB, free: 12.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002332/0.6386, allocations: 66.16 kB / 416.9 MB, free: 12.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02688/0.6655, allocations: 5.77 MB / 422.7 MB, free: 7.371 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6655, allocations: 0 / 422.7 MB, free: 7.371 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.377e-05/0.6656, allocations: 12 kB / 422.7 MB, free: 7.359 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0008033/0.6664, allocations: 499.5 kB / 423.2 MB, free: 6.836 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/0.6664, allocations: 12.03 kB / 423.2 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.979e-05/0.6665, allocations: 41.62 kB / 423.2 MB, free: 6.777 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.591e-05/0.6666, allocations: 23.7 kB / 423.3 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005864/0.6672, allocations: 293 kB / 423.6 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.6673, allocations: 7.312 kB / 423.6 MB, free: 6.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.6673, allocations: 11.75 kB / 423.6 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004319/0.6677, allocations: 162.5 kB / 423.7 MB, free: 6.281 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.6678, allocations: 3.984 kB / 423.7 MB, free: 6.277 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.342e-05/0.6678, allocations: 3.938 kB / 423.7 MB, free: 6.277 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/0.6678, allocations: 7.938 kB / 423.7 MB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.668, allocations: 45.48 kB / 423.8 MB, free: 6.238 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008905/0.6689, allocations: 427 kB / 424.2 MB, free: 5.824 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003064/0.6692, allocations: 123.6 kB / 424.3 MB, free: 5.711 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.6694, allocations: 46.08 kB / 424.4 MB, free: 5.672 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.6694, allocations: 6.938 kB / 424.4 MB, free: 5.668 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002291/0.6696, allocations: 93.27 kB / 424.5 MB, free: 5.578 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.956e-06/0.6697, allocations: 0 / 424.5 MB, free: 5.578 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004624/0.6701, allocations: 153.9 kB / 424.6 MB, free: 5.445 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.814e-05/0.6703, allocations: 132.5 kB / 424.8 MB, free: 5.285 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005284/0.6708, allocations: 294.3 kB / 425 MB, free: 5.043 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.621e-05/0.6708, allocations: 33.08 kB / 425.1 MB, free: 5.008 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.671, allocations: 127.3 kB / 425.2 MB, free: 4.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.773e-05/0.671, allocations: 35.28 kB / 425.2 MB, free: 4.879 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.118e-05/0.6711, allocations: 3.375 kB / 425.2 MB, free: 4.879 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.6712, allocations: 337.2 kB / 425.6 MB, free: 4.551 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.6713, allocations: 38.12 kB / 425.6 MB, free: 4.523 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.6716, allocations: 118.4 kB / 425.7 MB, free: 4.398 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.6717, allocations: 41.61 kB / 425.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.6717, allocations: 0 / 425.8 MB, free: 4.371 MB / 346.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004174/0.6721, allocations: 165.7 kB / 425.9 MB, free: 4.23 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.6722, allocations: 4.094 kB / 425.9 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.6722, allocations: 7.938 kB / 425.9 MB, free: 4.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.6723, allocations: 4.109 kB / 425.9 MB, free: 4.215 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.6725, allocations: 32.09 kB / 426 MB, free: 4.184 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.6725, allocations: 3.984 kB / 426 MB, free: 4.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001543/0.6727, allocations: 11.88 kB / 426 MB, free: 4.172 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/0.6727, allocations: 4 kB / 426 MB, free: 4.168 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.triggeredBooleanSampler.y,triggeredBooleanSampler.y,$whenCondition2,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,ClockedSignalToTrigger.y2,$CLKPRE.ClockedSignalToTrigger.y2,$whenCondition1,ClockedSignalToTrigger.y,$PRE.ClockedSignalToTrigger.y3,ClockedSignalToTrigger.y3,ClockedSignalToTrigger.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 19 * 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.0001381/0.6729, allocations: 126.6 kB / 426.1 MB, free: 4.047 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/0.673, allocations: 67.86 kB / 426.2 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004076/0.6734, allocations: 153.1 kB / 426.3 MB, free: 3.859 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.6735, allocations: 4 kB / 426.3 MB, free: 3.855 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.6735, allocations: 4 kB / 426.3 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.6735, allocations: 0 / 426.3 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008539/0.6744, allocations: 494.5 kB / 426.8 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.6744, allocations: 0 / 426.8 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.6745, allocations: 19.8 kB / 426.8 MB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.6745, allocations: 4 kB / 426.8 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.6746, allocations: 0 / 426.8 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.6746, allocations: 0 / 426.8 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.6746, allocations: 4 kB / 426.8 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004329/0.675, allocations: 269.2 kB / 427.1 MB, free: 3.098 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001275/0.6752, allocations: 108.4 kB / 427.2 MB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.599e-05/0.6752, allocations: 7.75 kB / 427.2 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.6754, allocations: 4 kB / 427.2 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.962e-05/0.6755, allocations: 11.48 kB / 427.2 MB, free: 2.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-05/0.6755, allocations: 11.98 kB / 427.2 MB, free: 2.949 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003756/0.6759, allocations: 235.9 kB / 427.5 MB, free: 2.762 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.605e-06/0.6759, allocations: 0 / 427.5 MB, free: 2.762 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005282/0.6765, allocations: 62.25 kB / 427.5 MB, free: 2.707 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: 11 (sample1.y,ClockedSignalToTrigger.u,ClockedSignalToTrigger.y2,ClockedSignalToTrigger.y,$whenCondition2,$whenCondition1,ClockedSignalToTrigger.y3,triggeredBooleanSampler.y,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 3 (integerTable.combiTimeTable.nextTimeEvent,ClockedSignalToTrigger.y3,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.002133/0.6786, allocations: 1.236 MB / 428.8 MB, free: 1.551 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003996/0.6791, allocations: 113.2 kB / 428.9 MB, free: 1.465 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.6791, allocations: 0 / 428.9 MB, free: 1.465 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.6792, allocations: 46.48 kB / 428.9 MB, free: 1.43 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.6798, allocations: 49.98 kB / 429 MB, free: 1.395 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001163/0.6809, allocations: 388.5 kB / 429.4 MB, free: 1.023 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004263/0.6814, allocations: 0.7503 MB / 430.1 MB, free: 256 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000163/0.6816, allocations: 33.73 kB / 430.1 MB, free: 220 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/0.6817, allocations: 70.66 kB / 430.2 MB, free: 188 kB / 346.7 MB Notification: Performance of SimCode: time 9.12e-07/0.6818, allocations: 0 / 430.2 MB, free: 188 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.71, allocations: 5.032 MB / 435.2 MB, free: 11.18 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003116/0.7103, allocations: 222.5 kB / 435.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.433/3.143, allocations: 7.875 kB / 435.5 MB, free: 10.95 MB / 362.7 MB